gnumpy icon indicating copy to clipboard operation
gnumpy copied to clipboard

Python 3.5.2 gnump/CUDAmat error

Open GokulCV opened this issue 8 years ago • 3 comments

mltest.docx Hello, I'm trying to run a deep learning algorithm. I followed the code from Adrian's tutorial. I'm getting the following error:

File "mltest.py", line 4, in from nolearn.dbn import DBN File "C:\Users\User\AppData\Local\Programs\Python\Python35-32\lib\site-packages\nolearn\dbn.py", line 5, in from gdbn.dbn import buildDBN File "C:\Users\User\AppData\Local\Programs\Python\Python35-32\lib\site-packages\gdbn\dbn.py", line 25, in import gnumpy as gnp File "C:\Users\User\AppData\Local\Programs\Python\Python35-32\lib\site-packages\gnumpy.py", line 225 except _cudamat.CUDAMat Exception as e: # this means that malloc failed ^ SyntaxError: invalid syntax

I'm running Python 3.5.2, OpenCV 3.0, corresponding nolearn and scikit modules on Windows 10 Pro. Can someone help me troubleshoot this issue?

Thank you,

GokulCV avatar Jan 14 '17 00:01 GokulCV

same problem facing here. i am using python 3.5, opencv 3.2, nolearn 0.5b1 and sklearn 0.18.1 as suggested by Adrian tutorial

kranthibv avatar Jan 24 '17 14:01 kranthibv

try use "except _cudamat.CUDAMat Exception as e: # this means that malloc failed"

xjohnxjohn avatar Jul 07 '17 08:07 xjohnxjohn

Did you resolve the problem?

VladislavK777 avatar Nov 27 '18 08:11 VladislavK777