Install Caffe in Windows


Caffe is a deep learning framework made with expression, speed, and modularity in mind. It is developed by the Berkeley Vision and Learning Center (BVLC) and by community contributors.Yangqing Jia created the project during his PhD at UC Berkeley. 

The Windows version is maintained by Microsoft: https://github.com/Microsoft/caffe

Windows build requires CUDA and cuDNN libraries, downloadable from NVIDIA website.3rd party dependencies required by Caffe are automatically resolved via NuGet.

Download CUDA Toolkit 7.5 from nVidia website.

Download cuDNN v3 or cuDNN v4 from nVidia website. Unpack downloaded zip to %CUDA_PATH% (environment variable set by CUDA installer).

Copy .\windows\CommonSettings.props.example to .\windows\CommonSettings.props

To build Caffe Matlab wrapper set MatlabSupport to true and MatlabDir to the root of your Matlab installation in.\windows\CommonSettings.props.

After you have built solution with Matlab support, in order to use it you have to: 

add the generated matcaffe folder to Matlab search path, and

add <caffe_root>\Build\x64\Release to your system path.


select release *64 and  build .\windows\Caffe.sln
Last Article Next article

Comment 评论



Share 分享

New Users 最新加入

  • hokurikustr

  • refrain

New comments 最新评论

test123: aasdas Details Apr 13 16:39
admin: Thanks! Details Apr 09 11:46
admin: Google map api Details Apr 09 11:46
lqj12: cooooooooool Details Apr 08 21:34
Yunhan Huang: 这个功能是如何实现的? Details Apr 08 13:23