from local

This commit is contained in:
dohe0342 2023-02-15 16:23:56 +09:00
parent bfde14e45c
commit ffc8992c60
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -138,6 +138,8 @@ def get_lattice(
Returns:
An FsaVec containing the decoding result. It has axes [utt][state][arc].
"""
if type(nnet_output) == tuple:
nnet_output = nnet_output[0]
dense_fsa_vec = k2.DenseFsaVec(
nnet_output,
supervision_segments,