Wallart opened a new issue #15431: [MXNet 1.5] Issues with asnumpy() method
URL: https://github.com/apache/incubator-mxnet/issues/15431
 
 
   Hello,
   
   I've decided to try MXNet 1.5.0.rc2.
   And I have a lot of crashes due to asnumpy() calls like the following one :
   
   `phase = nd.array(np.arctan2(imag_part.asnumpy(), real_part.asnumpy()))`
   
   ```
   phase = nd.array(np.arctan2(imag_part.asnumpy(), real_part.asnumpy()))
     File 
"/opt/miniconda3/envs/intelpython3/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/ndarray/ndarray.py",
 line 1996, in asnumpy
       ctypes.c_size_t(data.size)))
     File 
"/opt/miniconda3/envs/intelpython3/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/base.py",
 line 253, in check_call
       raise MXNetError(py_str(_LIB.MXGetLastError()))
   mxnet.base.MXNetError: std::exception
   ```
   
   The same issue occurs if I store asnumpy() result in a temporary variable. 
The crash seems random.
   
   I didn't had any problems in MXNet 1.4.1

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to