mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
910500b9ee
commit
6e484f4c6f
Binary file not shown.
@ -673,6 +673,7 @@ def compute_loss(
|
|||||||
|
|
||||||
ctc_loss = (1-params.interctc_weight) * ctc_loss
|
ctc_loss = (1-params.interctc_weight) * ctc_loss
|
||||||
+ params.interctc_weight * inter_ctc_loss
|
+ params.interctc_weight * inter_ctc_loss
|
||||||
|
|
||||||
else:
|
else:
|
||||||
dense_fsa_vec = k2.DenseFsaVec(
|
dense_fsa_vec = k2.DenseFsaVec(
|
||||||
nnet_output,
|
nnet_output,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user