from local

This commit is contained in:
dohe0342 2023-02-15 15:09:47 +09:00
parent e99983beca
commit 42d9037f5e
2 changed files with 6 additions and 6 deletions

View File

@ -645,12 +645,12 @@ def compute_loss(
)
dense_fsa_vec_inter = [
k2.DenseFsaVec(
nnet_output[1][8],
supervision_segments,
allow_truncate=params.subsampling_factor - 1,
)
for i in [2,5,8,11,14]
k2.DenseFsaVec(
nnet_output[1][8],
supervision_segments,
allow_truncate=params.subsampling_factor - 1,
)
for i in [2,5,8,11,14]
]
ctc_loss = (1-params.interctc_weight) * k2.ctc_loss(