2020-02-13 14:53:45 +08:00
|
|
|
# train model
|
|
|
|
|
|
|
|
python -u synthesis.py \
|
|
|
|
--use_gpu=1 \
|
|
|
|
--alpha=1.0 \
|
2020-04-09 20:06:04 +08:00
|
|
|
--checkpoint='./checkpoint/fastspeech/step-120000' \
|
|
|
|
--config='configs/ljspeech.yaml' \
|
|
|
|
--config_clarine='../clarinet/configs/config.yaml' \
|
|
|
|
--checkpoint_clarinet='../clarinet/checkpoint/step-500000' \
|
|
|
|
--output='./synthesis' \
|
2020-02-13 14:53:45 +08:00
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
echo "Failed in synthesis!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
exit 0
|