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

# train model
L
lifuchen 已提交
3
CUDA_VISIBLE_DEVICES=0 \
L
lifuchen 已提交
4 5 6
python -u synthesis.py \
--max_len=50 \
--transformer_step=160000 \
L
lifuchen 已提交
7
--vocoder_step=70000 \
L
lifuchen 已提交
8 9 10 11 12 13 14 15 16 17
--use_gpu=1
--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