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

lr scheduler MultiStepLR doesn't follow PyTorch's LRScheduler API. #184

Open
ChirsHuanhuan opened this issue Oct 30, 2023 · 0 comments
Open

Comments

@ChirsHuanhuan
Copy link

ChirsHuanhuan commented Oct 30, 2023

when training I meet the error: pytorch_lightning.utilities.exceptions.MisconfigurationException: The provided lr scheduler MultiStepLR doesn't follow PyTorch's LRScheduler API. You should override the LightningModule.lr_scheduler_step hook with your own logic if you are using a custom LR scheduler.
Are there anyone who has met the problem too? How to solve it?

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