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
29713fe01d
commit
6a2640d543
Binary file not shown.
@ -833,6 +833,7 @@ def compute_loss(
|
||||
warm_step = params.warm_step
|
||||
|
||||
texts = batch["supervisions"]["text"]
|
||||
print(texts)
|
||||
#texts = batch["greedy pseudo text"]
|
||||
token_ids = sp.encode(texts, out_type=int)
|
||||
y = k2.RaggedTensor(token_ids).to(device)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user