
wongkinyiu_yolov7
Detection and tracking374 ops14.2M params
The basic YOLOv7 real-time object detector, designed for a normal GPU.
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_yolov7: build({}) YOLOv7 is a real-time object detector, and this model is the basic version that the paper designs for a normal GPU, next to YOLOv7-tiny for edge GPU and YOLOv7-W6 for cloud GPU. The paper works on the training process as well as the architecture. It calls its modules and optimization methods a trainable bag-of-freebies: they may raise the training cost to improve detection accuracy, but do not increase the inference cost.
On the architecture side the paper proposes Extended-ELAN (E-ELAN), which uses group convolution to expand the channel and cardinality of computational blocks and then shuffles and merges the feature maps, without destroying the original gradient path. For re-parameterized convolution it finds that the identity connection in RepConv destroys the residual in ResNet and the concatenation in DenseNet, so it designs with RepConv without identity connection (RepConvN). During training an auxiliary head assists the lead head, the head responsible for the final output, and the lead head prediction guides the labels that both heads learn from.
The experiments use the Microsoft COCO dataset, and the paper states that YOLOv7 is trained from scratch without any other datasets or pre-trained weights. The paper reports 51.4% AP for YOLOv7 at a frame rate of 161 fps, where PPYOLOE-L with the same AP has only 78 fps.
Key idea. The YOLOv7 paper designs trainable bag-of-freebies methods that improve real-time detection accuracy without increasing the inference cost.
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},
}