1) conda config --add channels conda-forge
2) conda config --add channels willyd
3)
conda install --yes cmake ninja numpy scipy protobuf==3.1.0 six scikit-image pyyaml pydotplus graphviz
4) E:\deeplearning\caffe>scripts\build_win.cmd
Following is the output
INFO: ============================================================
INFO: Summary:
INFO: ============================================================
INFO: MSVC_VERSION = 14
INFO: WITH_NINJA = 0
INFO: CMAKE_GENERATOR = "Visual Studio 14 2015 Win64"
INFO: CPU_ONLY = 1
INFO: CUDA_ARCH_NAME = Auto
INFO: CMAKE_CONFIG = Release
INFO: USE_NCCL = 0
INFO: CMAKE_BUILD_SHARED_LIBS = 0
INFO: PYTHON_VERSION = 2
INFO: BUILD_PYTHON = 0
INFO: BUILD_PYTHON_LAYER = 1
INFO: BUILD_MATLAB = 1
INFO: PYTHON_EXE = "python"
INFO: RUN_TESTS = 0
INFO: RUN_LINT = 0
INFO: RUN_INSTALL = 0
INFO: ============================================================
...
561 Warning(s)
0 Error(s)
Time Elapsed 00:07:17.35
E:\deeplearning\caffe>python
Python 2.7.15 |Anaconda, Inc.| (default, May 1 2018, 18:37:09) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import caffe
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "E:\deeplearning\caffe\python\caffe\__init__.py", line 1, in <module>
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
File "E:\deeplearning\caffe\python\caffe\pycaffe.py", line 13, in <module>
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: No module named _caffe
Following is my system configuration
Python version= 2.7
Visual studio= 2015
I even copied caffe folder from 'E:\deeplearning\caffe\python' to 'C:\Users\Ambi\Anaconda2\Lib\site-packages'
caffe is being added to path as well, but still the issue persist. And i am following 'https://github.com/BVLC/caffe/tree/windows' instructions.
And i am not able to download any of prebuilt binaries from git repository
>>> sys.path
['', 'E:\\deeplearning\\caffe\\python',
Can anyone suggest solution for my issue?