
wongkinyiu_yolov7x
Detection and tracking374 ops22.2M params
YOLOv7 scaled up in depth and width by the paper's compound scaling method.
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 the scaled-up sibling of the normal-GPU YOLOv7 detector: the authors stack-scale the neck and then apply their compound scaling method to the depth and width of the whole model. The YOLOv7 paper claims the family surpasses all known object detectors in both speed and accuracy in the range from 5 FPS to 160 FPS. All of the models were trained only on MS COCO from scratch, with no other datasets or pre-trained weights.
The paper's title refers to what the authors call trainable bag-of-freebies, methods that improve detection accuracy without increasing the inference cost. One is planned re-parameterized convolution, which uses RepConv without its identity connection (RepConvN). Another is coarse-to-fine lead guided label assignment, in which the lead head's prediction guides the soft labels used to train both the auxiliary head and the lead head.
YOLOv7-X is also the model the paper uses to justify compound scaling. Because the architecture is concatenation-based, scaling up depth changes the input width of the transition layer that follows a block, so depth and width have to be considered together. In the ablation, the compound recipe scales the depth of the computational block by 1.5 times and the width of the transition block by 1.25 times. Compared with scaling width alone, that gives 0.5% more AP with fewer parameters and less computation. Apart from the tiny model, which uses leaky ReLU, the YOLOv7 models use SiLU as their activation function.
Against YOLOv5-L (r6.1), the paper reports that YOLOv7-X runs at 114 fps versus 99 fps while improving AP by 3.9%.
Key idea. YOLOv7 introduces trainable bag-of-freebies, training-time methods that improve real-time detection accuracy without increasing the inference cost. The architecture pairs the new E-ELAN block with a compound scaling rule for concatenation-based models.
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},
}