Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamo-naoyuki committed Feb 25, 2021
1 parent 5f063df commit 256f52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espnet2/train/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def train_one_epoch(
else:
all_steps_are_invalid = False
with reporter.measure_time("optim_step_time"):
for iopt, optimizer, scheduler in enumerate(
for iopt, (optimizer, scheduler) in enumerate(
zip(optimizers, schedulers)
):
if optim_idx is not None and iopt != optim_idx:
Expand Down

0 comments on commit 256f52b

Please sign in to comment.