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

ValueError: The provided lr scheduler "<torch.optim.lr_scheduler.MultiStepLR object at 0x000001FE8239EAF0>" is invalid #84

Open
X86Git opened this issue May 6, 2023 · 3 comments

Comments

@X86Git
Copy link

X86Git commented May 6, 2023

Hello, this is the problem i meet when i train to run the instruct :python train_mvs_nerf_finetuning_pl.py --config configs/horns.txt. But I don't konw how to solv it. Can anyone give some suggestions?

@Shichao123123
Copy link

I also ran into this issue, please how should I fix it,thanks

@yifanjiang19
Copy link

yifanjiang19 commented Jul 1, 2023

@Shichao123123 @X86Git
I think you are using the mismatched pytorch-lighting and pytorch version. Either fix version or modify pytorch_lightning/trainer/optimizers.py line 172. You can try with optim.lr_scheduler.LRScheduler or optim.lr_scheduler._LRScheduler. One of them will work

@Shichao123123
Copy link

Shichao123123 commented Jul 2, 2023 via email

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

3 participants