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

Mis-accumulated momentum #450

Closed
joneswong opened this issue Dec 5, 2022 · 1 comment · Fixed by #451
Closed

Mis-accumulated momentum #450

joneswong opened this issue Dec 5, 2022 · 1 comment · Fixed by #451
Assignees
Labels
bug Something isn't working

Comments

@joneswong
Copy link
Collaborator

self.optimizer = torch.optim.SGD(self.model.parameters(),

It seems that once the optimizer is constructed, it works through the whole training course.

@joneswong joneswong added the bug Something isn't working label Dec 5, 2022
@rayrayraykk
Copy link
Collaborator

rayrayraykk commented Dec 5, 2022

OK, I will fix this.

@rayrayraykk rayrayraykk linked a pull request Dec 5, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants