All models

wongkinyiu_yolov7x

A YOLOv7 real-time object detector scaled up in depth and width with compound scaling.

Detection and tracking · 374 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 (29 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
22.2M
Operations
374
Framework
PyTorch
Recurrent
No
Published
CVPR (arXiv 2022)
Cited by
13,157 (as of 25 October 2026)
Authors
Chien-Yao Wang, Alexey Bochkovskiy, Hong-Yuan Mark Liao
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
m12231
Graph hash
692044607d2bc1677fe9ac8fedaceb38f348a0b0f1b096c1db201929b6c86c6e
Skeleton hash
30dd0bc0494641c61f99b9590fd539ea9954d901b333c27a2a6920f6843bc3cb
Architecture hash
6095d9f6cd806940a7e699121e1a9a4ab9b880426fff59aae1991b957bef76f3
Diagram SHA-256
ede9351508eb49deb09cfe0f3608159b789c0c5250ec17c1e8649a46b8963352
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.yolov7_family:build_yolov7x: build({})

What it is

YOLOv7-X is a scaled-up version of the YOLOv7 real-time object detector. The authors obtain it from YOLOv7 by stack scaling on the neck and then scaling up the depth and width of the entire model with their compound scaling method. The compound scaling method is made for concatenation-based models: when the depth of a computational block is scaled, the change in that block's output channels is calculated, and the transition layers are width-scaled by the same amount.

The paper calls its training methods a trainable bag-of-freebies: modules and optimization methods that raise the training cost to improve detection accuracy without increasing the inference cost. One of them is planned re-parameterized convolution, designed with RepConv without the identity connection, which the paper calls RepConvN. Another is a label assignment in which the predictions of the lead head guide the generation of coarse-to-fine labels, used to train an auxiliary head and the lead head.

All models in the paper were trained from scratch on the Microsoft COCO dataset, without pre-trained models. The paper reports that on COCO YOLOv7-X, with an inference speed of 114 fps, improves AP by 3.9% over YOLOv5-L (r6.1), which runs at 99 fps. Compared with YOLOv5-X (r6.1), it reports 22% fewer parameters and 8% less computation with AP improved by 2.2%.

Key idea. YOLOv7-X scales up YOLOv7 by stack scaling the neck and applying the paper's compound scaling method to the depth and width of the entire model.

  • yolov7-x
  • yolov7x
  • yolov7 x
  • yolo
  • real-time object detection
  • object detector
  • compound scaling
  • trainable bag-of-freebies
  • wongkinyiu yolov7

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

Cite the paper

@misc{wang2022yolov7trainablebagoffreebiessets,
      title={YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors}, 
      author={Chien-Yao Wang and Alexey Bochkovskiy and Hong-Yuan Mark Liao},
      year={2022},
      eprint={2207.02696},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2207.02696}, 
}