From 4fb29565721fbf5c805d67f79ccc700f6631e3d4 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 25 Feb 2023 15:42:15 +0900 Subject: [PATCH] from local --- .../ASR/conformer_ctc2/.decode.py.swp | Bin 65536 -> 65536 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 b512b2bb06edb5e774ef9a76700c541d6ba208b9..a5e0515781de2933d7662c67cb475bef3a14e4cd 100644 GIT binary patch delta 223 zcmZo@U}5HIZ$A;KkqG028L5y5J}U? zf(g;}-+37rb^!5qAYKZ@-9Q`<#MVG82gF=J%n8ICK>U%1f#C`e?*ZavK-><*wLt6) z#Nt5A1;n4Z85mvz@hc$S4#X8eTn@ykK=z@Dd40Orn*9rGIH$TfVWELwZ e%FHX#$W5$>&&*3nt(0J)$l_W%F@ diff --git a/egs/librispeech/ASR/conformer_ctc2/decode.py b/egs/librispeech/ASR/conformer_ctc2/decode.py index 99165c640..df1b578ea 100755 --- a/egs/librispeech/ASR/conformer_ctc2/decode.py +++ b/egs/librispeech/ASR/conformer_ctc2/decode.py @@ -239,6 +239,7 @@ def greedy_search( ctc_probs = probs print(ctc_probs.size()) _, max_index = ctc_probs.max(2) # (B, maxlen) + print(max_index.size()) max_index = max_index.masked_fill_(mask, 0) # (B, maxlen) ret_hyps = []