train.sh 356 字节
Newer Older
L
lifuchen 已提交
1
# train model
2
export CUDA_VISIBLE_DEVICES=0
L
lifuchen 已提交
3 4
python -u train.py \
--use_gpu=1 \
5
--data='../../dataset/LJSpeech-1.1' \
6
--alignments_path='./alignments/alignments.pkl' \
7 8 9
--output='./experiment' \
--config='configs/ljspeech.yaml' \
#--checkpoint='./checkpoint/fastspeech/step-120000' \
L
lifuchen 已提交
10 11 12 13 14 15

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