from local

This commit is contained in:
dohe0342 2023-02-17 11:01:52 +09:00
parent 14c3c993d7
commit b400a33c97
2 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ def compute_loss(
token_ids = graph_compiler.texts_to_ids(texts) token_ids = graph_compiler.texts_to_ids(texts)
decoding_graph = graph_compiler.compile(token_ids) decoding_graph = graph_compiler.compile(token_ids)
if params.interctc: if params.interctc and parmas.group_num == 0:
dense_fsa_vec1 = k2.DenseFsaVec( dense_fsa_vec1 = k2.DenseFsaVec(
nnet_output[0], nnet_output[0],
supervision_segments, supervision_segments,