diff --git a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp index 63f106901..f5172157a 100644 Binary files a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp and b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp differ diff --git a/egs/librispeech/ASR/conformer_ctc2/decode.py b/egs/librispeech/ASR/conformer_ctc2/decode.py index 170062b99..48836920b 100755 --- a/egs/librispeech/ASR/conformer_ctc2/decode.py +++ b/egs/librispeech/ASR/conformer_ctc2/decode.py @@ -431,10 +431,11 @@ def decode_one_batch( "whole-lattice-rescoring", "attention-decoder", ] - - lm_scale_list = [0.01, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7] - lm_scale_list += [0.8, 0.9, 1.0, 1.1, 1.2, 1.3] - lm_scale_list += [1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0] + + lm_scale_list = [i/20 for i in range(20)] + #lm_scale_list = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7] + #lm_scale_list += [0.8, 0.9, 1.0, 1.1, 1.2, 1.3] + #lm_scale_list += [1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0] if params.method == "1best": best_path_dict = one_best_decoding(