Skip to content

Python 3.5.2 gnump/CUDAmat error #2

@GokulCV

Description

@GokulCV

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions