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

# train model
L
lifuchen 已提交
3
CUDA_VISIBLE_DEVICES=0 \
L
lifuchen 已提交
4
python -u synthesis.py \
5 6 7
--max_len=300 \
--transformer_step=120000 \
--vocoder_step=100000 \
8
--use_gpu=1 \
L
lifuchen 已提交
9 10 11
--checkpoint_path='./checkpoint' \
--log_dir='./log' \
--sample_path='./sample' \
12
--config_path='configs/synthesis.yaml' \
L
lifuchen 已提交
13 14 15 16 17

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