Skip to content

Commit

Permalink
fix NST glitch (#1863)
Browse files Browse the repository at this point in the history
Co-authored-by: 廖子寒1 <[email protected]>
  • Loading branch information
ZihanLiao and 廖子寒1 authored May 25, 2023
1 parent 9ceb46d commit ac9a261
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/aishell/NST/run_nst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ac9a261

Please sign in to comment.