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
7114f16a85
commit
f961e91489
Binary file not shown.
@ -1022,6 +1022,7 @@ def train_one_epoch(
|
||||
# in the batch and there is no normalization to it so far.
|
||||
loggin.info('1')
|
||||
scaler.scale(loss).backward()
|
||||
loggin.info('2')
|
||||
|
||||
if params.multi_optim and (batch_idx+1) % params.accum_grads == 0:
|
||||
set_batch_count(model, params.batch_idx_train)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user