darknet_yolov4_tiny
The low-end-GPU member of Scaled-YOLOv4: 22.0% COCO AP at 443 FPS.
Detection and tracking · 118 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.
At a glance
- Parameters
- 6.1M
- Operations
- 118
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2021
- Cited by
- 1,716 (as of 16 October 2026)
- Authors
- Chien-Yao Wang, Alexey Bochkovskiy, Hong-Yuan Mark Liao
- Source
- GitHub: AlexeyAB/darknet
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m4080
- Graph hash
- cf368c2317c473e7f3f309e431284cb7880431e357a8dc548b78fb360ce702e0
- Skeleton hash
- c96d04cf1fb5c89a7d2cbef901f0e380c5a546d41085e294586d06cd34b8ddbc
- Architecture hash
- 69b2be8efaa6caca02f07c7e73d1aec7938dd15e37030895a559915cdbc6610d
- Diagram SHA-256
- b040ccaf3a7c7a3b42831be6e2d96038cb7e5569af794c18103bf85023b24db5
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
YOLOv4-tiny is the small end of Scaled-YOLOv4, a real-time object detector designed for low-end GPUs. The paper's claim is that the CSP-based YOLOv4 scales both up and down, with a scaling method that changes depth, width, resolution and also the structure of the network. It reaches 22.0% AP (42.0% AP50) on COCO at 443 FPS on an RTX 2080Ti, and 1774 FPS with TensorRT at batch size 4 in FP16.
For the tiny model the backbone is a CSPOSANet with the PCB (partial in computational block) design, with growth rate g = b/2. The channel counts per stage and the neck follow YOLOv3-tiny. Among the candidates the authors chose COSA-2x2x for the best speed/accuracy trade-off as the YOLOv4-tiny architecture. Under limited operating conditions the residual addition of the tinyCD53s alternative became the bottleneck of inference speed.
The reference implementation is a Darknet cfg file, yolov4-tiny.cfg, evaluated with the released yolov4-tiny.weights. The traced member is a PyTorch port that loads that Darknet cfg and the Darknet weights directly, with the image size configured in the cfg file. Running the Darknet evaluation reproduces 0.220 AP at IoU 0.50:0.95 on COCO.
Key idea. A scaling method for CSP-based YOLOv4 that changes structure as well as depth, width and resolution, yielding YOLOv4-tiny for low-end GPUs.
- yolov4-tiny
- yolov4 tiny
- scaled-yolov4
- scaled yolov4
- tiny yolo
- darknet
- yolov4
- real-time object detection
- coco
- cspdarknet
- low-end gpu detector
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2021scaledyolov4scalingcrossstage,
title={Scaled-YOLOv4: Scaling Cross Stage Partial Network},
author={Chien-Yao Wang and Alexey Bochkovskiy and Hong-Yuan Mark Liao},
year={2021},
eprint={2011.08036},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2011.08036},
}