All models

wongkinyiu_yolov7_tiny

The edge-GPU version of the YOLOv7 real-time object detector, using leaky ReLU activations.

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,177 (as of 28 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
m12229
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 of the YOLOv7 real-time object detectors designed for edge GPU, next to YOLOv7 for a normal GPU and YOLOv7-W6 for cloud GPU. Because it is aimed at edge GPUs it uses leaky ReLU as its activation function, while the other models in the paper use SiLU.

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, compared with YOLOv4-tiny-3l, YOLOv7-tiny reduces the number of parameters by 39% and the amount of computation by 49% while keeping the same AP. Against YOLOv4-tiny at an input size of 416, the paper's results table lists 35.2% AP for YOLOv7-tiny and 24.9% for YOLOv4-tiny.

Key idea. YOLOv7-tiny is the edge-GPU basic model of the YOLOv7 paper, which reports 39% fewer parameters and 49% less computation than YOLOv4-tiny-3l at the same AP.

  • yolov7-tiny
  • yolov7 tiny
  • yolov7tiny
  • yolo
  • real-time object detection
  • edge gpu object detector
  • lightweight object detector
  • trainable bag-of-freebies
  • wongkinyiu yolov7

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