参考了很多网文,感谢前面的人,不一一列举了,以防忘记,记录下来。
安装工具:vs2015 python3 cmake
1.从github下载源码:https://github.com/BVLC/caffe/tree/windows
可使用命令 git clone -b windows https://github.com/BVLC/caffe/
2. 下载https://github.com/willyd/caffebuilder/releases/download/v1.0.1/libraries_v140_x64_py27_1.0.1.tar.bz2
下载相当慢,个人百度网盘分享:链接: https://pan.baidu.com/s/1qYQcQK0 密码: 2fv7
放到相应的下载目录下,我的是这样的,C:\Users\Administrator\.caffe\dependencies\download
3.编辑build_win.cmd,先设置CPU模式,可参考其他网上资源
4.生成vs工程,打开caffe.sln,编译all_build,然后单独重新生成install,
5.到此结束。