martinkersner / train-CRF-RNN

Train CRF-RNN for Semantic Image Segmentation
Other
199 stars 92 forks source link

undefined symbol: _ZN5caffe20curandGetErrorStringE12curandStatus #22

Open Darienzhangyy opened 8 years ago

Darienzhangyy commented 8 years ago

When I run the data2lmdb.py, I met with such weird error message:

python data2lmdb.py Traceback (most recent call last): File "data2lmdb.py", line 14, in import caffe File "/home/ubuntu/caffe/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver File "/home/ubuntu/caffe/python/caffe/pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: /home/ubuntu/caffe/python/caffe/../../build/lib/libcaffe.so.1.0.0-rc3: undefined symbol: _ZN5caffe20curandGetErrorStringE12curandStatus

Did any one meet with such error? Thanks

prakarshupmanyu commented 7 years ago

I face the same problem. To overcome it I use "/usr/bin/python data2lmdb.py" instead of "python data2lmdb.py". For some reason using Anaconda python gives this error. Make sure you install the dependencies using "/usr/bin/pip install " and not "pip install " if you want the above solution to work.