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
7beb40420e
commit
4958225ae9
Binary file not shown.
Binary file not shown.
@ -590,31 +590,31 @@ def compute_loss(
|
||||
)
|
||||
|
||||
dense_fsa_vec_inter = [
|
||||
#k2.DenseFsaVec(
|
||||
# nnet_output[1][2],
|
||||
# supervision_segments,
|
||||
# allow_truncate=params.subsampling_factor - 1,
|
||||
#),
|
||||
#k2.DenseFsaVec(
|
||||
# nnet_output[1][5],
|
||||
# supervision_segments,
|
||||
# allow_truncate=params.subsampling_factor - 1,
|
||||
#),
|
||||
k2.DenseFsaVec(
|
||||
nnet_output[1][2],
|
||||
supervision_segments,
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
),
|
||||
k2.DenseFsaVec(
|
||||
nnet_output[1][5],
|
||||
supervision_segments,
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
),
|
||||
k2.DenseFsaVec(
|
||||
nnet_output[1][8],
|
||||
supervision_segments,
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
),
|
||||
#k2.DenseFsaVec(
|
||||
# nnet_output[1][11],
|
||||
# supervision_segments,
|
||||
# allow_truncate=params.subsampling_factor - 1,
|
||||
#),
|
||||
#k2.DenseFsaVec(
|
||||
# nnet_output[1][14],
|
||||
# supervision_segments,
|
||||
# allow_truncate=params.subsampling_factor - 1,
|
||||
#)
|
||||
k2.DenseFsaVec(
|
||||
nnet_output[1][11],
|
||||
supervision_segments,
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
),
|
||||
k2.DenseFsaVec(
|
||||
nnet_output[1][14],
|
||||
supervision_segments,
|
||||
allow_truncate=params.subsampling_factor - 1,
|
||||
)
|
||||
]
|
||||
|
||||
ctc_loss = k2.ctc_loss(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user