Parakeet/examples/transformer_tts/synthesis.sh

18 lines
494 B
Bash
Raw Normal View History

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 \
--use_gpu=0 \
--output='./synthesis' \
--config='transformer_tts_ljspeech_ckpt_1.0/ljspeech.yaml' \
--checkpoint_transformer='./transformer_tts_ljspeech_ckpt_1.0/step-120000' \
--vocoder='waveflow' \
--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