Wallart edited a comment on issue #15431: [MXNet 1.5.0.rc2] Issues with asnumpy() method URL: https://github.com/apache/incubator-mxnet/issues/15431#issuecomment-507843115 I just discovered that crashes are not random. When I put a breakpoint on faulty lines there is no exceptions when I resume the code execution. Same error with that type of instructions. Line is passing when a breakpoint is used `return nd.log(nd.clip(x, a_min=clip_val, a_max=x.max().asscalar())) * c` ``` return nd.log(nd.clip(x, a_min=clip_val, a_max=x.max().asscalar())) * c File "/opt/miniconda3/envs/intelpython3/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/ndarray/ndarray.py", line 2014, in asscalar return self.asnumpy()[0] 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 ```
---------------------------------------------------------------- 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
