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
738c392a9d
commit
bd6bb36680
Binary file not shown.
@ -1082,7 +1082,7 @@ def train_one_epoch(
|
||||
f"grad_scale is too small, exiting: {cur_grad_scale}"
|
||||
)
|
||||
|
||||
if batch_idx % params.log_interval == 0:
|
||||
if batch_idx % (params.log_interval*params.accum_grads) == 0:
|
||||
if params.multi_optim:
|
||||
cur_enc_lr = scheduler_enc.get_last_lr()[0]
|
||||
cur_dec_lr = scheduler_dec.get_last_lr()[0]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user