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