R-FCN: Object Detection via Region-based Fully Convolutional Networks
MATLAB
1,247
29 commits
updated May 5, 2017
By Jifeng Dai, Yi Li, Kaiming He, Jian Sun
It is highly recommended to use the deformable R-FCN implemented in MXNet, which significantly increases the accuracy at very low extra computational overhead.
A python version of R-FCN is available, which supports end-to-end training/inference of R-FCN for object detection.
R-FCN is a region-based object detection framework leveraging deep fully-convolutional networks, which is accurate and efficient. In contrast to previous region-based detectors such as Fast/Faster R-CNN that apply a costly per-region sub-network hundreds of times, our region-based detector is fully convolutional with almost all computation shared on the entire image. R-FCN can natually adopt powerful fully convolutional image classifier backbones, such as ResNets, for object detection.
R-FCN was initially described in a NIPS 2016 paper.
This code has been tested on Windows 7/8 64 bit, Windows Server 2012 R2, and Ubuntu 14.04, with Matlab 2014a.
R-FCN is released under the MIT License (refer to the LICENSE file for details).
If you find R-FCN useful in your research, please consider citing:
@article{dai16rfcn,
Author = {Jifeng Dai, Yi Li, Kaiming He, Jian Sun},
Title = {{R-FCN}: Object Detection via Region-based Fully Convolutional Networks},
Journal = {arXiv preprint arXiv:1605.06409},
Year = {2016}
}
| training data | test data | mAP | time/img (K40) | time/img (Titian X) | |
|---|---|---|---|---|---|
| R-FCN, ResNet-50 | VOC 07+12 trainval | VOC 07 test | 77.4% | 0.12sec | 0.09sec |
| R-FCN, ResNet-101 | VOC 07+12 trainval | VOC 07 test | 79.5% | 0.17sec | 0.12sec |
Caffe build for R-FCN (included in this repository, see external/caffe)
fetch_data/fetch_caffe_mex_windows_vs2013_cuda75.mGPU: Titan, Titan X, K40, K80.
fetch_data/fetch_caffe_mex_windows_vs2013_cuda75.m to download a compiled Caffe mex (for Windows only).fetch_data/fetch_demo_model_ResNet101.m to download a R-FCN model using ResNet-101 net (trained on VOC 07+12 trainval).rfcn_build.m.startup.m.experiments/script_rfcn_demo.m to apply the R-FCN model on demo images.fetch_data/fetch_caffe_mex_windows_vs2013_cuda75.m to download a compiled Caffe mex (for Windows only).fetch_data/fetch_model_ResNet50.m to download an ImageNet-pre-trained ResNet-50 net.fetch_data/fetch_model_ResNet101.m to download an ImageNet-pre-trained ResNet-101 net.fetch_data/fetch_region_proposals.m to download the pre-computed region proposals.rfcn_build.m.startup.m.experiments/script_rfcn_VOC0712_ResNet50_OHEM_ss.m to train a model using ResNet-50 net with online hard example mining (OHEM), leveraging selective search proposals. The accuracy should be ~75.4% in mAP.
experiments/script_rfcn_VOC0712_ResNet50_OHEM_rpn.m to train a model using ResNet-50 net with OHEM, leveraging RPN proposals (using ResNet-50 net). The accuracy should be ~77.4% in mAP.
experiments/script_rfcn_VOC0712_ResNet101_OHEM_rpn.m to train a model using ResNet-101 net with OHEM, leveraging RPN proposals (using ResNet-101 net). The accuracy should be ~79.5% in mAP.
./experiments for more settings.Note:
If the automatic "fetch_data" fails, you may manually download resouces from:
9,557 followers · starred Jun 2016
67 followers · starred Dec 2018
173 followers · starred Dec 2017
221 followers · starred May 2017
R-FCN: Object Detection via Region-based Fully Convolutional Networks
MATLAB
1,247
29 commits
updated May 5, 2017
By Jifeng Dai, Yi Li, Kaiming He, Jian Sun
It is highly recommended to use the deformable R-FCN implemented in MXNet, which significantly increases the accuracy at very low extra computational overhead.
A python version of R-FCN is available, which supports end-to-end training/inference of R-FCN for object detection.
R-FCN is a region-based object detection framework leveraging deep fully-convolutional networks, which is accurate and efficient. In contrast to previous region-based detectors such as Fast/Faster R-CNN that apply a costly per-region sub-network hundreds of times, our region-based detector is fully convolutional with almost all computation shared on the entire image. R-FCN can natually adopt powerful fully convolutional image classifier backbones, such as ResNets, for object detection.
R-FCN was initially described in a NIPS 2016 paper.
This code has been tested on Windows 7/8 64 bit, Windows Server 2012 R2, and Ubuntu 14.04, with Matlab 2014a.
R-FCN is released under the MIT License (refer to the LICENSE file for details).
If you find R-FCN useful in your research, please consider citing:
@article{dai16rfcn,
Author = {Jifeng Dai, Yi Li, Kaiming He, Jian Sun},
Title = {{R-FCN}: Object Detection via Region-based Fully Convolutional Networks},
Journal = {arXiv preprint arXiv:1605.06409},
Year = {2016}
}
| training data | test data | mAP | time/img (K40) | time/img (Titian X) | |
|---|---|---|---|---|---|
| R-FCN, ResNet-50 | VOC 07+12 trainval | VOC 07 test | 77.4% | 0.12sec | 0.09sec |
| R-FCN, ResNet-101 | VOC 07+12 trainval | VOC 07 test | 79.5% | 0.17sec | 0.12sec |
Caffe build for R-FCN (included in this repository, see external/caffe)
fetch_data/fetch_caffe_mex_windows_vs2013_cuda75.mGPU: Titan, Titan X, K40, K80.
fetch_data/fetch_caffe_mex_windows_vs2013_cuda75.m to download a compiled Caffe mex (for Windows only).fetch_data/fetch_demo_model_ResNet101.m to download a R-FCN model using ResNet-101 net (trained on VOC 07+12 trainval).rfcn_build.m.startup.m.experiments/script_rfcn_demo.m to apply the R-FCN model on demo images.fetch_data/fetch_caffe_mex_windows_vs2013_cuda75.m to download a compiled Caffe mex (for Windows only).fetch_data/fetch_model_ResNet50.m to download an ImageNet-pre-trained ResNet-50 net.fetch_data/fetch_model_ResNet101.m to download an ImageNet-pre-trained ResNet-101 net.fetch_data/fetch_region_proposals.m to download the pre-computed region proposals.rfcn_build.m.startup.m.experiments/script_rfcn_VOC0712_ResNet50_OHEM_ss.m to train a model using ResNet-50 net with online hard example mining (OHEM), leveraging selective search proposals. The accuracy should be ~75.4% in mAP.
experiments/script_rfcn_VOC0712_ResNet50_OHEM_rpn.m to train a model using ResNet-50 net with OHEM, leveraging RPN proposals (using ResNet-50 net). The accuracy should be ~77.4% in mAP.
experiments/script_rfcn_VOC0712_ResNet101_OHEM_rpn.m to train a model using ResNet-101 net with OHEM, leveraging RPN proposals (using ResNet-101 net). The accuracy should be ~79.5% in mAP.
./experiments for more settings.Note:
If the automatic "fetch_data" fails, you may manually download resouces from:
9,557 followers · starred Jun 2016
67 followers · starred Dec 2018
173 followers · starred Dec 2017
221 followers · starred May 2017