from local

This commit is contained in:
dohe0342 2023-02-14 18:03:24 +09:00
parent f6b4c61d99
commit 56af4c7e3d
2 changed files with 2 additions and 1 deletions

View File

@ -634,7 +634,8 @@ def compute_loss(
reduction=params.reduction,
use_double_scores=params.use_double_scores,
)
ctc_loss = (1-params.interctc_weight) * ctc_loss + params.interctc_weight * inter_ctc_loss
else:
dense_fsa_vec = k2.DenseFsaVec(