diff --git a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp index 85f6dc25d..184447d86 100644 Binary files a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp and b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp differ diff --git a/egs/librispeech/ASR/conformer_ctc2/decode.py b/egs/librispeech/ASR/conformer_ctc2/decode.py index 7ab022574..df94e18c1 100755 --- a/egs/librispeech/ASR/conformer_ctc2/decode.py +++ b/egs/librispeech/ASR/conformer_ctc2/decode.py @@ -237,9 +237,7 @@ def greedy_search( best path result """ 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 = [] @@ -247,8 +245,6 @@ def greedy_search( hyp = torch.unique_consecutive(hyp) hyp = hyp[hyp > 0].tolist() ret_hyps.append(hyp) - print(ret_hyps) - exit() return ret_hyps