diff --git a/examples/librispeech/asr5/local/test.sh b/examples/librispeech/asr5/local/test.sh index 3bbe4c18c..07c0deec9 100644 --- a/examples/librispeech/asr5/local/test.sh +++ b/examples/librispeech/asr5/local/test.sh @@ -23,7 +23,7 @@ source ${MAIN_ROOT}/utils/parse_options.sh || exit 1; # exit 1 #fi -python3 ${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py \ +python3 ${MAIN_ROOT}/utils/format_rsl.py \ --origin_ref data/manifest.test-clean.raw \ --trans_ref data/manifest.test-clean.text @@ -44,7 +44,7 @@ for type in ctc_greedy_search; do echo "Failed in evaluation!" exit 1 fi - python3 ${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py \ + python3 ${MAIN_ROOT}/utils/format_rsl.py \ --origin_hyp ${ckpt_prefix}.${type}.rsl \ --trans_hyp ${ckpt_prefix}.${type}.rsl.text @@ -69,7 +69,7 @@ for type in ctc_prefix_beam_search; do echo "Failed in evaluation!" exit 1 fi - python3 ${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py \ + python3 ${MAIN_ROOT}/utils/format_rsl.py \ --origin_hyp ${ckpt_prefix}.${type}.rsl \ --trans_hyp ${ckpt_prefix}.${type}.rsl.text