-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Add imresize to mxnet.image documentation #12831
Conversation
20eeb99
to
9df4b20
Compare
@mxnet-label-bot [Python, pr-awaiting-response] |
58e632d
to
a35fcc4
Compare
a35fcc4
to
a3dce1e
Compare
f7859ed
to
00ca107
Compare
00ca107
to
d34d040
Compare
@nswamy @marcoabreu It seems that your review comments has been addressed. Could you please look into the PR again? |
ping @marcoabreu @nswamy for review/merge |
This is great. What about adding the other OpenCV functions too? |
@aaronmarkham its coming up, along with a few other additions to gluon.transforms. |
new_w = np.random.randint(1, 1000) | ||
for interp in range(0, 2): | ||
cv_resized = cv2.resize(cv_img, (new_w, new_h), interpolation=interp) | ||
mx_resized = mx.image.imresize(mx_img, new_w, new_h, interp) |
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.
can we have a test with passing out parameter?
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.
i can add that test.
@anirudhacharya could you please address the comments above? |
i will reopen once i add the test case. |
Description
Though
mx.image.imresize
is currently available for external use, it does not show up in the docs because it was hidden behind an internal function call.Fixes #13090
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes