mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-09 14:05:33 +00:00
Minor fixes
This commit is contained in:
parent
7cbd6d11ba
commit
d6fefe4e34
@ -86,12 +86,11 @@ def test_dataset():
|
||||
batch_idx += 1
|
||||
|
||||
print("dl idx", idx, "batch_idx", batch_idx)
|
||||
batch = next(dl)
|
||||
cuts = batch["supervisions"]["cut"]
|
||||
for c in cuts:
|
||||
print(c.id)
|
||||
|
||||
if batch_idx > 10:
|
||||
try:
|
||||
_ = next(dl)
|
||||
except StopIteration:
|
||||
print("dl idx", idx)
|
||||
print("Go to the next epoch")
|
||||
break
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user