princeton-vl / RAFT-Stereo

MIT License
721 stars 139 forks source link

pytorch usewarning #71

Open lyhloveyou opened 1 year ago

lyhloveyou commented 1 year ago

/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 commented 1 year ago

This has no impact on the results.