All models

megvii_yolox_m

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

Detection and tracking · 438 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
25.3M
Operations
438
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
m11970
Graph hash
95e3139cf6da3b8237bd5705bdfc8a640cd1b6b1677e57d91ee23ef9fa9674c9
Skeleton hash
0db84c427ae89e02bba0a40d904df7a320e805ff1549c28ded7edc0281643bb4
Architecture hash
32ca6814a41ac5a530604215f1f1fc69baad9ce9efa35e0e77e1e5a328402268
Diagram SHA-256
fd8d56dd2922032fa513f21012aeb2f55c8fe1a42c2c83c42141bb150e376d40
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

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