-
Notifications
You must be signed in to change notification settings - Fork 283
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
[feat] OSS: Sync all attributes #67
Conversation
cc @mannatsingh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test.
Does this fix a bug? The only attribute that is common to all optimizers is learning rate.
see for instance https://github.com/facebookresearch/ClassyVision/blob/master/classy_vision/optim/classy_optimizer.py#L162 I'll add a non-lr unit test, good point, I was a bit lazy and thought that lr could be enough but that's wrong |
It would be nice to capture some of this discussion in the commit message or via a code comment. |
ah, the intent was to have this documented in the linked issue (#66), but if it's easier I can elaborate more in the commit messages or PR ? Alrighty, learning by doing, there are some hidden assumptions |
The linked issue is two levels of indirection from the code. It's nice to have a useful summary in the commit message. The commit message is one level of indirection away from the code. When maintaining code, it is common to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add more context to the commit message before landing.
Before submitting
What does this PR do?
Fixes #66
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃