From 6de3d65cb45b1a19993131b49319c236d2f14e86 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Tue, 14 Feb 2023 23:26:00 +0900 Subject: [PATCH] from local --- egs/tedlium2/ASR/conformer_ctc3/.train.py.swp | Bin 57344 -> 57344 bytes egs/tedlium2/ASR/conformer_ctc3/train.py | 30 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/egs/tedlium2/ASR/conformer_ctc3/.train.py.swp b/egs/tedlium2/ASR/conformer_ctc3/.train.py.swp index 37ea317bb70dad7612e042f4595f2f2ecd12294d..607684323666ac4073471013593b7898b87839bb 100644 GIT binary patch delta 458 zcmZw9&nv?L7{~GF+rBfKS<2ROvig?!QQBn|myJbfKjdOji;x_+IFJMT{s9i^OG-H? zHJoxa5V3nBu~9Qed>97^qfi0ncU;Pq5hbsv)w05ok*`yoS0ki zXWTDA^RprnGOVGtRM{bNf-Q`o4^61liWFc#$0!1@B4^maB08YK z1t-cjkv!Hgg)W<<2OMDqLA+Io>|zowe3(V< zv5jST@ve%TV;@V1sEr~Glur{6afv;oF^^Dou)CxfV*%B;$*9>xxM*=|E#mnznxQ9p q6wSCOw34|2} delta 376 zcmWO0Pbh|kkL930q|NI5EL2W7j=iBi9da-fv+ z^xjPD?6mD97dbdBX{NaN^L^@5-{VuNS*4m4*+{IUGlLT&39+zb=++@+a!kEt{w?%Zsv+c?YpX5C4eo!q1w&AwP>F&{SJY|yPc GiIabA*hfVG diff --git a/egs/tedlium2/ASR/conformer_ctc3/train.py b/egs/tedlium2/ASR/conformer_ctc3/train.py index 74490021a..4f3beb587 100755 --- a/egs/tedlium2/ASR/conformer_ctc3/train.py +++ b/egs/tedlium2/ASR/conformer_ctc3/train.py @@ -660,31 +660,31 @@ def compute_loss( ) dense_fsa_vec_inter = [ - k2.DenseFsaVec( - nnet_output[1][2], - supervision_segments, - allow_truncate=params.subsampling_factor - 1, - ), + #k2.DenseFsaVec( + # nnet_output[1][2], + # supervision_segments, + # allow_truncate=params.subsampling_factor - 1, + #), k2.DenseFsaVec( nnet_output[1][5], supervision_segments, allow_truncate=params.subsampling_factor - 1, ), - k2.DenseFsaVec( - nnet_output[1][8], - supervision_segments, - allow_truncate=params.subsampling_factor - 1, - ), + #k2.DenseFsaVec( + # nnet_output[1][8], + # supervision_segments, + # allow_truncate=params.subsampling_factor - 1, + #), k2.DenseFsaVec( nnet_output[1][11], supervision_segments, allow_truncate=params.subsampling_factor - 1, ), - k2.DenseFsaVec( - nnet_output[1][14], - supervision_segments, - allow_truncate=params.subsampling_factor - 1, - ) + #k2.DenseFsaVec( + # nnet_output[1][14], + # supervision_segments, + # allow_truncate=params.subsampling_factor - 1, + #) ] ctc_loss = k2.ctc_loss(