参考原作者github:https://github.com/rbgirshick/fast-rcnn
1. 下载fast-rcnn
git clone --recursive https://github.com/rbgirshick/fast-rcnn.git
如果caffe-fast-rcnn目录没有下下来,则执行:
git submodule update --init --recursive
2. 编译fast-rcnn
cd $FRCN_ROOT/lib
make
进入caffe-fast-rcnn目录,复制Makefile.config.example文件,重命名为Makefile.config。
执行:
cd $FRCN_ROOT/caffe-fast-rcnn
make -j8 && make pycaffe
运行demo:
cd $FRCN_ROOT