
detectron2_retinanet_R_101_FPN_3x
Detection and tracking7 ops27.8K params
RetinaNet is a one-stage detector with an FPN backbone and separate class and box subnets, trained with focal loss.
Detection and tracking · 124 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
This model uses a RegNetX-1.6GF backbone where the paper builds on ResNet; the paper treats the backbone as an off-the-shelf convolutional network that the two subnetworks attach to.
About this model's family
RetinaNet is a one-stage object detector that its authors designed in order to test a training loss. The paper asks why one-stage detectors, which are applied over a regular, dense sampling of possible object locations, had trailed two-stage detectors in accuracy, and finds the central cause in the extreme imbalance between foreground and background examples during training. Its answer is the focal loss, a reshaped cross entropy loss that down-weights well-classified examples.
The network is a backbone plus two task-specific subnetworks. In the paper the backbone is a Feature Pyramid Network built on top of ResNet. One subnetwork classifies anchor boxes and the other regresses from anchor boxes to ground-truth object boxes. The classification subnet is a small FCN attached to each FPN level, with parameters shared across all pyramid levels, and it does not share parameters with the box regression subnet.
The paper's best model, based on a ResNet-101-FPN backbone, reached a COCO test-dev AP of 39.1 while running at 5 fps. The name comes from the detector's dense sampling of object locations in an input image.
Key idea. The paper introduces the focal loss, which down-weights well-classified examples so that a simple one-stage detector, RetinaNet, can train despite extreme foreground-background imbalance.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{lin2018focallossdenseobject,
title={Focal Loss for Dense Object Detection},
author={Tsung-Yi Lin and Priya Goyal and Ross Girshick and Kaiming He and Piotr Dollár},
year={2018},
eprint={1708.02002},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1708.02002},
}