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
b4f5f9f26c
commit
c16039addb
Binary file not shown.
@ -849,8 +849,7 @@ def compute_loss(
|
||||
warm_step = params.warm_step
|
||||
|
||||
texts = batch["supervisions"]["text"]
|
||||
print(texts)
|
||||
exit()
|
||||
texts = [text.upper() for text in 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