From cde3f3ca8472bbb8803f6c6d32d633b008fdc7d5 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 25 Feb 2023 19:38:45 +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 cf4815b7135c53fa02e461767cc9d41a7294d22f..c2602a3757161859631df291c9a6de1b64181d63 100644 GIT binary patch delta 229 zcmWN|A!`Bw07vovjoY1fb70xccA@BK1~RNGOKLIMR=2}oTN;NLjF&9CT|Zbc zDt-eIv<%#W#d7RD_{A5;W*nPdzxmYZ`mKkis3wK`^I$p2yyNd>VoB+T^Y{FAs!9jU zF~mLYu)C7J@r4YZm|~0(9?`%Jwyv~Bfd$^tLj)HGM_S<(A?morwWB~~g&752&_jd( YKem)3wR6LqSr@*a7n{V&+vU>u2bm=;KL7v# delta 236 zcmWN|u}cDB0EY4R;JoYdK&OjZxeur6K6HrY0L4`Udv~2XSh=sX;$m zBM6+kLE5FkC2bN~qUV7hyvu8hYm6J+B$vH@+_^|ZRcW~T&1!>LwB3~^o|KP+pR0#` zC~feBTQpF|S6O<;0v2;jF~S}CXyOR#L#erBWoZuLhKxY!8IN*$X gWJqz2Z(n*r?pw#5dTvbiwYV<{9 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()