mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
Fix print_diagnostics break statement
This commit is contained in:
parent
e9668a5cfd
commit
70bd58c648
@ -794,7 +794,7 @@ def train_one_epoch(
|
||||
display_and_save_batch(batch, params=params)
|
||||
raise
|
||||
|
||||
if params.print_diagnostics and _batch_idx == 5:
|
||||
if params.print_diagnostics and batch_idx_ == 5:
|
||||
return
|
||||
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user