Skip to content

Commit ff61df9

Browse files
authored
fix the run.sh stage (#4049)
1 parent a11a4c6 commit ff61df9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/csmsc/tts3_rhy/run.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
2828
fi
2929

3030
if [ ${stage} -le 2 ] && [ ${stop_stage} -ge 2 ]; then
31-
# synthesize, vocoder is pwgan by default
32-
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize.sh ${conf_path} ${train_output_path} ${ckpt_name} || exit -1
31+
# synthesize, vocoder is pwgan by default stage 0
32+
# use stage 1-4 to select the vocoder to use {multi band melgan, style melgan, hifigan, wavernn}
33+
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize.sh --stage 0 ${conf_path} ${train_output_path} ${ckpt_name} || exit -1
3334
fi
3435

3536
if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
36-
# synthesize_e2e, vocoder is pwgan by default
37-
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize_e2e.sh ${conf_path} ${train_output_path} ${ckpt_name} || exit -1
37+
# synthesize_e2e, vocoder is pwgan by default stage 0
38+
# use stage 1,3,4 to select the vocoder to use {multi band melgan, hifigan, wavernn}
39+
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize_e2e.sh --stage 0 ${conf_path} ${train_output_path} ${ckpt_name} || exit -1
3840
fi

0 commit comments

Comments
 (0)