from local

This commit is contained in:
dohe0342 2023-02-15 16:22:29 +09:00
parent 0d0eabd9c7
commit 100b2a54b4
2 changed files with 1 additions and 2 deletions

View File

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