-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Adding Weights classes for Resnet classification models #4655
Conversation
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.
@jdsgomes Look great. Just a minor typo:
Local prototype test results
|
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.
Thanks for adding tests, this is very much needed. I left a couple of comments, let me know what you think.
Co-authored-by: Vasilis Vryniotis <[email protected]>
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.
Last set of optional nitpicks, feel free to accept/decline at will.
Also we will need to adapt this slightly once #4664 is merged but other than this, we should be good to go.
Co-authored-by: Vasilis Vryniotis <[email protected]>
Co-authored-by: Vasilis Vryniotis <[email protected]>
Co-authored-by: Vasilis Vryniotis <[email protected]>
Co-authored-by: Vasilis Vryniotis <[email protected]>
Co-authored-by: Vasilis Vryniotis <[email protected]>
Co-authored-by: Vasilis Vryniotis <[email protected]>
Co-authored-by: Vasilis Vryniotis <[email protected]>
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.
Thanks a lot for your PR and patience @jdsgomes.
I think it looks great, I'll merge once the CI turns green.
Hey @datumbox! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Summary: * adding Weights classes for Resnet classification models * Replacing BasicBlock by Bottleneck in all but 3 model contructors * adding tests for prototype models * fixing typo in environment variable * Update test/test_prototype_models.py * changing default value for PYTORCH_TEST_WITH_PROTOTYPE * adding checks to compare outputs of the prototype vs old models * refactoring prototype tests * removing unused imports * applying ufmt * Update test/test_prototype_models.py * Update test/test_prototype_models.py * Update test/test_prototype_models.py * Update test/test_prototype_models.py * Update test/test_prototype_models.py * Update test/test_prototype_models.py * Update test/test_prototype_models.py Reviewed By: NicolasHug Differential Revision: D31916320 fbshipit-source-id: 6a379c2318de8448bf2b89174e789b866071eba5 Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]>
* adding Weights classes for Resnet classification models * Replacing BasicBlock by Bottleneck in all but 3 model contructors * adding tests for prototype models * fixing typo in environment variable * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> * changing default value for PYTORCH_TEST_WITH_PROTOTYPE * adding checks to compare outputs of the prototype vs old models * refactoring prototype tests * removing unused imports * applying ufmt * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> * Update test/test_prototype_models.py Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]>
Helps #4672
cc @pmeier @bjuncek