From ac9a2612e8245ac473a17f64eea600dd7afbeb20 Mon Sep 17 00:00:00 2001 From: Marlowe <54339989+ZihanLiao@users.noreply.github.com> Date: Thu, 25 May 2023 14:39:23 +0800 Subject: [PATCH] fix NST glitch (#1863) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 廖子寒1 --- examples/aishell/NST/run_nst.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/aishell/NST/run_nst.sh b/examples/aishell/NST/run_nst.sh index 877d55ddd..6676733d7 100644 --- a/examples/aishell/NST/run_nst.sh +++ b/examples/aishell/NST/run_nst.sh @@ -345,9 +345,10 @@ if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then --blank_skip_thresh 0.98 --ctc_weight 0.5 --rescoring_weight 1.0 \ --chunk_size $chunk_size \ --fst_path data/lang_test/TLG.fst \ + --dict_path data/lang_test/words.txt \ data/train/${dir_split}data_sublist${job_num}/wav.scp \ data/train/${dir_split}data_sublist${job_num}/${hypo_name} $dir/final.zip \ - data/lang_test/words.txt $dir/Hypo_LM_diff10/${cer_hypo_dir}_${job_num} + data/lang_test/units.txt $dir/Hypo_LM_diff10/${cer_hypo_dir}_${job_num} now=$(date +"%T") echo "end time : $now" fi @@ -376,9 +377,10 @@ if [ ${stage} -le 7 ] && [ ${stop_stage} -ge 7 ] && [ ${label} -eq 1 ]; then --blank_skip_thresh 0.98 --ctc_weight 0.5 --rescoring_weight 1.0 \ --chunk_size $chunk_size \ --fst_path data/lang_test/TLG.fst \ + --dict_path data/lang_test/words.txt \ data/train/${dir_split}data_sublist${job_num}/wav.scp \ data/train/${dir_split}data_sublist${job_num}/${label_file} $dir/final.zip \ - data/lang_test/words.txt $dir/Hypo_LM_diff10/${cer_label_dir}_${job_num} + data/lang_test/units.txt $dir/Hypo_LM_diff10/${cer_label_dir}_${job_num} now=$(date +"%T") echo "end time : $now" fi