fix benchmark

pull/1565/head
mmglove 3 years ago
parent d0cea3b01f
commit 2ff634e493

@ -48,7 +48,8 @@ function _train(){
case ${run_mode} in
sp) train_cmd="python -u ${BIN_DIR}/train.py "${train_cmd} ;;
mp) train_cmd="python -u ${BIN_DIR}/train.py "${train_cmd} ;;
mp) rm -rf ./mylog
train_cmd="python -u ${BIN_DIR}/train.py "${train_cmd} ;;
*) echo "choose run_mode(sp or mp)"; exit 1;
esac
echo ${train_cmd}

@ -38,7 +38,8 @@ function _train(){
case ${run_mode} in
sp) train_cmd="python paddlespeech/t2s/exps/gan_vocoder/parallelwave_gan/train.py --ngpu=1 ${train_cmd}" ;;
mp) train_cmd="python paddlespeech/t2s/exps/gan_vocoder/parallelwave_gan/train.py --ngpu=8 ${train_cmd}"
mp) rm -rf ./mylog
train_cmd="python paddlespeech/t2s/exps/gan_vocoder/parallelwave_gan/train.py --ngpu=8 ${train_cmd}"
log_parse_file="mylog/workerlog.0" ;;
*) echo "choose run_mode(sp or mp)"; exit 1;
esac

Loading…
Cancel
Save