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 has been archived by the owner on Nov 17, 2023. It is now read-only.
Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
WARNING: discarded 0 sentences longer than the largest bucket.
WARNING: discarded 0 sentences longer than the largest bucket.
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/mxnet/symbol/symbol.py", line 1521, in simple_bind
ctypes.byref(exe_handle)))
File "/anaconda3/lib/python3.6/site-packages/mxnet/base.py", line 210, in check_call
raise MXNetError(py_str(LIB.MXGetLastError()))
mxnet.base.MXNetError: Error in operator split0: [13:51:38] src/operator/./slice_channel-inl.h:208: Check failed: dshape[real_axis] % param.num_outputs == 0U (10 vs. 0) You are trying to split the 1-th axis of input tensor with shape [32,30,200] into num_outputs=20 evenly sized chunks, but this is not possible because 20 does not evenly divide 30
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "lstm_bucketing.py", line 126, in
batch_end_callback = mx.callback.Speedometer(args.batch_size, args.disp_batches, auto_reset=False))
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/base_module.py", line 515, in fit
self.forward_backward(data_batch)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/base_module.py", line 194, in forward_backward
self.forward(data_batch, is_train=True)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/bucketing_module.py", line 455, in forward
data_batch.provide_label)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/bucketing_module.py", line 376, in switch_bucket
force_rebind=False, shared_module=self._buckets[self._default_bucket_key])
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/module.py", line 430, in bind
state_names=self._state_names)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 279, in init
self.bind_exec(data_shapes, label_shapes, shared_group)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 375, in bind_exec
shared_group))
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 662, in bind_ith_exec
shared_buffer=shared_data_arrays, **input_shapes)
File "/anaconda3/lib/python3.6/site-packages/mxnet/symbol/symbol.py", line 1527, in simple_bind
raise RuntimeError(error_msg)
RuntimeError: simple_bind error. Arguments:
data: (32, 30)
softmax_label: (32, 30)
Error in operator split0: [13:51:38] src/operator/./slice_channel-inl.h:208: Check failed: dshape[real_axis] % param.num_outputs == 0U (10 vs. 0) You are trying to split the 1-th axis of input tensor with shape [32,30,200] into num_outputs=20 evenly sized chunks, but this is not possible because 20 does not evenly divide 30
Description
problem happened with a self-created dataset for lstm_bucketing example on CPU
But dataset with rnn-time-major works good
Environment info (Required)
Package used (Python/R/Scala/Julia):
Python
MXNet commit hash:
7c1acb4
Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from
float
tonp.floating
is deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type
.from ._conv import register_converters as _register_converters
WARNING: discarded 0 sentences longer than the largest bucket.
WARNING: discarded 0 sentences longer than the largest bucket.
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/mxnet/symbol/symbol.py", line 1521, in simple_bind
ctypes.byref(exe_handle)))
File "/anaconda3/lib/python3.6/site-packages/mxnet/base.py", line 210, in check_call
raise MXNetError(py_str(LIB.MXGetLastError()))
mxnet.base.MXNetError: Error in operator split0: [13:51:38] src/operator/./slice_channel-inl.h:208: Check failed: dshape[real_axis] % param.num_outputs == 0U (10 vs. 0) You are trying to split the 1-th axis of input tensor with shape [32,30,200] into num_outputs=20 evenly sized chunks, but this is not possible because 20 does not evenly divide 30
Stack trace returned 10 entries:
[bt] (0) 0 libmxnet.so 0x000000011c0dcab4 libmxnet.so + 19124
[bt] (1) 1 libmxnet.so 0x000000011c0dc86f libmxnet.so + 18543
[bt] (2) 2 libmxnet.so 0x000000011d6873f1 MXTVMBridge + 3552369
[bt] (3) 3 libmxnet.so 0x000000011d3170ce MXNDListFree + 1644494
[bt] (4) 4 libmxnet.so 0x000000011d1d477a MXNDListFree + 323194
[bt] (5) 5 libmxnet.so 0x000000011d1cce8c MXNDListFree + 292236
[bt] (6) 6 libmxnet.so 0x000000011d1bf8d6 MXNDListFree + 237526
[bt] (7) 7 libmxnet.so 0x000000011d1c544a MXNDListFree + 260938
[bt] (8) 8 libmxnet.so 0x000000011d151e40 MXExecutorSimpleBind + 8656
[bt] (9) 9 libffi.6.dylib 0x000000010dea8884 ffi_call_unix64 + 76
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "lstm_bucketing.py", line 126, in
batch_end_callback = mx.callback.Speedometer(args.batch_size, args.disp_batches, auto_reset=False))
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/base_module.py", line 515, in fit
self.forward_backward(data_batch)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/base_module.py", line 194, in forward_backward
self.forward(data_batch, is_train=True)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/bucketing_module.py", line 455, in forward
data_batch.provide_label)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/bucketing_module.py", line 376, in switch_bucket
force_rebind=False, shared_module=self._buckets[self._default_bucket_key])
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/module.py", line 430, in bind
state_names=self._state_names)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 279, in init
self.bind_exec(data_shapes, label_shapes, shared_group)
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 375, in bind_exec
shared_group))
File "/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 662, in bind_ith_exec
shared_buffer=shared_data_arrays, **input_shapes)
File "/anaconda3/lib/python3.6/site-packages/mxnet/symbol/symbol.py", line 1527, in simple_bind
raise RuntimeError(error_msg)
RuntimeError: simple_bind error. Arguments:
data: (32, 30)
softmax_label: (32, 30)
Error in operator split0: [13:51:38] src/operator/./slice_channel-inl.h:208: Check failed: dshape[real_axis] % param.num_outputs == 0U (10 vs. 0) You are trying to split the 1-th axis of input tensor with shape [32,30,200] into num_outputs=20 evenly sized chunks, but this is not possible because 20 does not evenly divide 30
Stack trace returned 10 entries:
[bt] (0) 0 libmxnet.so 0x000000011c0dcab4 libmxnet.so + 19124
[bt] (1) 1 libmxnet.so 0x000000011c0dc86f libmxnet.so + 18543
[bt] (2) 2 libmxnet.so 0x000000011d6873f1 MXTVMBridge + 3552369
[bt] (3) 3 libmxnet.so 0x000000011d3170ce MXNDListFree + 1644494
[bt] (4) 4 libmxnet.so 0x000000011d1d477a MXNDListFree + 323194
[bt] (5) 5 libmxnet.so 0x000000011d1cce8c MXNDListFree + 292236
[bt] (6) 6 libmxnet.so 0x000000011d1bf8d6 MXNDListFree + 237526
[bt] (7) 7 libmxnet.so 0x000000011d1c544a MXNDListFree + 260938
[bt] (8) 8 libmxnet.so 0x000000011d151e40 MXExecutorSimpleBind + 8656
[bt] (9) 9 libffi.6.dylib 0x000000010dea8884 ffi_call_unix64 + 76
Steps to reproduce
(Paste the commands you ran that produced the error.)
The text was updated successfully, but these errors were encountered: