Windows下配置Faster-RCNN总结
- 下载Faster-RCNN源码
下载地址为:Github - 下载训练好的VGG,ZF模型
- 下载VS2013+cuda6.5的mex文件
由于我的cuda版本是7.0的,所以作者提供的mex不能够运行,需要自己去编译faster-rcnn的库,地址为:caffe-faster-rcnn 除了作者提供的的库以外,自己还需要准备,openCV, Boost和Intel MKL的库,头文件和库文件目录加到VS中去。 - 编译
编译时间略长,生成完之后拷到相应目录即可。 - 测试
ZF模型
fast_rcnn startup done
000456.jpg (500x375): time 2.272s (resize+conv+proposal: 1.536s, nms+regionwise: 0.736s)
000542.jpg (500x375): time 2.007s (resize+conv+proposal: 1.694s, nms+regionwise: 0.313s)
001150.jpg (500x375): time 2.136s (resize+conv+proposal: 1.595s, nms+regionwise: 0.541s)
001763.jpg (500x375): time 2.027s (resize+conv+proposal: 1.583s, nms+regionwise: 0.444s)
004545.jpg (500x375): time 2.360s (resize+conv+proposal: 1.535s, nms+regionwise: 0.825s)
mean time: 2.160s
Cleared 0 solvers and 2 stand-alone nets
使用的是CPU来测试,速度较慢。GPU更快!
- 小结
就这样,先写这么多吧。