Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitgr7 committed Oct 26, 2021
1 parent 2a2ddad commit 2760cf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytorch_lightning/callbacks/lr_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def lr_sch_names(self) -> List[str]:
# TODO remove `lr_sch_names` and `add_lr_sch_names` argument in v1.7.0
rank_zero_deprecation(
"`LearningRateMonitor.lr_sch_names` has been deprecated in v1.5 and will be removed in 1.7."
" Consider accessing them using `LearningRateMonitor.lrs.keys()`."
" Consider accessing them using `LearningRateMonitor.lrs.keys()` which will return"
" the names of all the optimizers, even those without a scheduler."
)
return self._lr_sch_names

0 comments on commit 2760cf0

Please sign in to comment.