add shell files.
This commit is contained in:
parent
bcadeb94a4
commit
c8482a0788
|
@ -0,0 +1,14 @@
|
|||
# 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
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
# 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
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
# 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
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
# 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
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
# 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
|
Loading…
Reference in New Issue