
wongkinyiu_yolov7_tiny
Detection and tracking323 ops3.7M params
YOLOv7-tiny, the YOLOv7 real-time object detector designed for edge GPU.
Detection and tracking · 323 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_tiny: build({}) YOLOv7-tiny is the basic model that the YOLOv7 paper designs for edge GPU, next to YOLOv7 for normal GPU and YOLOv7-W6 for cloud GPU. Because it is an edge GPU-oriented architecture, it uses leaky ReLU as its activation function, while the other models use SiLU. 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. The paper reports YOLOv7-tiny at 35.2% AP and 0.4 ms, which it describes as 25% faster and 0.2% AP higher than meituan/YOLOv6-n under identical conditions on a V100 GPU.
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},
}