Skip to content

Commit 93822de

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f763087 commit 93822de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytorch_lightning/core/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ def lr_scheduler_step(self, scheduler, optimizer_idx, metric):
15861586
15871587
"""
15881588
optimizer = self.trainer.optimizers[optimizer_idx]
1589-
if hasattr(optimizer, '_step_count') and optimizer._step_count <= 0:
1589+
if hasattr(optimizer, "_step_count") and optimizer._step_count <= 0:
15901590
return
15911591

15921592
if metric is None:

0 commit comments

Comments
 (0)