synthesis.sh 502 字节
Newer Older
L
lifuchen 已提交
1 2
# train model

3
CUDA_VISIBLE_DEVICES=0 \
L
lifuchen 已提交
4 5 6
python -u synthesis.py \
--use_gpu=1 \
--alpha=1.0 \
7
--checkpoint='./checkpoint/fastspeech/step-162000' \
8 9
--config='configs/ljspeech.yaml' \
--output='./synthesis' \
10
--vocoder='waveflow' \
11 12
--config_vocoder='../waveflow/checkpoint/waveflow_res128_ljspeech_ckpt_1.0/waveflow_ljspeech.yaml' \
--checkpoint_vocoder='../waveflow/checkpoint/waveflow_res128_ljspeech_ckpt_1.0/step-2000000' \
13 14


L
lifuchen 已提交
15 16 17 18 19 20

if [ $? -ne 0 ]; then
    echo "Failed in synthesis!"
    exit 1
fi
exit 0