synthesis.sh 354 字节
Newer Older
L
lifuchen 已提交
1 2

# train model
L
lifuchen 已提交
3
CUDA_VISIBLE_DEVICES=0 \
L
lifuchen 已提交
4
python -u synthesis.py \
5
--max_len=300 \
6
--use_gpu=1 \
7 8 9 10
--output='./synthesis' \
--config='configs/ljspeech.yaml' \
--checkpoint_transformer='./checkpoint/transformer/step-120000' \
--checkpoint_vocoder='./checkpoint/vocoder/step-100000' \
L
lifuchen 已提交
11 12 13 14 15

if [ $? -ne 0 ]; then
    echo "Failed in training!"
    exit 1
fi
L
lifuchen 已提交
16
exit 0