Skip to content
All projects

Personal project · public or synthetic data

R-CNN → Fast → Faster R-CNN

The three papers that defined two-stage detection, re-implemented on one base and compared under the papers’ protocol.

Key results

R-CNN mAP (1.01 s / image)
62.5 %
Fast R-CNN mAP
67.2 %
Faster R-CNN mAP (0.08 s / image)
71.7 %

Three papers, one backbone

R-CNN, Fast R-CNN and Faster R-CNN on the same ImageNet-pretrained ResNet-50, so the comparison isolates the detection design. Train on VOC 2007 trainval minus a 300-image holdout used for every choice; test once on the 4,952 VOC 2007 test images with the 11-point VOC metric; evaluation checked with an oracle (ground-truth boxes give mAP 1.0).

Each generation more accurate, and faster

Each generation is both more accurate and faster: R-CNN 62.5 % at 1.01 s per image plus Selective Search, Fast R-CNN 67.2 %, Faster R-CNN 71.7 % at 0.08 s per image, against 69.9 % in the paper.

Speed vs accuracy: each generation from R-CNN to Faster R-CNN is both faster and more accurate.
Speed vs accuracy on VOC 2007 test.Figure produced by the project code

Departures from the papers

The papers used VGG-16; ResNet-50 explains part of the margin. R-CNN uses a jointly trained softmax head instead of the paper’s SVMs, and RoIAlign replaces RoIPool (both departures are documented).