from local
This commit is contained in:
parent
754d259a94
commit
2171b6914a
Binary file not shown.
@ -662,7 +662,7 @@ def compute_loss(
|
|||||||
output_beam=params.beam_size,
|
output_beam=params.beam_size,
|
||||||
reduction=params.reduction,
|
reduction=params.reduction,
|
||||||
use_double_scores=params.use_double_scores,
|
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:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user