rbgirshick / caffe-fast-rcnn

Caffe fork that supports Fast R-CNN
Other
361 stars 395 forks source link

Library not loaded: libcaffe.so.1.0.0-rc3 #21

Open HamdiHamed1992 opened 7 years ago

HamdiHamed1992 commented 7 years ago

i am under mac os 10.12.3 Sierra . when i run : hamdihamed$ python /Users/hamdihamed/Desktop/py-faster-rcnn/tools/demo.py i get this error Traceback (most recent call last): File "/Users/hamdihamed/Desktop/py-faster-rcnn/tools/demo.py", line 18, in from fast_rcnn.test import im_detect File "/Users/hamdihamed/Desktop/py-faster-rcnn/tools/../lib/fast_rcnn/test.py", line 16, in import caffe File "/Users/hamdihamed/Desktop/py-faster-rcnn/tools/../caffe-fast-rcnn/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver File "/Users/hamdihamed/Desktop/py-faster-rcnn/tools/../caffe-fast-rcnn/python/caffe/pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: dlopen(/Users/hamdihamed/Desktop/py-faster-rcnn/tools/../caffe-fast-rcnn/python/caffe/_caffe.so, 2): Library not loaded: libcaffe.so.1.0.0-rc3 Referenced from: /Users/hamdihamed/Desktop/py-faster-rcnn/caffe-fast-rcnn/python/caffe/_caffe.so Reason: image not found

any help ??

fujingling commented 7 years ago

Hi! did you solve this problem? I get the same error with you, if you solved it, can you tell me how did you do?Thank you very much

HamdiHamed1992 commented 7 years ago

try to make pycaffe and install all the missing python libraries (pip install "library_name"). PS: you wont be able to train faster rcnn on CPU , unfortunately.