ONNX Model Zoo

onnxmodelzoo/yolov2-coco-9

By onnxmodelzoo · ↓ 0 · ♥ 0 · Updated 2025-09-30

What's in this repo

This page lists the files in onnxmodelzoo/yolov2-coco-9, including yolov2-coco-9.onnx.

  • 1 ONNX models (.onnx files)
  • 3 files, including 1 .md, 1 .onnx
  • Last updated 2025-09-30

ONNX files

File Size Download
yolov2-coco-9.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README


language: en license: apache-2.0 model_name: yolov2-coco-9.onnx tags:

  • validated
  • vision
  • object_detection_segmentation
  • yolov2-coco

YOLOv2-COCO

Description

This model aims to detect objects in real time. It detects 80 different classes from the COCO Datasets. For information on network architecture, see the author's page and white paper.

Model

The model was converted to ONNX from PyTorch version of YOLOv2 using PyTorch-Yolo2. The output is fully verified by generating bounding boxes under PyTorch and onnxruntime.

Model Download Download (with sample test data) ONNX version Opset version
YOLOv2 203.9 MB 182.6 MB 1.5 9

Inference

Input to model

shape (1x3x416x416)

Output of model

shape (1x425x13x13)

Postprocessing steps

The output is a (1x425x13x13) tensor where 13x13 is the number of grid cells that the image gets divided into. 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 (5 x (80 classes + 5) = 425). For more information on how to derive the final bounding boxes and their corresponding confidence scores, refer to this post and PyTorch source code.

Dataset (Train and validation)

The YOLOv2 model was trained on the COCO datasets and was sourced from the original yolov2-voc .cfg and .weights files from link.

References

"YOLO9000: Better, Faster, Stronger" arXiv:1612.08242

License

MIT License

Model info

onnx validated vision object_detection_segmentation yolov2-coco en arxiv:1612.08242 license:apache-2.0 region:us
↓ 0 ♥ 0

Created: 2025-09-30

Updated: 2025-09-30

View on Hugging Face

Files (3)

.gitattributes
README.md
yolov2-coco-9.onnx ONNX

Related models