synthesis.sh 343 字节
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=600 \
L
lifuchen 已提交
6
--transformer_step=160000 \
7 8
--vocoder_step=90000 \
--use_gpu=1 \
L
lifuchen 已提交
9 10 11 12 13 14 15 16 17
--checkpoint_path='./checkpoint' \
--log_dir='./log' \
--sample_path='./sample' \
--config_path='config/synthesis.yaml' \

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