mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
from local
This commit is contained in:
parent
7fc02a434a
commit
51dfc1c130
Binary file not shown.
@ -850,7 +850,6 @@ def compute_loss(
|
||||
|
||||
texts = batch["supervisions"]["text"]
|
||||
texts = [text.upper() for text in texts]
|
||||
print(texts)
|
||||
|
||||
token_ids = sp.encode(texts, out_type=int)
|
||||
y = k2.RaggedTensor(token_ids).to(device)
|
||||
|
Loading…
x
Reference in New Issue
Block a user