Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning scheduler get_lr #214

Closed
olix86 opened this issue May 1, 2020 · 1 comment
Closed

Warning scheduler get_lr #214

olix86 opened this issue May 1, 2020 · 1 comment

Comments

@olix86
Copy link
Contributor

olix86 commented May 1, 2020

I get the following warning while training on spine generic : warnings.warn("To get the last learning rate computed by the scheduler, ""please use get_last_lr().")

Look like we need to replace get_lr with get_last_lr
https://github.com/pytorch/pytorch/blob/4ed790d74223ff3af95bbf8585cb67664805b6b9/torch/optim/lr_scheduler.py#L231

@olix86
Copy link
Contributor Author

olix86 commented May 26, 2020

Fixed by #213

@olix86 olix86 closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant