-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
f'The provided lr scheduler "{scheduler}" is invalid' #91
Comments
me too |
Hi @luoclab , @dai-jiuhun , |
Hey @MisterBourbaki No changes to the code/YAML files I tried running VanillaVAE with torch=2.2 with CUDA 11.8 and got the following error while trying to execute run.py.
Any solutions? |
Hi @arpu-nagar , I just had a look at the issue, and I think it comes from the old age of the code. This repo is great, but very old in terms of code. In particular, torch and in particular lightning's API have change a lot since then. So, to avoid spending to much time finding the right way to change a few lines of code here and there, I think it is best to craft from scratch a training pipeline using Lightning. They have really good tutorials :) And if I may, I am trying to rebuild this repo in a more modern way here . It is still a work in progress, but I hope to catch on quick. |
@luoclab @dai-jiuhun @arpu-nagar This problem is from the version of pytorch-lightning, which changed apis. I've optimised the code to support the latest Pytorch version 2.2.x, you could have a try. |
The problem is that the code is for older versions but the requirements.txt installs the newest version. I used these installations to get past the error: |
my torch vision is 2.01,I don't konw how to solve this error
The text was updated successfully, but these errors were encountered: