Skip to content

Instantly share code, notes, and snippets.

@ZhangMenghe
Last active April 2, 2019 23:31
Show Gist options
  • Select an option

  • Save ZhangMenghe/df650d47f22147135f2a394d163b4bb6 to your computer and use it in GitHub Desktop.

Select an option

Save ZhangMenghe/df650d47f22147135f2a394d163b4bb6 to your computer and use it in GitHub Desktop.
[NfP] Instance Segmentation

Tags: 2017 Instance Segmentation

Priors

Faster R-CNN for object detection

Implementation

Steps

  1. Scan the image and generate the proposals(areas likely to contain an object)
  2. Classify the proposals and generate bounding boxes and masks.

Backbone

ResNet50/ResNet101: feature extractor(early layers for low-level features, later for high-level features.)

Feature Pyramid Network

Better representation of objects at multiple scales.

Region Proposal Network

Scan the image(actually backbone feature map) parallely in a sliding-window fashion and find areas that contain objects

ROI Classifer & Bounding Box Regressor

Generate classes and BBox refinements

ROI Pooling

Since ROI boxes can have different sizes, ROI pooling is used to crop a part of feature map and resize to fixed size. ##(Special for MaskR-CNN) Segmentation Masks CNN takes the positive regions from ROI and generates masks for them. The masks are soft, represented by float numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment