|
|
@ -23,7 +23,7 @@ source ${MAIN_ROOT}/utils/parse_options.sh || exit 1;
|
|
|
|
# exit 1
|
|
|
|
# exit 1
|
|
|
|
#fi
|
|
|
|
#fi
|
|
|
|
|
|
|
|
|
|
|
|
python3 ${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py \
|
|
|
|
python3 ${MAIN_ROOT}/utils/format_rsl.py \
|
|
|
|
--origin_ref data/manifest.test-clean.raw \
|
|
|
|
--origin_ref data/manifest.test-clean.raw \
|
|
|
|
--trans_ref data/manifest.test-clean.text
|
|
|
|
--trans_ref data/manifest.test-clean.text
|
|
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ for type in ctc_greedy_search; do
|
|
|
|
echo "Failed in evaluation!"
|
|
|
|
echo "Failed in evaluation!"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
python3 ${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py \
|
|
|
|
python3 ${MAIN_ROOT}/utils/format_rsl.py \
|
|
|
|
--origin_hyp ${ckpt_prefix}.${type}.rsl \
|
|
|
|
--origin_hyp ${ckpt_prefix}.${type}.rsl \
|
|
|
|
--trans_hyp ${ckpt_prefix}.${type}.rsl.text
|
|
|
|
--trans_hyp ${ckpt_prefix}.${type}.rsl.text
|
|
|
|
|
|
|
|
|
|
|
@ -69,7 +69,7 @@ for type in ctc_prefix_beam_search; do
|
|
|
|
echo "Failed in evaluation!"
|
|
|
|
echo "Failed in evaluation!"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
python3 ${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py \
|
|
|
|
python3 ${MAIN_ROOT}/utils/format_rsl.py \
|
|
|
|
--origin_hyp ${ckpt_prefix}.${type}.rsl \
|
|
|
|
--origin_hyp ${ckpt_prefix}.${type}.rsl \
|
|
|
|
--trans_hyp ${ckpt_prefix}.${type}.rsl.text
|
|
|
|
--trans_hyp ${ckpt_prefix}.${type}.rsl.text
|
|
|
|
|
|
|
|
|
|
|
|