You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/03/18 22:29:07 UTC

[GitHub] [incubator-mxnet] DNXie opened a new issue #20046: mxnet.ndarray.image.resize crashes(aborts)

DNXie opened a new issue #20046:
URL: https://github.com/apache/incubator-mxnet/issues/20046


   ## Description
   `mxnet.ndarray.image.resize` crashes(aborts) when `interp` is invalid.
   
   ### Error Message
   ~~~python
   terminate called after throwing an instance of 'cv::Exception'
   terminate called recursively
   terminate called recursively
   terminate called recursively
   Aborted (core dumped)
   ~~~
   
   ## To Reproduce
   The reproducing code can be found in this [gist](https://colab.research.google.com/drive/1tfW-oWeOuUD7NvS5IK2pmqPYK7uopNru?usp=sharing)
   ~~~python
   import mxnet
   data=mxnet.nd.ones((11, 13, 19, 16))
   mxnet.ndarray.image.resize(data=data, size=1, interp=10)
   ~~~
   
   ## Environment
   
   OS: ubuntu 18.04
   Python: 3.7.6
   pip: 20.0.2
   numpy: 1.18.5
   mxnet: 1.6.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org