All models

megvii_yolox_tiny

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

Detection and tracking · 335 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
5.1M
Operations
335
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
m11973
Graph hash
b8a13493f8543559fd4c3b57b44b876b98d05841a46fc75c2c9f76bc78646c4e
Skeleton hash
07c96a52f97123729544db1c6846f6cd7243e4d499f517f73b10cde53f17e76b
Architecture hash
f825a8fc1b4a697b4226cb22e616f57fae94730f8e4be0fa829c17b14d0e0bbb
Diagram SHA-256
537427d8e08c8d33babd21ca7a9a3f68641f79da297f924b5b2791b2221b7883
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-Tiny and YOLOX-Nano are the lightweight models, compared in the paper at 416 × 416 resolution against YOLOv4-Tiny and NanoDet.

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}, 
}