Commit 4130a52d authored by changhl's avatar changhl
Browse files

init model

parent eb6a18fd
Pipeline #1617 failed with stages
in 0 seconds
#!/bin/bash
# 检查是否至少有一个参数被传入
if [ $# -lt 2 ]; then
echo "Usage: $0 dataset_path modelsave_path"
exit 1
fi
model_folder=$1
save_folder=$2
cd speechbrain/recipes/LJSpeech/TTS/tacotron2/
python train.py --data_parallel_backend --max_grad_norm=1.0 --data_folder=$model_folder --save_folder=$save_folder hparams/train.yaml
\ No newline at end of file
#!/bin/bash
# 检查是否至少有一个参数被传入
if [ $# -lt 2 ]; then
echo "Usage: $0 dataset_path modelsave_path"
exit 1
fi
model_folder=$1
save_folder=$2
cd speechbrain/recipes/LJSpeech/TTS/tacotron2/
python train.py --device=cuda --max_grad_norm=1.0 --data_folder=$model_folder --save_folder=$save_folder hparams/train.yaml
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment