From 35d6790433e2c80b93a122888266a8d69ff4537d Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 16 Feb 2023 01:46:51 +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 547e2af731c2c7257fb41ed1256269e6c81f6808..d2ec2644069ce39d715dfc340f509d70f10fe7b8 100644 GIT binary patch delta 256 zcmZozz|ydQMJ&l6%+puFQqO<^2m}}yxES9iuQ|H&p1yJP5X3hq2#`-`u1_l)% zW&z@RtPBhbfOrxRw*qkl5Ss!qKM-GJVPH56#D{>m35bJ%SQUuBGcz!p2I77ojs#*Y zApXO|z;F(T7Xfh^5Jv!UI1noU@fSv*)j+%th=E|@HigOi8wDmCr1JnV=VXC7Jd-cH zH<%ndpJTE^8<%o&eqKsuNoIbYLSkNuLP26tVs5csdQpC9L400mu7a(tg2Cho#}y|{ Q-ME>r*@by?cH7iW07y4JX8-^I delta 265 zcmZozz|ydQMJ&l6%+puFQqO<^2m}}yG&2N16U;*~(03B*=F%mc*tm>C#00dW}+I{>jD z5I<&OVAu-8oj~jh#P&dJ2gKY!e4i0$H4yIuVj!5fO=0r>MuEu!b9g3yXtbCtGlNGi zGp{7ID7hqAAu%sSp&+p+F}GMRIX^EYvm`S=&ua3)7KKSuH*QvMc43wTE6K|*!BDn2 IyKQPG0EHhxoB#j- diff --git a/egs/tedlium2/ASR/conformer_ctc3/train.py b/egs/tedlium2/ASR/conformer_ctc3/train.py index e41ffeebd..deab198e1 100755 --- a/egs/tedlium2/ASR/conformer_ctc3/train.py +++ b/egs/tedlium2/ASR/conformer_ctc3/train.py @@ -555,7 +555,7 @@ def compute_loss( token_ids = graph_compiler.texts_to_ids(texts) decoding_graph = graph_compiler.compile(token_ids) - if params.interctc and not params.condition: + if params.interctc: dense_fsa_vec1 = k2.DenseFsaVec( nnet_output[0], supervision_segments, @@ -582,7 +582,7 @@ def compute_loss( use_double_scores=params.use_double_scores, ) - elif params.interctc and params.condition: + if params.condition and params.group_num == 0: dense_fsa_vec = k2.DenseFsaVec( nnet_output[0], supervision_segments,