-
Notifications
You must be signed in to change notification settings - Fork 1.9k
【PaddleSpeech No.5】补全合成系列中的脚本中参数缺失 #4005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for your contribution! |
@@ -27,10 +27,11 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then | |||
fi | |||
|
|||
if [ ${stage} -le 2 ] && [ ${stop_stage} -ge 2 ]; then | |||
# synthesize, vocoder is pwgan | |||
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize.sh ${conf_path} ${train_output_path} ${ckpt_name} || exit -1 | |||
# synthesize, vocoder is pwgan by default stage 0, stage 1 will use hifigan as vocoder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
synthesize.sh
only has stage 0, no need to change this?
fi | ||
|
||
if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then | ||
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize_e2e.sh ${conf_path} ${train_output_path} ${ckpt_name} || exit -1 | ||
# synthesize_e2e, vocoder is pwgan by default stage 0, stage 1 will use hifigan as vocoder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stage 0 and stage 1 all use hifigan. The stage distinction should not be based on the vocoder.
|
This reverts commit 076134a.
CI done |
``` | ||
`--stage` controls the vocoder model during synthesis, which can be `0` or `1`, use `pwgan` or `hifigan` model as vocoder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
take a look at ./local/synthesize.sh
, there are four stages.
close due to the following PR is merged: |
PR types
Others
PR changes
Docs
Describe
补全合成系列中的脚本中参数缺失 No.5
修改:
examples/aishell3_vctk/ernie_sat/run.sh
examples/aishell3_vctk/ernie_sat/README.md