Skip to content

Commit 2760cf0

Browse files
committed
Apply suggestions from code review
1 parent 2a2ddad commit 2760cf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytorch_lightning/callbacks/lr_monitor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ def lr_sch_names(self) -> List[str]:
344344
# TODO remove `lr_sch_names` and `add_lr_sch_names` argument in v1.7.0
345345
rank_zero_deprecation(
346346
"`LearningRateMonitor.lr_sch_names` has been deprecated in v1.5 and will be removed in 1.7."
347-
" Consider accessing them using `LearningRateMonitor.lrs.keys()`."
347+
" Consider accessing them using `LearningRateMonitor.lrs.keys()` which will return"
348+
" the names of all the optimizers, even those without a scheduler."
348349
)
349350
return self._lr_sch_names

0 commit comments

Comments
 (0)