ONNX Model Zoo

inference4j/yolov8n

By inference4j · ↓ 0 · ♥ 0 · Updated 2026-02-13

What's in this repo

This page lists the files in inference4j/yolov8n, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 3 files, including 1 .md, 1 .onnx
  • Last updated 2026-02-13

ONNX files

File Size Download
model.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

YOLOv8n — ONNX

ONNX export of YOLOv8n, the nano variant of Ultralytics YOLOv8 object detection model. Trained on COCO with 80-class output. Optimized for real-time inference.

Mirrored for use with inference4j, an inference-only AI library for Java.

Original Source

Usage with inference4j

try (YoloV8 model = YoloV8.fromPretrained("models/yolov8n")) {
    List<Detection> detections = model.detect(Path.of("street.jpg"));
    detections.forEach(d -> System.out.printf("%s (%.0f%%) at [%.0f, %.0f, %.0f, %.0f]%n",
        d.label(), d.confidence() * 100,
        d.box().x1(), d.box().y1(), d.box().x2(), d.box().y2()));
}

Model Details

Property Value
Architecture YOLOv8 Nano (single-shot detector)
Task Object detection (COCO 80 classes)
Input [1, 3, 640, 640] — RGB, normalized 0-1
Output [1, 84, 8400] — bounding boxes + class scores
Post-processing Non-Maximum Suppression (NMS) required
Original framework PyTorch (Ultralytics)

License

This model is licensed under the AGPL-3.0 License. Original model by Ultralytics, hosted by Kalray.

Model info

onnx yolov8 object-detection coco computer-vision ultralytics inference4j license:agpl-3.0 region:us
↓ 0 ♥ 0

Created: 2026-02-13

Updated: 2026-02-13

View on Hugging Face

Files (3)

.gitattributes
README.md
model.onnx ONNX

Related models