-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Refactor] Refactor Resize
transform and add Pad
transform.
#506
Conversation
Codecov Report
@@ Coverage Diff @@
## master #506 +/- ##
==========================================
+ Coverage 79.42% 79.62% +0.19%
==========================================
Files 106 106
Lines 5959 6002 +43
Branches 962 972 +10
==========================================
+ Hits 4733 4779 +46
+ Misses 1095 1093 -2
+ Partials 131 130 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Resize
transform and add Pad
transform.
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
…-mmlab#506) * refactor resize, test tobe done * resize reimpl according to discussion; add pad * minor fixes and add tests * minor fixes on docstring * add additional unit test * reformat resize and pad * revise code and docstr according to the comments
Motivation
This pull request is base on issue#453
Modification
Refactor the
Resize
to enable resizing images while keeping the aspect ratio with padding.