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
5a3629759e
commit
5f55c894f8
Binary file not shown.
Binary file not shown.
@ -644,11 +644,14 @@ def compute_loss(
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
)
|
||||
|
||||
dense_fsa_vec_inter = k2.DenseFsaVec(
|
||||
nnet_output[1][8],
|
||||
supervision_segments,
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
)
|
||||
dense_fsa_vec_inter = [
|
||||
k2.DenseFsaVec(
|
||||
nnet_output[1][8],
|
||||
supervision_segments,
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
)
|
||||
for i in [2,5,8,11,14]
|
||||
]
|
||||
|
||||
ctc_loss = (1-params.interctc_weight) * k2.ctc_loss(
|
||||
decoding_graph=decoding_graph,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user