from local

This commit is contained in:
dohe0342 2023-02-15 16:21:53 +09:00
parent 538017691d
commit 51d73af751
3 changed files with 2 additions and 2 deletions

View File

@ -671,8 +671,8 @@ 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(