marcoabreu commented on a change in pull request #12831: Add imresize to
mxnet.image documentation
URL: https://github.com/apache/incubator-mxnet/pull/12831#discussion_r225437783
##########
File path: tests/python/unittest/test_image.py
##########
@@ -118,6 +118,22 @@ def test_resize_short(self):
mx_resized = mx.image.resize_short(mx_img, new_size,
interp)
assert_almost_equal(mx_resized.asnumpy()[:, :, (2, 1, 0)],
cv_resized, atol=3)
+ def test_imresize(self):
+ try:
+ import cv2
+ except ImportError:
+ return
Review comment:
Throw a skip test exception please
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services