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

pytorch usewarning #71

Open
lyhloveyou opened this issue Dec 4, 2022 · 1 comment
Open

pytorch usewarning #71

lyhloveyou opened this issue Dec 4, 2022 · 1 comment

Comments

@lyhloveyou
Copy link

/home/user/anaconda3/envs/raftstereo/lib/python3.7/site-packages/torch/optim/lr_scheduler.py:136: UserWarning: Detected call of lr_scheduler.step() before optimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step(). Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate

Does it have an impact on the results? If so, how to solve it?
Thanks!

@lahavlipson
Copy link
Collaborator

lahavlipson commented Jan 22, 2023

This has no impact on the results.

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

2 participants