mxnet-for-cdl
mxnet-for-cdl copied to clipboard
The code crashed when rating matrix is a little large, how to fix it?
When I run the code with a rating matrix (100000, 10000), the code crashed, and the reported error is attached. When I use a rating matrix (10000, 10000), it works normal. This error seems caused by memeory out. How to fix such error?
Traceback (most recent call last): File "cdl.py", line 89, in num_iter, 'sgd', l_rate=0.1, decay=0.0)#, File "/data/CF/mxnet-for-cdl-master-kb/autoencoder.py", line 175, in finetune last_batch_handle='pad') File "/usr/lib/python2.7/site-packages/mxnet-0.10.0-py2.7.egg/mxnet/io.py", line 579, in init self.data = _init_data(data, allow_empty=False, default_name=data_name) File "/usr/lib/python2.7/site-packages/mxnet-0.10.0-py2.7.egg/mxnet/io.py", line 487, in _init_data "should be NDArray or numpy.ndarray") TypeError: Invalid type '<type 'numpy.ndarray'>' for data, should be NDArray or numpy.ndarray [22:57:14] /data/CF/mxnet/dmlc-core/include/dmlc/./logging.h:304: [22:57:14] /data/CF/mxnet/mshadow/mshadow/./stream_gpu-inl.h:129: Check failed: err == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
Hi, Sorry for such a late reply. Were you able to fix this? On 7 June 2017 at 20:46, suqi [email protected] wrote:
When I run the code with a rating matrix (100000, 10000), the code crashed, and the reported error is attached. When I use a rating matrix (10000, 10000), it works normal. This error seems caused by memeory out. How to fix such error?
Traceback (most recent call last): File "cdl.py", line 89, in num_iter, 'sgd', l_rate=0.1, decay=0.0)#, File "/data/CF/mxnet-for-cdl-master-kb/autoencoder.py", line 175, in finetune last_batch_handle='pad') File "/usr/lib/python2.7/site-packages/mxnet-0.10.0-py2.7.egg/mxnet/io.py", line 579, in init self.data = _init_data(data, allow_empty=False, default_name=data_name) File "/usr/lib/python2.7/site-packages/mxnet-0.10.0-py2.7.egg/mxnet/io.py", line 487, in _init_data "should be NDArray or numpy.ndarray") TypeError: Invalid type '<type 'numpy.ndarray'>' for data, should be NDArray or numpy.ndarray [22:57:14] /data/CF/mxnet/dmlc-core/include/dmlc/./logging.h:304: [22:57:14] /data/CF/mxnet/mshadow/mshadow/./stream_gpu-inl.h:129: Check failed: err == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/akash13singh/mxnet-for-cdl/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/APHM8Jkv2pvj348r2AxNTIi8DKQ6xBtPks5sBr7XgaJpZM4Ny3KO .
Hi, Thanks for your reply. I haven't fixed this problem !!, so I stopped to explore this code. If you can help to fix it, I will continue with this code. Many thanks ^^