./windows/thirdparty/
. Then, add the folder ./windows/thirdparty/bins
to the environment variable PATH
..windowsCommonSettings.props.example
to .windowsCommonSettings.props
CUDA
and cuDNN
libraries.Both can be disabled by adjusting build variables in .windowsCommonSettings.props
.Python support is disabled by default, but can be enabled via .windowsCommonSettings.props
as well.CUDA Toolkit 8.0
from nVidia website.If you don't have CUDA installed, you can experiment with CPU_ONLY build.In .windowsCommonSettings.props
set CpuOnlyBuild
to true
and set UseCuDNN
& UseNCCL
to false
.cuDNN v5
from nVidia website.Unpack downloaded zip to %CUDA_PATH% (environment variable set by CUDA installer).Alternatively, you can unpack zip to any location and set CuDnnPath
to point to this location in .windowsCommonSettings.props
.CuDnnPath
defined in .windowsCommonSettings.props
.Also, you can disable cuDNN by setting UseCuDNN
to false
in the property file.PythonSupport
to true
in .windowsCommonSettings.props
.Download Miniconda 2.7 64-bit Windows installer [from Miniconda website] (http://conda.pydata.org/miniconda.html).Install for all users and add Python to PATH (through installer).PythonPath
environment variable to point to <caffe_root>Buildx64Releasepycaffe
, or<caffe_root>Buildx64Releasepycaffecaffe
under <python_root>libsite-packages
.MatlabSupport
to true
and MatlabDir
to the root of your Matlab installation in .windowsCommonSettings.props
../matlab
folder to Matlab search path..windowsCaffe.sln