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