From bbb8b8d1ba3dcd49cc4f1fc13a4dc69613447815 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 16 Feb 2023 01:47:33 +0900 Subject: [PATCH] from local --- egs/tedlium2/ASR/conformer_ctc3/.train.py.swp | Bin 69632 -> 69632 bytes egs/tedlium2/ASR/conformer_ctc3/train.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/tedlium2/ASR/conformer_ctc3/.train.py.swp b/egs/tedlium2/ASR/conformer_ctc3/.train.py.swp index d2ec2644069ce39d715dfc340f509d70f10fe7b8..ccd5e144438ecfb539cdd7796b6047853915335c 100644 GIT binary patch delta 339 zcmW;HJ4*vm5C!0KlU?6ggGEFH*+M}DLrCGHP=p|2p^_q6uN#Gct|nQrNRbEjQ7(d& zEFuVkg!fo^_ZHhJhJoN}g8ow8%Q(}h{nJO1BH%vyZ(3) zX;k%T0bI$}y|3|k#oD2f}=)ePcl&2Z$p;ryKryDw^ zb(*9$dJY1ov_oS-7#LvDPuBsSq_+2Gg)HyJm5{x<9IOnf_+foHxex-*$bWeLyNBi*a-#iU6MclEo%w(TkcVJ>m{$$YT 0: + if params.condition and params.group_num > 0: dense_fsa_vec = k2.DenseFsaVec( nnet_output[0], supervision_segments, @@ -673,7 +673,7 @@ def compute_loss( ctc_loss = (1-params.interctc_weight) * ctc_loss + params.interctc_weight * inter_ctc_loss - else: + if not params.interctc and not params.condition and params.group_num == 0: dense_fsa_vec = k2.DenseFsaVec( nnet_output, supervision_segments,