All models

yolov7-tiny

YOLOv7-tiny, the YOLOv7 real-time object detector designed for edge GPU.

Detection and tracking · 323 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
3.7M
Operations
323
Framework
PyTorch
Recurrent
No
Published
CVPR (arXiv 2022)
Cited by
13,190 (as of 29 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
m12253
Graph hash
0ebe3f9273b87de491db0719f76243bcf82f5593503e3e97a8962b38b934514e
Skeleton hash
433beca664c95c82732124a0470f8ccebb1abee8d2c14faec13ddfb0a10a6cb4
Architecture hash
d001e0335077697a7ea6316042f2dbeddc1c813ace92ffb2bdceee969420cdd1
Diagram SHA-256
321da0878775454c86ca9ab0da650ae7da1504fa0a3a73ec0dfc3a13e976db33
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_yolov7_tiny: build({})

What it is

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.

  • yolov7-tiny
  • yolov7_tiny
  • yolov7 tiny
  • tiny yolov7
  • yolov7
  • yolo v7
  • object detection
  • real-time object detection
  • trainable bag-of-freebies
  • real-time object detector

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}, 
}