
yolov7x
Detection and tracking374 ops22.2M params
A YOLOv7 real-time object detector scaled up in depth and width with compound scaling.
Detection and tracking · 374 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.yolov7_family:build_yolov7x: build({}) 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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}