deepnet icon indicating copy to clipboard operation
deepnet copied to clipboard

Stuck at RBM example: ./runall.sh

Open UraniumSnake opened this issue 9 years ago • 3 comments

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?

UraniumSnake avatar Jun 30 '15 16:06 UraniumSnake

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

xcszbdnl avatar Mar 01 '16 10:03 xcszbdnl

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?

Rietaros avatar Apr 01 '16 06:04 Rietaros

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.

guxiaoling avatar Apr 06 '16 03:04 guxiaoling