diff --git a/pytorch_lightning/trainer/progress.py b/pytorch_lightning/trainer/progress.py index bcd2426da3e6a..8085bb7d2f75a 100644 --- a/pytorch_lightning/trainer/progress.py +++ b/pytorch_lightning/trainer/progress.py @@ -193,7 +193,6 @@ def optimizer_steps(self) -> int: def reset_on_epoch(self) -> None: self.optimizer.reset_on_epoch() - self.optimizer_idx = 0 def load_state_dict(self, state_dict: dict) -> None: self.optimizer.load_state_dict(state_dict["optimizer"])