Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck at RBM example: ./runall.sh #85

Open
UraniumSnake opened this issue Jun 30, 2015 · 3 comments
Open

Stuck at RBM example: ./runall.sh #85

UraniumSnake opened this issue Jun 30, 2015 · 3 comments

Comments

@UraniumSnake
Copy link

Hi,
I'm stuck at the RBM example.
When I execute ./runall.sh this is my output:

Traceback (most recent call last):
File "../../trainer.py", line 1, in
from neuralnet import *
File "/home/joaomartinsrei/deepnet/deepnet/neuralnet.py", line 8, in
from datahandler import *
File "/home/joaomartinsrei/deepnet/deepnet/datahandler.py", line 4, in
from choose_matrix_library import *
File "/home/joaomartinsrei/deepnet/deepnet/choose_matrix_library.py", line 13, in
from cudamat import cudamat_conv as cc
ImportError: cannot import name cudamat_conv

Already doublecheck ~/.bashrc and nothing seams wrong. Anyone passed by this error?

@xcszbdnl
Copy link

xcszbdnl commented Mar 1, 2016

you should add cudamat to you python search path.
Did you configure PYTHONPATH?

@Rietaros
Copy link

Rietaros commented Apr 1, 2016

I have the same problem and I've done adding cudamat to my PYTHONPATH like

export PYTHONPATH=$PYTHONPATH:$HOME/Documents/deepnet-master/cudamat

but still have the same problem. Any idea?

@guxiaoling
Copy link

I have also encountered the same problem. This problem may be caused by the conflict between two
cudamat versions. I first install cudamat from https://github.com/cudamat/cudamat. Then during installing deepnet, the cudamat is complied again. I simply delete the first cudamat version by removing python2.7/site-packages/cudamat-0.3-py2.7-linux-x86_64.egg this file folder. It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants