You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
An error is thrown when trying to print an mx.np.array of type int32. Unfortunately the error is difficult to reproduce.
Error Message
File "/Users/fhieber/workspace/sockeye/sockeye/beam_search.py", line 886, in forward
print('2', finished)
File "/Users/fhieber/workspace/mxnet/python/mxnet/numpy/multiarray.py", line 1379, in __str__
array_str = self.asnumpy().__str__()
File "/Users/fhieber/workspace/mxnet/python/mxnet/ndarray/ndarray.py", line 2626, in asnumpy
ctypes.c_size_t(data.size)))
File "/Users/fhieber/workspace/mxnet/python/mxnet/base.py", line 246, in check_call
raise get_last_ffi_error()
mxnet.base.MXNetError: Traceback (most recent call last):
File "/Users/fhieber/workspace/mxnet/src/operator/tensor/indexing_op.cc", line 313
MXNetError: Check failed: is_valid: take operator contains indices out of bound
To Reproduce
Unfortunately I am not able to reproduce this with a minimal example. The array from the error message above is produced in a hybridized block before like this and returned as an output of that block: