All models

yolov7-e6

YOLOv7-E6, a real-time object detector scaled up from the cloud GPU model YOLOv7-W6.

Detection and tracking · 592 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 (39 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
45.4M
Operations
592
Framework
PyTorch
Recurrent
No
Published
CVPR (arXiv 2022)
Cited by
13,170 (as of 27 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
m12251
Graph hash
ed6aee6f7cf018b7916ebbf1847df14d2faf25a8d02a87ced9b477a988e3a736
Skeleton hash
f0ffd0c1b481684bbde133adab8653c737921077dc077a7ba8d96c385c5f511a
Architecture hash
dd1825eef285375bcd20000ddb901a83e0a39ada8fef05a2ad8f2256490b647c
Diagram SHA-256
06c0bc36964821e119f78657f5e1046a0abe3cf277d39bc6af33064dec1d4235
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_e6: build({})

What it is

YOLOv7-E6 is a real-time object detector from the YOLOv7 paper, obtained by scaling the paper's basic cloud GPU model, YOLOv7-W6, with its compound scaling method. In that method, scaling the depth factor of a computational block also changes its output channel, and the transition layers are scaled in width by the same amount. 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-E6 at 56 FPS on a V100 GPU with 55.9% AP. Against YOLOv5-X6 (r6.1) it reports a 0.9% AP gain with 45% less parameters, 63% less computation and an inference speed increased by 47%.

Key idea. The YOLOv7 paper designs trainable bag-of-freebies methods that improve real-time detection accuracy without increasing the inference cost.

  • yolov7-e6
  • yolov7_e6
  • yolov7 e6
  • 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}, 
}