ResNet (namely, the 9-layer ‘res5’ [19]), which is computeintensive. For FPN, the backbone already includes res5 and
thus allows for a more efﬁcient head that uses fewer ﬁlters.
We note that our mask branches have a straightforward
structure. More complex designs have the potential to improve performance but are not the focus of this work.
ave
RoI
RoI14×14
×2567×7
×256
14×14
×2561024
28×28
×2561024
mask14×14
×256class
box2048RoI res57×7
×10247×7
×2048
×4class
box
14×14
×80
mask28×28
×80Faster R-CNN
w/ ResNet [19]Faster R-CNN
w/ FPN [27]
Figure 4. Head Architecture : We extend two existing Faster RCNN heads [19, 27]. Left/Right panels show the heads for the
ResNet C4 and FPN backbones, from [19] and [27], respectively,
to which a mask branch is added. Numbers denote spatial resolution and channels. Arrows denote either conv, deconv, or fclayers
as can be inferred from context (conv preserves spatial dimension
We present a conceptually simple, flexible, and general framework for object
instance segmentation. Our approach efficiently detects objects in an image
while simultaneously generating a high-quality segmentation mask for each
instance. The method, called Mask R-CNN, extends Faster R-CNN by adding a
branch for predicting an object mask in parallel with the existing branch for
bounding box recognition. Mask R-CNN is simple to train and adds only a small
overhead to Faster R-CNN, running at 5 fps. Moreover, Mask R-CNN is easy to
generalize to other tasks, e.g., allowing us to estimate human poses in the
same framework. We show top results in all three tracks of the COCO suite of
challenges, including instance segmentation, bounding-box object detection, and
person keypoint detection. Without bells and whistles, Mask R-CNN outperforms
all existing, single-model entries on every task, including the COCO 2016
challenge winners. We hope our simple and effective approach will serve as a
solid baseline and help ease future research in instance-level recognition.
Code has been made available at: https://github.com/facebookresearch/Detectron
Kaiming He Georgia Gkioxari Piotr Dollár Ross Girshick