-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Add scriptable transform: center_crop, five crop and ten_crop #1615
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
Conversation
@fmassa , I am planning to first add all the crops with the tests and then would be requesting you for the review. Thanks |
Codecov Report
@@ Coverage Diff @@
## master #1615 +/- ##
==========================================
+ Coverage 65.97% 65.97% +<.01%
==========================================
Files 91 91
Lines 7229 7262 +33
Branches 1095 1100 +5
==========================================
+ Hits 4769 4791 +22
- Misses 2153 2159 +6
- Partials 307 312 +5
Continue to review full report at Codecov.
|
@fmassa , I have added transforms for center_crop, five_crop and ten_crop. Please note that in the tests of five_crop and ten_crop, there is a mismatch between tensors. So, I have made the modifications accordingly. |
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.
LGTM, thanks a lot!
…h#1615) * add scriptable transform: center_crop * add test: center_crop * add scriptable transform: five_crop * add scriptable transform: five_crop * add scriptable transform: fix minor issues
…#1803) Summary: * add scriptable transform: center_crop * add test: center_crop * add scriptable transform: five_crop * add scriptable transform: five_crop * add scriptable transform: fix minor issues Pull Request resolved: #1803 Reviewed By: lerks Differential Revision: D19598584 Pulled By: fmassa fbshipit-source-id: 6cd619da2982aed00104300b9086cc8ca69ecd82
In this PR, I will add scriptable transforms #1375 for center_crop, five_crop and ten_crop along with the tests.