提交 c8482a07 编写于 作者: L lifuchen 提交者: liuyibing01

add shell files.

上级 bcadeb94
# train model
python -u synthesis.py \
--use_gpu=1 \
--alpha=1.0 \
--checkpoint_path='checkpoint/' \
--fastspeech_step=71000 \
--log_dir='./log' \
if [ $? -ne 0 ]; then
echo "Failed in synthesis!"
exit 1
fi
exit 0
\ No newline at end of file
# train model
# if you wish to resume from an exists model, uncomment --checkpoint_path and --fastspeech_step
#CUDA_VISIBLE_DEVICES=0,1,2,3 \
python -u train.py \
--batch_size=32 \
--epochs=10000 \
--lr=0.001 \
--save_step=500 \
--use_gpu=1 \
--use_data_parallel=0 \
--data_path='../../dataset/LJSpeech-1.1' \
--transtts_path='../transformer_tts/checkpoint' \
--transformer_step=160000 \
--save_path='./checkpoint' \
--log_dir='./log' \
--config_path='config/fastspeech.yaml' \
#--checkpoint_path='./checkpoint' \
#--fastspeech_step=97000 \
if [ $? -ne 0 ]; then
echo "Failed in training!"
exit 1
fi
exit 0
\ No newline at end of file
# train model
#CUDA_VISIBLE_DEVICES=0,1,2,3 \
python -u synthesis.py \
--max_len=50 \
--transformer_step=160000 \
--postnet_step=70000 \
--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
exit 0
\ No newline at end of file
# train model
# if you wish to resume from an exists model, uncomment --checkpoint_path and --transformer_step
#CUDA_VISIBLE_DEVICES=0,1,2,3 \
python -u train_transformer.py \
--batch_size=32 \
--epochs=10000 \
--lr=0.001 \
--save_step=1000 \
--image_step=2000 \
--use_gpu=1 \
--use_data_parallel=0 \
--stop_token=0 \
--data_path='../../dataset/LJSpeech-1.1' \
--save_path='./checkpoint' \
--log_dir='./log' \
--config_path='config/train_transformer.yaml' \
#--checkpoint_path='./checkpoint' \
#--transformer_step=160000 \
if [ $? -ne 0 ]; then
echo "Failed in training!"
exit 1
fi
exit 0
\ No newline at end of file
# train model
# if you wish to resume from an exists model, uncomment --checkpoint_path and --transformer_step
#CUDA_VISIBLE_DEVICES=0,1,2,3 \
python -u train_vocoder.py \
--batch_size=32 \
--epochs=10000 \
--lr=0.001 \
--save_step=1000 \
--use_gpu=1 \
--use_data_parallel=0 \
--data_path='../../dataset/LJSpeech-1.1' \
--save_path='./checkpoint' \
--log_dir='./log' \
--config_path='config/train_vocoder.yaml' \
#--checkpoint_path='./checkpoint' \
#--vocoder_step=27000 \
if [ $? -ne 0 ]; then
echo "Failed in training!"
exit 1
fi
exit 0
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册