From f10c8c343339ad1b3d49ec8b292be60a61472b59 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 25 Feb 2023 14:52:08 +0900 Subject: [PATCH] from local --- .../ASR/conformer_ctc2/.decode.py.swp | Bin 57344 -> 57344 bytes egs/librispeech/ASR/conformer_ctc2/decode.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp b/egs/librispeech/ASR/conformer_ctc2/.decode.py.swp index 67d6febf72f78d52df6e0ff9710d449b3628af87..b90dedbf052244d8cc20ce38f810180715d13ebd 100644 GIT binary patch delta 131 zcmZoTz}#?vSuDvQ%+puFQqO<^2m}}yE-d_+TyM2e>|H$T9iYgR&728~8CiES0hyCG zCO&pofP%cd)ROr8(vpJG5(QfYBwn;ZECWbQW|~4tWkIS2l9Z-`t*t^yX+ch^)#lqt Gs|H$TAE3yV&728~8Cmx;0hyCG zCO)2g^}eE-f`US7MP`YHCIgVAP*9YaSE5l;S&*ucmzP=+pI=&1P+Fp?x%qaIYApb! Cs3R5t diff --git a/egs/librispeech/ASR/conformer_ctc2/decode.py b/egs/librispeech/ASR/conformer_ctc2/decode.py index 0ab55ef43..f1a56fb05 100755 --- a/egs/librispeech/ASR/conformer_ctc2/decode.py +++ b/egs/librispeech/ASR/conformer_ctc2/decode.py @@ -319,8 +319,8 @@ def decode_one_batch( supervisions = batch["supervisions"] nnet_output, memory, memory_key_padding_mask = model(feature, supervisions) - print(type(nnet_output)) - exit() + if type(nnet_output) == tuple: + nnet_output = nnet_output[0] # nnet_output is (N, T, C) supervision_segments = torch.stack(