fix the run.sh, test=doc_fix (#1139)

pull/1140/head
Jackwaterveg 3 years ago committed by GitHub
parent 6b606fc602
commit 2ace03030a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ set -e
gpus=0,1,2,3
stage=0
stop_stage=51
stop_stage=50
conf_path=conf/transformer.yaml
avg_num=30
audio_file=data/demo_002_en.wav
@ -42,7 +42,7 @@ if [ ${stage} -le 4 ] && [ ${stop_stage} -ge 4 ]; then
CUDA_VISIBLE_DEVICES=0 ./local/align.sh ${conf_path} exp/${ckpt}/checkpoints/${avg_ckpt} || exit -1
fi
if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 6 ]; then
if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then
# test a single .wav file
CUDA_VISIBLE_DEVICES=0 ./local/test_wav.sh ${conf_path} exp/${ckpt}/checkpoints/${avg_ckpt} ${audio_file} || exit -1
fi

Loading…
Cancel
Save