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
bac2820eb8
commit
7114f16a85
Binary file not shown.
@ -1020,6 +1020,7 @@ def train_one_epoch(
|
||||
|
||||
# NOTE: We use reduction==sum and loss is computed over utterances
|
||||
# in the batch and there is no normalization to it so far.
|
||||
loggin.info('1')
|
||||
scaler.scale(loss).backward()
|
||||
|
||||
if params.multi_optim and (batch_idx+1) % params.accum_grads == 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user