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
746475d753
commit
9ef7232cf1
Binary file not shown.
@ -522,7 +522,8 @@ def compute_loss(
|
||||
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)
|
||||
|
||||
dense_fsa_vec = k2.DenseFsaVec(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user