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
6c6180bd7e
commit
d16cc3a7c5
Binary file not shown.
@ -638,7 +638,7 @@ def compute_loss(
|
||||
|
||||
ctc_loss = (1-params.interctc_weight) * ctc_loss + params.interctc_weight * inter_ctc_loss
|
||||
|
||||
if params.condition and params.group_num > 0:
|
||||
if (params.condition and params.group_num > 0) or (params.group_num > 0):
|
||||
dense_fsa_vec = k2.DenseFsaVec(
|
||||
nnet_output[0],
|
||||
supervision_segments,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user