2020-02-13 14:53:45 +08:00
|
|
|
|
|
|
|
# train model
|
2020-02-17 15:53:54 +08:00
|
|
|
CUDA_VISIBLE_DEVICES=0 \
|
2020-02-13 14:53:45 +08:00
|
|
|
python -u synthesis.py \
|
2020-06-19 11:46:10 +08:00
|
|
|
--use_gpu=0 \
|
2020-04-09 20:06:04 +08:00
|
|
|
--output='./synthesis' \
|
2020-06-24 10:49:07 +08:00
|
|
|
--config='transformer_tts_ljspeech_ckpt_1.0/ljspeech.yaml' \
|
|
|
|
--checkpoint_transformer='./transformer_tts_ljspeech_ckpt_1.0/step-120000' \
|
2020-06-23 20:52:58 +08:00
|
|
|
--vocoder='waveflow' \
|
2020-06-24 10:49:07 +08:00
|
|
|
--config_vocoder='./waveflow_res128_ljspeech_ckpt_1.0/waveflow_ljspeech.yaml' \
|
|
|
|
--checkpoint_vocoder='./waveflow_res128_ljspeech_ckpt_1.0/step-2000000' \
|
2020-02-13 14:53:45 +08:00
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
echo "Failed in training!"
|
|
|
|
exit 1
|
|
|
|
fi
|
2020-02-17 15:53:54 +08:00
|
|
|
exit 0
|