-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change NLC to NCL in speedyspeech, test=tts
- Loading branch information
1 parent
9fd495b
commit 8b801ca
Showing
18 changed files
with
324 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
train_output_path=$1 | ||
|
||
stage=0 | ||
stop_stage=0 | ||
|
||
# only support default_fastspeech2/speedyspeech + hifigan/mb_melgan now! | ||
|
||
# synthesize from metadata | ||
if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then | ||
python3 ${BIN_DIR}/../ort_predict.py \ | ||
--inference_dir=${train_output_path}/inference_onnx \ | ||
--am=speedyspeech_csmsc \ | ||
--voc=hifigan_csmsc \ | ||
--test_metadata=dump/test/norm/metadata.jsonl \ | ||
--output_dir=${train_output_path}/onnx_infer_out \ | ||
--device=cpu \ | ||
--cpu_threads=2 | ||
fi | ||
|
||
# e2e, synthesize from text | ||
if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then | ||
python3 ${BIN_DIR}/../ort_predict_e2e.py \ | ||
--inference_dir=${train_output_path}/inference_onnx \ | ||
--am=speedyspeech_csmsc \ | ||
--voc=hifigan_csmsc \ | ||
--output_dir=${train_output_path}/onnx_infer_out_e2e \ | ||
--text=${BIN_DIR}/../csmsc_test.txt \ | ||
--phones_dict=dump/phone_id_map.txt \ | ||
--tones_dict=dump/tone_id_map.txt \ | ||
--device=cpu \ | ||
--cpu_threads=2 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../tts3/local/paddle2onnx.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.