All models

mmdet_fcos_fcos_hrnetv2p_w18_gn_head_4xb4_1x_coco

FCOS, a one-stage object detector that predicts boxes per pixel without anchor boxes.

Detection and tracking · 140 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (165 KB)

Open in a new tab

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.

At a glance

Parameters
1.2M
Operations
140
Framework
PyTorch
Recurrent
Yes
Published
2019
Source
torchvision 0.21.0
License
BSD-3-Clause
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m6575
Graph hash
01e7a1ad5f9648dc4ab830bb62bc30902c032054a0ddea85ae3a235cd5bb99f3
Skeleton hash
2163adfcbdb1010704ef8841f82ec0ea51b6409b724c24f5fa1353c1c9767550
Architecture hash
c9d0398405da13e4b9fd53f91188ec208b947b40a56765b315ae4a7efc19a4b4
Diagram SHA-256
311c11876ff43f3c9fe3be131655aa24dc748158c880529c463a832f2e3ad990
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.mmdet_wave_a:build_mmdet_wave_a: build({})

What it is

FCOS is a fully convolutional one-stage object detector that treats detection as per-pixel prediction, in the way semantic segmentation is done. Where detectors such as RetinaNet, SSD, YOLOv3 and Faster R-CNN rely on pre-defined anchor boxes, FCOS is anchor box free and proposal free, which also removes the hyper-parameters tied to anchor boxes.

At each foreground pixel the network predicts a 4D vector (l, t, r, b) that encodes the location of a bounding box. Highly overlapped boxes make it unclear which box a pixel should regress, and the paper shows that with FPN, which spreads predictions over several feature levels, this ambiguity can be largely eliminated. A single-layer branch, parallel to the classification branch, predicts the center-ness of each location, the normalized distance from that location to the center of its object. When testing, the center-ness is multiplied with the classification score, which down-weights boxes far from an object center so that the final non-maximum suppression is likely to filter them out.

On the MS-COCO benchmark, the paper reports 44.7% in AP for FCOS with ResNeXt-64x4d-101 under single-model and single-scale testing. In its ablation, the center-ness branch raises AP from 33.5% to 37.1%.

Key idea. The paper builds FCOS, a detector free of anchor boxes and proposals that predicts a box at each pixel, and reports that it surpasses previous one-stage detectors.

  • fcos
  • fully convolutional one-stage object detection
  • anchor-free detector
  • one-stage detector
  • object detection
  • center-ness
  • per-pixel prediction
  • proposal-free detector

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.