diff --git a/icefall/.decode.py.swp b/icefall/.decode.py.swp index 252dfe402..17165b209 100644 Binary files a/icefall/.decode.py.swp and b/icefall/.decode.py.swp differ diff --git a/icefall/decode.py b/icefall/decode.py index 53c837fa4..92b385876 100644 --- a/icefall/decode.py +++ b/icefall/decode.py @@ -954,7 +954,7 @@ def rescore_with_attention_decoder( assert nll.shape[0] == len(token_ids) attention_scores = -nll.sum(dim=1) - attention_scores.size()) + attention_scores.size() if ngram_lm_scale is None: ngram_lm_scale_list = [0.]