From 8b9ab595c1dd1f632a2edf1955fdc5fbbbcd0f43 Mon Sep 17 00:00:00 2001 From: jinzr Date: Fri, 1 Dec 2023 01:48:47 +0800 Subject: [PATCH] Update prepare.sh --- egs/vctk/TTS/prepare.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/egs/vctk/TTS/prepare.sh b/egs/vctk/TTS/prepare.sh index 781f1e54e..b6c05aa5c 100755 --- a/egs/vctk/TTS/prepare.sh +++ b/egs/vctk/TTS/prepare.sh @@ -119,3 +119,14 @@ if [ $stage -le 6 ] && [ $stop_stage -ge 6 ]; then | sort | uniq > data/speakers.txt fi fi + +if [ $stage -le 7 ] && [ $stop_stage -ge 7 ]; then + log "Stage 7: build monotonic_align lib" + if [ ! -d vits/monotonic_align/build ]; then + cd vits/monotonic_align + python setup.py build_ext --inplace + cd ../../ + else + log "monotonic_align lib already built" + fi +fi