Skip to content

Commit 48d9678

Browse files
committed
happy deepsource
1 parent 2cb3693 commit 48d9678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/callbacks/lr_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _get_lr_momentum_stat(self, optimizer: Optimizer, names: List[str]) -> Dict[
199199
param_groups = optimizer.param_groups
200200
use_betas = "betas" in optimizer.defaults
201201

202-
for i, (pg, name) in enumerate(zip(param_groups, names)):
202+
for pg, name in zip(param_groups, names):
203203
lr = self._extract_lr(pg, name)
204204
lr_momentum_stat.update(lr)
205205
momentum = self._extract_momentum(

0 commit comments

Comments
 (0)