VS2015平台编译mini-caffe

并且配置好了依赖。直接按照官网的步骤即可按照,只需把vs 2013 的cmake 选项换成vs 2017 即可。

ssd demo:

代码mini caffe自带的有,下面有opencv调用代码和模型

https://gitee.com/jacke121/Bottle-Recognition.git

VS2015平台编译mini-caffe

karo-tong 2018-04-05 20:15:09  376  收藏
展开
1, 下载mini-caffe: https://github.com/luoyetx/mini-caffe

2, build protobuf:

    下载protobuf: https://github.com/google/protobuf/tree/a428e42072765993ff674fda72863c9f1aa2d268
1) 解压到:.\mini-caffe\3rdparty\src\protobuf
2) cd protobuf\cmake; mkdir build; cd build
3) cmake .. -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=OFF -G "Visual Studio 14 2015 Win64"
4) VS2015编译.\protobuf\cmake\build\protobuf.sln, (所有工程:属性->库管理器->命令行-> /machine:X64)

3, 准备mini-caffe:

copydeps.bat
generatepb.bat
mkdir build
cd build
cmake .. -G "Visual Studio 14 2015 Win64"

4, VS2015编译.\mini-caffe\mini-caffe.sln
————————————————
版权声明:本文为CSDN博主「karo-tong」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/CaroTong/article/details/79828764

原创文章 2935 获赞 1163 访问量 619万+

猜你喜欢

转载自blog.csdn.net/jacke121/article/details/106152247