19
Faster R-CNN: Towards Real- Time Object detection Microsoft Research, NIPS2015 Presentor: Andy Tsai

Faster rcnn

  • Upload
    -

  • View
    4.885

  • Download
    5

Embed Size (px)

Citation preview

Page 1: Faster rcnn

Faster R-CNN: Towards Real-Time Object

detectionMicrosoft Research, NIPS2015

Presentor: Andy Tsai

Page 2: Faster rcnn

Key Idea: Region Proposal Net (RPN) layer

ConvLayers

Predict BBoxes Classify objects

conv5

Page 3: Faster rcnn

Testing Time: faster R-CNN

ConvLayers

Predict BBoxes Classify objects

conv5

1*ConvTime

1*SmallNet 1000*FcTime

Page 4: Faster rcnn

Testing Time: R-CNN

ConvLayers

conv5

Object Proposal

…………….

Object Proposal

1000*ConvTime

1000*FcTime

Page 5: Faster rcnn

Testing Time: fast R-CNN

ConvLayers

conv5

Object Proposal

…………….

Object Proposal

1*ConvTime

1000*FcTime

ROI pooling

Page 6: Faster rcnn

Fast, Accurate Object Detection- fastest region proposal method: Edge Boxes [4fps, 1000 proposal]

- Testing stageModel Time

Edge boxes + R-CNN 0.25 sec + 1000*ConvTime + 1000*FcTime

Edge boxes + fast R-CNN 0.25 sec + 1*ConvTime + 1000*FcTime

faster R-CNN 1*ConvTime + 1000*FcTime

Page 7: Faster rcnn

RPN layer

Page 8: Faster rcnn

RPN layer

Page 9: Faster rcnn

RPN layerAnchor regression

Page 10: Faster rcnn

RPN: Loss Function- 2 class Softmax cross entropy loss- Discriminative training:

- pi* = 1 if IoU > 0.7- pi* = 0 if IoU < 0.3- otherwise, do not contribute to loss

Page 11: Faster rcnn

RPN: Loss Function

only positive sample contribute to reg. Loss

Page 12: Faster rcnn

How to train faster R-CNN ?- balance sampling ( neg. vs pos. = 1:1 )

- joint training is almost impossible ( conv update alternating )

- 4 step training !

Page 13: Faster rcnn

How to train faster R-CNN ?1.train RPN with ImageNet pre-trained model

2.train fast R-CNN using proposal generated by 1. [ no params. sharing ]

3.use conv trained by 2. to initialize model, fix shared conv, update RPN

4.fix shared conv, fine-tune fc

Page 14: Faster rcnn

Result - MAP- VOC2007, ZF ConvNet

Page 15: Faster rcnn

Result - MAPUsing VGG ConvNet, fast R-CNN vs faster R-CNN

Page 16: Faster rcnn

Result - TimeVOC 2007, fast R-CNN vs faster R-CNN

70.0%73.2%59.9%

Page 17: Faster rcnn

Official Leader Board Score

Page 18: Faster rcnn

Code available at gitHubMatlab(faster-rcnn) & python(py-faster-rcnn) version

Page 19: Faster rcnn

Thank you :)