diff --git a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp index 228f23539..85db13fff 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 fb5b0295b..7e23a1348 100755 --- a/egs/librispeech/ASR/conformer_ctc2/decode.py +++ b/egs/librispeech/ASR/conformer_ctc2/decode.py @@ -403,8 +403,6 @@ def decode_one_batch( return {key: hyps} if params.method == "ctc-greedy-search": - print(nnet_output.size()) - exit() hyps = ctc_greedy_search(nnet_output, memory_key_padding_mask) # hyps is a list of str, e.g., ['xxx yyy zzz', ...] @@ -427,7 +425,7 @@ def decode_one_batch( eos_id=graph_compiler.eos_id, return_output=True, ) - print(pred.size()) + hyps = greedy_search(pred, memory_key_padding_mask) # hyps is a list of str, e.g., ['xxx yyy zzz', ...]