yolov2_darknet19
YOLOv2 on its Darknet-19 backbone, predicting 80 COCO classes with five anchors per grid cell.
Detection and tracking · 100 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
- 51M
- Operations
- 100
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2017
- Cited by
- 488 (as of 17 October 2026)
- Authors
- Joseph Redmon, Ali Farhadi
- Source
- GitHub: pjreddie/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
- m11441
- Graph hash
- d716ccd4bca9abb579fa190a005ae208577d166d575100418c8205f7b08edf7c
- Skeleton hash
- 49fdc795629728df3d6d3b477b04c3008f75b5ae64a6d5b4a5777987f786f975
- Architecture hash
- c78bbc998bf3924f6f4449bbea079626893b7adc4c83b5992840c5c3c92b4385
- Diagram SHA-256
- 9e53dc4c85bc47aa22adddf27beeb167a8fa54b1627c49317f20bd0653087503
- 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
YOLOv2 aims to detect objects in real time, and this captured build detects 80 different classes from the COCO datasets. It was introduced in the YOLO9000 paper as the improved model, state-of-the-art on standard detection tasks like PASCAL VOC and COCO. At 40 FPS, YOLOv2 gets 78.6 mAP, outperforming state-of-the-art methods like Faster RCNN with ResNet and SSD while still running significantly faster.
The backbone is Darknet-19, a new classification model the authors proposed as the base of YOLOv2. Similar to the VGG models, it uses mostly 3 × 3 filters and doubles the number of channels after every pooling step. The final model, called Darknet-19, has 19 convolutional layers and 5 maxpooling layers. Darknet-19 only requires 5.58 billion operations to process an image yet achieves 72.9% top-1 accuracy and 91.2% top-5 accuracy on ImageNet. For detection, the last convolutional layer is removed and replaced by three 3 × 3 convolutional layers with 1024 filters each, followed by a final 1 × 1 convolutional layer with the outputs needed for detection. A passthrough layer brings features from an earlier layer at 26 × 26 resolution so the detector has access to fine grained features.
In the captured member each grid cell corresponds to 5 anchors, made up of the 5 bounding boxes predicted by the grid cell and the 80 classes that describe each bounding box. It was converted to ONNX from the PyTorch version of YOLOv2 in the PyTorch-Yolo2 project. The YOLOv2 model was trained on the COCO datasets and was sourced from the original yolov2-voc .cfg and .weights files. A separate saved PyTorch implementation of YOLOv2 is mainly based on darkflow and darknet. That project reports that VOC07 test mAP is about 0.71. Darknet, the original home of these weights, is an open source neural network framework written in C and CUDA.
Key idea. Darknet-19, a backbone with 19 convolutional layers and 5 maxpooling layers, as the base of a real-time anchor-box detector.
- YOLOv2
- YOLO9000
- Darknet-19
- yolov2_darknet19
- yolo v2
- real-time object detection
- COCO detector
- darknet
- pytorch-yolo2
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{redmon2016yolo9000betterfasterstronger,
title={YOLO9000: Better, Faster, Stronger},
author={Joseph Redmon and Ali Farhadi},
year={2016},
eprint={1612.08242},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1612.08242},
}