From 6dc64702db7d9b322b1c3a9984e9801dea6a78dc Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 25 Feb 2023 18:29:02 +0900 Subject: [PATCH] from local --- icefall/.decode.py.swp | Bin 65536 -> 65536 bytes icefall/decode.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/icefall/.decode.py.swp b/icefall/.decode.py.swp index 252dfe40250336ee665a37dbc2be572106278ce6..17165b2099d0d9b79311746190e3c5cc75e0ab08 100644 GIT binary patch delta 107 zcmZo@U}Ui6fnhlirvP!p=BpRFI3}muQrujB(}!{L`dgx#ji1W1E_$E<04@|D A8vpS<*FOF7#LOq zaSsq@0&y%5>j3dfP6mc$K%5N3;hV2s=;D~1c1vM%!%ZJXM$O3^Zi#L-ek#wp=z#(N DR?Z+C 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.]