mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 14:44:18 +00:00
Fix style issues.
This commit is contained in:
parent
a0dbfba77d
commit
c0ea5808bb
@ -691,7 +691,7 @@ def train_one_epoch(
|
||||
scaler.step(optimizer)
|
||||
scaler.update()
|
||||
optimizer.zero_grad()
|
||||
except:
|
||||
except: # noqa
|
||||
display_and_save_batch(batch, params=params, sp=sp)
|
||||
raise
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user