vccarvalho11 commited on
Commit
6629511
·
verified ·
1 Parent(s): a3c621b

Upload yolov8n ONNX model

Browse files
Files changed (2) hide show
  1. README.md +50 -0
  2. model.onnx +3 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: onnx
3
+ tags:
4
+ - yolov8
5
+ - object-detection
6
+ - coco
7
+ - computer-vision
8
+ - ultralytics
9
+ - onnx
10
+ - inference4j
11
+ license: agpl-3.0
12
+ pipeline_tag: object-detection
13
+ ---
14
+
15
+ # YOLOv8n — ONNX
16
+
17
+ ONNX export of [YOLOv8n](https://huggingface.co/Kalray/yolov8), the nano variant of Ultralytics YOLOv8 object detection model. Trained on COCO with 80-class output. Optimized for real-time inference.
18
+
19
+ Mirrored for use with [inference4j](https://github.com/inference4j/inference4j), an inference-only AI library for Java.
20
+
21
+ ## Original Source
22
+
23
+ - **Repository:** [Kalray (Ultralytics YOLOv8)](https://huggingface.co/Kalray/yolov8)
24
+ - **License:** agpl-3.0
25
+
26
+ ## Usage with inference4j
27
+
28
+ ```java
29
+ try (YoloV8 model = YoloV8.fromPretrained("models/yolov8n")) {
30
+ List<Detection> detections = model.detect(Path.of("street.jpg"));
31
+ detections.forEach(d -> System.out.printf("%s (%.0f%%) at [%.0f, %.0f, %.0f, %.0f]%n",
32
+ d.label(), d.confidence() * 100,
33
+ d.box().x1(), d.box().y1(), d.box().x2(), d.box().y2()));
34
+ }
35
+ ```
36
+
37
+ ## Model Details
38
+
39
+ | Property | Value |
40
+ |----------|-------|
41
+ | Architecture | YOLOv8 Nano (single-shot detector) |
42
+ | Task | Object detection (COCO 80 classes) |
43
+ | Input | `[1, 3, 640, 640]` — RGB, normalized 0-1 |
44
+ | Output | `[1, 84, 8400]` — bounding boxes + class scores |
45
+ | Post-processing | Non-Maximum Suppression (NMS) required |
46
+ | Original framework | PyTorch (Ultralytics) |
47
+
48
+ ## License
49
+
50
+ This model is licensed under the [AGPL-3.0 License](https://www.gnu.org/licenses/agpl-3.0.en.html). Original model by [Ultralytics](https://ultralytics.com/), hosted by [Kalray](https://huggingface.co/Kalray).
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65158dad735be799c2466fa15e260c09558080bd530b42a8d0c3d1b419afd8b5
3
+ size 12834838