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

Installing Using the Python interface #6107

Closed
stavBodik opened this issue Dec 14, 2017 · 1 comment
Closed

Installing Using the Python interface #6107

stavBodik opened this issue Dec 14, 2017 · 1 comment

Comments

@stavBodik
Copy link

stavBodik commented Dec 14, 2017

Hi I want to use caffe in python project and I have Anaconda installed, I am using Windows .
I did run the commands to download the necessary packages.
Can I pass the steps with the compiling ( cmake ) ?
Or just coping the caffe folder into site-packages is enough ?

I think because I am using windows I cant figure out how to install it right...
Cant use the make with windows, when trying to import caffe :

Traceback (most recent call last): File "I:/PycharmProjects/Classification_Geokom/deleteme.py", line 2, in <module> import caffe File "C:\Anaconda3\lib\site-packages\caffe\__init__.py", line 1, in <module> from .pycaffe import Net File "C:\Anaconda3\lib\site-packages\caffe\pycaffe.py", line 13, in <module> from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: No module named 'caffe._caffe'

Thanks !

@stavBodik
Copy link
Author

Found solution , so before copying the python/caffe folder to site-packages ,
use this repository for simple compile and build caffe for windows :

https://github.com/BVLC/caffe/tree/windows/scripts

just run build_win.cmd with correct configurations and everything is good (:

@Noiredd Noiredd closed this as completed Dec 18, 2017
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

2 participants