From 2ace03030a4ce43333b96e7f834e39ac8f34fbfc Mon Sep 17 00:00:00 2001 From: Jackwaterveg <87408988+Jackwaterveg@users.noreply.github.com> Date: Thu, 16 Dec 2021 10:51:17 +0800 Subject: [PATCH] fix the run.sh, test=doc_fix (#1139) --- examples/librispeech/asr1/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/librispeech/asr1/run.sh b/examples/librispeech/asr1/run.sh index ff1d684b..f839e5af 100755 --- a/examples/librispeech/asr1/run.sh +++ b/examples/librispeech/asr1/run.sh @@ -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