diff --git a/icefall/.decode.py.swp b/icefall/.decode.py.swp index cf4815b71..c2602a375 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 000570787..322f98937 100644 --- a/icefall/decode.py +++ b/icefall/decode.py @@ -980,7 +980,7 @@ def rescore_with_attention_decoder( tot_scores = ( am_scores.values + n_scale * ngram_lm_scores.values - a_scale * attention_scores + + a_scale * attention_scores ) ragged_tot_scores = k2.RaggedTensor(nbest.shape, tot_scores) max_indexes = ragged_tot_scores.argmax()