from local
This commit is contained in:
parent
746475d753
commit
9ef7232cf1
Binary file not shown.
@ -522,7 +522,8 @@ def compute_loss(
|
|||||||
supervisions, subsampling_factor=params.subsampling_factor
|
supervisions, subsampling_factor=params.subsampling_factor
|
||||||
)
|
)
|
||||||
|
|
||||||
token_ids = convert_texts_into_ids(texts, graph_compiler.sp)
|
#token_ids = convert_texts_into_ids(texts, graph_compiler.sp)
|
||||||
|
token_ids = graph_compiler.texts_to_ids(texts)
|
||||||
decoding_graph = graph_compiler.compile(token_ids)
|
decoding_graph = graph_compiler.compile(token_ids)
|
||||||
|
|
||||||
dense_fsa_vec = k2.DenseFsaVec(
|
dense_fsa_vec = k2.DenseFsaVec(
|
||||||
|
|||||||
Reference in New Issue
Block a user