-
Notifications
You must be signed in to change notification settings - Fork 125
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
Problem with training code #53
Comments
did you solve this problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Eromera Thank you so much for your work. I have a problem while running your code using the newest version of pytorch. As mentioned by pytorch that
optimizer.step()
should be called beforelr_scheduler.step()
. So I moved thescheduler
outside of the step loop so it will called for every epoch after theoptimizer.step()
However seems like it still give this error.
The text was updated successfully, but these errors were encountered: