All models

megvii_yolox_nano

Anchor-free YOLO with a decoupled head and SimOTA label assignment, scaled from Nano to X.

Detection and tracking · 455 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 (33 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

Family
YOLOX
Parameters
912.2K
Operations
455
Framework
PyTorch
Recurrent
No
Published
2021
Cited by
7,918 (as of 22 November 2026)
Authors
Zheng Ge, Songtao Liu, Feng Wang and others
License
Apache-2.0
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
m11971
Graph hash
1220baf5b382538deb49102e0952376c35aecc787f59cf134dca2114a4e6b2df
Skeleton hash
52a14a5d5c64557f6ce07dd1ea8d48aa0a41c8b2326d21dd0c465893f3669f09
Architecture hash
8dddbe3ebc5dfc438d233b1dad39587948245ff1181584612493c8d8e7542c2a
Diagram SHA-256
4b4162762b5b713089d1e43c8dcbc805eda10b3b55fffc641fdcdb64309d5574
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

YOLOX-Nano is built with depthwise convolution for mobile devices and has only 0.91M parameters and 1.08G FLOPs.

About this model's family

YOLOX is an anchor-free version of YOLO, with a simpler design but better performance, and it aims to bridge the gap between research and industrial communities. The authors describe it as a set of experienced improvements to the YOLO series that together form a new high-performance detector. Considering YOLOv4 and YOLOv5 a little over-optimized for the anchor-based pipeline, they chose YOLOv3 as their start point.

The first change is a decoupled head: a 1 × 1 conv reduces the channel dimension, then two parallel branches of two 3 × 3 convs handle classification and regression separately. Going anchor-free, each location predicts a single box as four values: two offsets from the grid cell's top-left corner plus height and width. Label assignment uses SimOTA, a dynamic top-k simplification of the authors' optimal-transport method OTA that gives an approximate solution without the costly solver. With those enhancements the YOLOv3 baseline sits at 38.5% AP on COCO val, and the paper's roadmap table tracks each addition from there. SimOTA alone takes the detector from 45.0% AP to 47.3% AP, 3.0% above ultralytics-YOLOv3. A quirk worth knowing: after adding strong augmentation the authors found ImageNet pre-training no longer helped, so every model is trained from scratch.

For the S, M, L and X models the authors adopt YOLOv5's backbone, with its modified CSPNet, SiLU activation and PAN head, and follow its scaling rule. YOLOX-L reaches 50.0% AP on COCO at 68.9 FPS on a Tesla V100, exceeding YOLOv5-L by 1.8% AP. At the small end, YOLOX-Nano is built with depthwise convolution for mobile devices and has only 0.91M parameters and 1.08G FLOPs. A single YOLOX-L model also won 1st place in the Streaming Perception Challenge at the CVPR 2021 Workshop on Autonomous Driving.

Key idea. YOLOX brings anchor-free prediction, a decoupled head and the SimOTA label assignment to the YOLO series, achieving a better speed-accuracy trade-off than other counterparts across all model sizes.

  • yolox
  • yolo
  • yolox-s
  • yolox-m
  • yolox-l
  • yolox-x
  • yolox-nano
  • yolox-tiny
  • yolox-darknet53
  • anchor-free detector
  • object detection
  • real-time detection
  • simota
  • decoupled head
  • megvii
  • bytetrack
  • coco detector
  • yolov3
  • yolov5

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

Cite the paper

@misc{ge2021yoloxexceedingyoloseries,
      title={YOLOX: Exceeding YOLO Series in 2021}, 
      author={Zheng Ge and Songtao Liu and Feng Wang and Zeming Li and Jian Sun},
      year={2021},
      eprint={2107.08430},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2107.08430}, 
}