rbgirshick / py-faster-rcnn

Faster R-CNN (Python implementation) -- see https://github.com/ShaoqingRen/faster_rcnn for the official MATLAB version
Other
8.13k stars 4.11k forks source link

ImportError: No module named _caffe on windows 7 #548

Open tanmay796 opened 7 years ago

tanmay796 commented 7 years ago

i downloaded caffe-windows and copied python\caffe folder into my site-packages. But after importing the caffe it gives me following error: Traceback (most recent call last): File "C:\Users\ag185211\Desktop\Tanmay\HappyNet-master\opencv_functions.py", line 23, in import caffe File "C:\Python27\lib\site-packages\caffe__init__.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer File "C:\Python27\lib\site-packages\caffe\pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: No module named _caffe

But in caffe folder there is -caffe.cpp folder. How should I solve this? Thanks in advance.

vabrishami commented 7 years ago

@tanmay796 Follow these steps to solve your problem:

http://www.cnblogs.com/LaplaceAkuir/p/6484500.html

http://www.cnblogs.com/LaplaceAkuir/p/6445189.html