You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/07/02 10:10:55 UTC
[GitHub] [incubator-mxnet] Wallart opened a new issue #15431: [MXNet 1.5]
Issues with asnumpy() method
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:
users@infra.apache.org
With regards,
Apache Git Services