From 296369343a6749ba4f737c22d0039d98df6ed0eb Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 25 Feb 2023 16:20:58 +0900 Subject: [PATCH] from local --- .../ASR/conformer_ctc2/.decode.py.swp | Bin 73728 -> 73728 bytes egs/librispeech/ASR/conformer_ctc2/decode.py | 1 + 2 files changed, 1 insertion(+) diff --git a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp index 49be39ce1033880c0276c54d8acf09f2f26bce20..efa0ffee49f2f1b4004a6c11f2b846eebb4b674a 100644 GIT binary patch delta 223 zcmZoTz|wGlMJ&l6%+puFQqO<^2m}}y61M(Kt_;{HW+lLAvN=#-vp?^DP6me8To754 z$$|;t^%8sx3^#ch7;XUZF(6(8#0@|k1H|?~tPR9kK&%PGLO}eLhk@ZP5FZEP6+k=> zh*N;r0*JMNSOkc9fS4PIZ*Vg(%mm^YK->nzIY8_H#4;%M)KKGtc>)X9WdAbO$zQXC XCVQ1}ZT_02&OG@}w*Ka%ym=b|163^2 diff --git a/egs/librispeech/ASR/conformer_ctc2/decode.py b/egs/librispeech/ASR/conformer_ctc2/decode.py index 2d257874b..478f60625 100755 --- a/egs/librispeech/ASR/conformer_ctc2/decode.py +++ b/egs/librispeech/ASR/conformer_ctc2/decode.py @@ -238,6 +238,7 @@ def greedy_search( """ ctc_probs = probs _, max_index = ctc_probs.max(2) # (B, maxlen) + print(mask.size()) max_index = max_index.masked_fill_(mask, 0) # (B, maxlen) ret_hyps = []