2020-02-13 14:53:45 +08:00
|
|
|
# train model
|
2020-03-05 15:08:12 +08:00
|
|
|
export CUDA_VISIBLE_DEVICES=0
|
2020-02-13 14:53:45 +08:00
|
|
|
python -u train.py \
|
|
|
|
--use_gpu=1 \
|
2020-04-09 20:06:04 +08:00
|
|
|
--data='../../dataset/LJSpeech-1.1' \
|
2020-06-23 20:52:58 +08:00
|
|
|
--alignments_path='./alignments/alignments.pkl' \
|
2020-04-09 20:06:04 +08:00
|
|
|
--output='./experiment' \
|
|
|
|
--config='configs/ljspeech.yaml' \
|
|
|
|
#--checkpoint='./checkpoint/fastspeech/step-120000' \
|
2020-02-13 14:53:45 +08:00
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
echo "Failed in training!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
exit 0
|