From d5f05edc2e608f5ac9d7793f089194d31772c688 Mon Sep 17 00:00:00 2001 From: huangyuxin Date: Wed, 5 Jan 2022 03:15:52 +0000 Subject: [PATCH] fix some bug, test=asr --- examples/librispeech/asr2/run.sh | 1 - tests/benchmark/conformer/run_benchmark.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/librispeech/asr2/run.sh b/examples/librispeech/asr2/run.sh index 56671233..c9a794e3 100755 --- a/examples/librispeech/asr2/run.sh +++ b/examples/librispeech/asr2/run.sh @@ -16,7 +16,6 @@ avg_num=10 source ${MAIN_ROOT}/utils/parse_options.sh || exit 1; avg_ckpt=avg_${avg_num} -avg_ckpt=init ckpt=$(basename ${conf_path} | awk -F'.' '{print $1}') echo "checkpoint name ${ckpt}" diff --git a/tests/benchmark/conformer/run_benchmark.sh b/tests/benchmark/conformer/run_benchmark.sh index d5902c51..16cd410e 100644 --- a/tests/benchmark/conformer/run_benchmark.sh +++ b/tests/benchmark/conformer/run_benchmark.sh @@ -70,7 +70,7 @@ function _train(){ } source ${BENCHMARK_ROOT}/scripts/run_model.sh # 在该脚本中会对符合benchmark规范的log使用analysis.py 脚本进行性能数据解析;该脚本在连调时可从benchmark repo中下载https://github.com/PaddlePaddle/benchmark/blob/master/scripts/run_model.sh;如果不联调只想要产出训练log可以注掉本行,提交时需打开 -#_set_params $@ +_set_params $@ #_train # 如果只想产出训练log,不解析,可取消注释 _run # 该函数在run_model.sh中,执行时会调用_train; 如果不联调只想要产出训练log可以注掉本行,提交时需打开