This repository has been archived by the owner on Sep 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
092e108
commit 240f3e7
Showing
11 changed files
with
140 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Please use lite_train_infer.sh, whole_train_infer.sh, infer.sh. | ||
|
||
For lite_train_infer | ||
``` | ||
bash lite_train_infer.sh | ||
``` | ||
|
||
For whole_train_infer | ||
``` | ||
bash whole_train_infer.sh | ||
``` | ||
|
||
For infer | ||
``` | ||
bash infer.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
bash prepare.sh infer | ||
bash test.sh speedyspeech_params_lite.txt infer | ||
bash test.sh speedyspeech_params_lite_single_gpu.txt infer |
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 |
---|---|---|
@@ -1,2 +1,7 @@ | ||
rm exp -rf | ||
rm e2e -rf | ||
bash prepare.sh lite_train_infer | ||
bash test.sh speedyspeech_params_lite.txt lite_train_infer | ||
bash test.sh speedyspeech_params_lite_single_gpu.txt lite_train_infer | ||
rm exp -rf | ||
rm e2e -rf | ||
bash test.sh speedyspeech_params_lite_multi_gpu.txt lite_train_infer |
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,51 @@ | ||
===========================train_params=========================== | ||
model_name:speedyspeech | ||
python:python3.7 | ||
gpu_list:2 | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
## | ||
trainer:norm_train | ||
norm_train:../examples/speedyspeech/baker/train.py --train-metadata=train_data/mini_BZNSYP/train/norm/metadata.jsonl --dev-metadata=train_data/mini_BZNSYP/dev/norm/metadata.jsonl --config=lite_train_infer.yaml --output-dir=exp/default | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
## | ||
===========================eval_params=========================== | ||
eval:../examples/speedyspeech/baker/synthesize_e2e.py --speedyspeech-config=../examples/speedyspeech/baker/conf/default.yaml --speedyspeech-checkpoint=exp/default/checkpoints/snapshot_iter_30.pdz --speedyspeech-stat=pretrain_models/speedyspeech_baker_ckpt_0.4/speedy_speech_stats.npy --pwg-config=../examples/parallelwave_gan/baker/conf/default.yaml --pwg-checkpoint=pretrain_models/pwg_baker_ckpt_0.4/pwg_snapshot_iter_400000.pdz --pwg-stat=pretrain_models/pwg_baker_ckpt_0.4/pwg_stats.npy --text=../examples/speedyspeech/baker/sentences.txt --output-dir=e2e --inference-dir=inference --device="gpu" --phones-dict=../examples/speedyspeech/baker/phones.txt --tones-dict=../examples/speedyspeech/baker/tones.txt | ||
null:null | ||
## | ||
===========================infer_params=========================== | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
## | ||
null:null | ||
null:null | ||
null:null | ||
inference:../examples/speedyspeech/baker/inference.py --inference-dir=pretrain_models/speedyspeech_pwg_inference_0.4 --text=../examples/speedyspeech/baker/sentences.txt --output-dir=inference_out --enable-auto-log --phones-dict=../examples/speedyspeech/baker/phones.txt --tones-dict=../examples/speedyspeech/baker/tones.txt --output-dir=e2e --inference-dir=inference | ||
--use_gpu:True | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null |
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,51 @@ | ||
===========================train_params=========================== | ||
model_name:speedyspeech | ||
python:python3.7 | ||
gpu_list:1 | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
## | ||
trainer:norm_train | ||
norm_train:../examples/speedyspeech/baker/train.py --train-metadata=train_data/BZNSYP/train/norm/metadata.jsonl --dev-metadata=train_data/BZNSYP/dev/norm/metadata.jsonl --output-dir=exp/whole | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
## | ||
===========================eval_params=========================== | ||
eval:../examples/speedyspeech/baker/synthesize_e2e.py --speedyspeech-config=../examples/speedyspeech/baker/conf/default.yaml --speedyspeech-checkpoint=pretrain_models/speedyspeech_baker_ckpt_0.4/speedyspeech_snapshot_iter_91800.pdz --speedyspeech-stat=pretrain_models/speedyspeech_baker_ckpt_0.4/speedy_speech_stats.npy --pwg-config=../examples/parallelwave_gan/baker/conf/default.yaml --pwg-checkpoint=pretrain_models/pwg_baker_ckpt_0.4/pwg_snapshot_iter_400000.pdz --pwg-stat=pretrain_models/pwg_baker_ckpt_0.4/pwg_stats.npy --text=../examples/speedyspeech/baker/sentences.txt --output-dir=e2e --inference-dir=inference --device="gpu" --phones-dict=../examples/speedyspeech/baker/phones.txt --tones-dict=../examples/speedyspeech/baker/tones.txt | ||
null:null | ||
## | ||
===========================infer_params=========================== | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
## | ||
null:null | ||
null:null | ||
null:null | ||
inference:../examples/speedyspeech/baker/inference.py --inference-dir=pretrain_models/speedyspeech_pwg_inference_0.4 --text=../examples/speedyspeech/baker/sentences.txt --output-dir=inference_out --enable-auto-log --phones-dict=../examples/speedyspeech/baker/phones.txt --tones-dict=../examples/speedyspeech/baker/tones.txt --output-dir=e2e --inference-dir=inference | ||
--use_gpu:True | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null | ||
null:null |
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 |
---|---|---|
@@ -1,2 +1,7 @@ | ||
rm exp -rf | ||
rm e2e -rf | ||
bash prepare.sh whole_train_infer | ||
bash test.sh speedyspeech_params_whole.txt whole_train_infer | ||
bash test.sh speedyspeech_params_whole_single_gpu.txt whole_train_infer | ||
rm exp -rf | ||
rm e2e -rf | ||
bash test.sh speedyspeech_params_whole_multi_gpu.txt whole_train_infer |