Instructions to use occurra/object_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use occurra/object_detection with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Initial upload: YOLOv11 ONNX (nano + small × {apple,fp16,fp8,int8} × {640x640,640x480})
Browse files- README.md +64 -0
- yolo11n_apple_640x640.onnx +3 -0
- yolo11n_fp16_640x480.onnx +3 -0
- yolo11n_fp16_640x640.onnx +3 -0
- yolo11n_fp8_640x480.onnx +3 -0
- yolo11n_fp8_640x640.onnx +3 -0
- yolo11n_int8_640x480.onnx +3 -0
- yolo11n_int8_640x640.onnx +3 -0
- yolo11s_apple_640x640.onnx +3 -0
- yolo11s_fp16_640x480.onnx +3 -0
- yolo11s_fp16_640x640.onnx +3 -0
- yolo11s_fp8_640x480.onnx +3 -0
- yolo11s_fp8_640x640.onnx +3 -0
- yolo11s_int8_640x480.onnx +3 -0
- yolo11s_int8_640x640.onnx +3 -0
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: agpl-3.0
|
| 3 |
+
library_name: onnx
|
| 4 |
+
tags:
|
| 5 |
+
- yolo
|
| 6 |
+
- yolov11
|
| 7 |
+
- object-detection
|
| 8 |
+
- onnx
|
| 9 |
+
- tensorrt
|
| 10 |
+
pipeline_tag: object-detection
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# occurra/object_detection
|
| 14 |
+
|
| 15 |
+
ONNX exports of [Ultralytics YOLOv11](https://github.com/ultralytics/ultralytics)
|
| 16 |
+
in the configurations the occurra `object_detection` agent ships with.
|
| 17 |
+
|
| 18 |
+
Two model sizes (nano `n`, small `s`), four precision variants, and two
|
| 19 |
+
input resolutions. All files are self-contained (no external-data
|
| 20 |
+
sidecars).
|
| 21 |
+
|
| 22 |
+
## Filename convention
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
yolo11{n,s}_{apple,fp16,fp8,int8}_{640x640,640x480}.onnx
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
| Token | Meaning |
|
| 29 |
+
| ----- | ------- |
|
| 30 |
+
| `n` / `s` | YOLOv11 nano (~5 MB) or small (~19 MB) |
|
| 31 |
+
| `apple` | FP16, NMS-free, batch=1, static — CoreML / Apple ANE friendly. uint8 input. |
|
| 32 |
+
| `fp16` | FP16 weights, NMS embedded. Default for NVIDIA `TensorRT` EP. |
|
| 33 |
+
| `fp8` | FP8 quantized via TensorRT QDQ. Smallest VRAM footprint on Blackwell / Hopper. |
|
| 34 |
+
| `int8` | INT8 quantized with QDQ nodes embedded in the graph. No sidecar calibration cache needed. |
|
| 35 |
+
| `640x640` | Square input — used on Apple (`apple` variant) and as the upstream default. |
|
| 36 |
+
| `640x480` | 4:3 input — ~25% fewer FLOPs than 640×640 on cameras with 4:3 aspect, measurably faster on NVIDIA TensorRT. |
|
| 37 |
+
|
| 38 |
+
The `object_detection` agent reads the input shape directly from the
|
| 39 |
+
loaded ONNX (`graph.input[0].type`) — no sidecar config, the file name
|
| 40 |
+
is informational.
|
| 41 |
+
|
| 42 |
+
## Which file to pick
|
| 43 |
+
|
| 44 |
+
| Hardware | Recommended |
|
| 45 |
+
| -------- | ----------- |
|
| 46 |
+
| Apple Silicon (CoreML / ANE) | `yolo11n_apple_640x640.onnx` |
|
| 47 |
+
| NVIDIA RTX 4000+ / Blackwell | `yolo11n_fp8_640x480.onnx` |
|
| 48 |
+
| NVIDIA older (no FP8) | `yolo11n_int8_640x480.onnx` or `yolo11n_fp16_640x480.onnx` |
|
| 49 |
+
| Higher accuracy (any NVIDIA) | swap the `n` for `s` (3–4× slower, marginally better mAP) |
|
| 50 |
+
|
| 51 |
+
## Source
|
| 52 |
+
|
| 53 |
+
Trained Ultralytics checkpoints (`yolo11n.pt`, `yolo11s.pt`) are
|
| 54 |
+
downloaded from Ultralytics' release feed and re-exported via the
|
| 55 |
+
`occurra` toolbox's
|
| 56 |
+
`ai_agent_toolbox/agents/python/object_detection/scripts/main.py`
|
| 57 |
+
(NMS-free for Apple, with-NMS for NVIDIA; FP8/INT8 use TensorRT QDQ).
|
| 58 |
+
|
| 59 |
+
## License
|
| 60 |
+
|
| 61 |
+
The model weights inherit Ultralytics YOLOv11's
|
| 62 |
+
[AGPL-3.0](https://github.com/ultralytics/ultralytics/blob/main/LICENSE)
|
| 63 |
+
license. Commercial use requires a separate enterprise license from
|
| 64 |
+
Ultralytics — the ONNX export does not change that.
|
yolo11n_apple_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f59a731c39036c78ffb669f641bc9e3589d74fefef9563b6bd1dc30e6920f430
|
| 3 |
+
size 5425216
|
yolo11n_fp16_640x480.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d6efd5e6764d9dcc5cf485c2122e89d3018b3647c18243962c9294b0da8d7a2
|
| 3 |
+
size 5800257
|
yolo11n_fp16_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:038a188696e176e2ffe4415e6ce53d2e2adfaca3000858e9d656c5a0efd02cd5
|
| 3 |
+
size 5672859
|
yolo11n_fp8_640x480.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c40fbe93630cf98959859f296c10c9b63dd76b436f58bc2c19e9d3d5147a0cfc
|
| 3 |
+
size 5979316
|
yolo11n_fp8_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4b03b9fcc12b1d3fb67d2824ce19f47745081d84cf382bcfc7bd22c7e98fa55
|
| 3 |
+
size 5939030
|
yolo11n_int8_640x480.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ec5aee6e3ef4c97f4440e845c2b5c0a8145eace45d0489e8d2d07aa0099f6f7
|
| 3 |
+
size 6014645
|
yolo11n_int8_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e845f9b2e5e895a21fd762a170fbd351abcd5ec6f1978ddca4a5eaa5729ec835
|
| 3 |
+
size 5973255
|
yolo11s_apple_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cec28ac75a29bfd0fa5323e65f18c0b8d1ba5f40dbe36382518e902dd619a4a7
|
| 3 |
+
size 19080610
|
yolo11s_fp16_640x480.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3c987980b72792279eda4d9282e2a34f86ff8f25c442fc774753228a2bc5505
|
| 3 |
+
size 20235003
|
yolo11s_fp16_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16c7fc23dfd0d918e0d8ff760c6f37e1ed4846a894257e2c78ef8ea9a4af41ed
|
| 3 |
+
size 19651893
|
yolo11s_fp8_640x480.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0adf682206bbb81787fae4915c7abe8756f08cd0042743978243e32e34d4001
|
| 3 |
+
size 19902422
|
yolo11s_fp8_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bb799ddcc430241ddb940f4f2f80e2fcfa7de254a6a1e50cf23e381f571cd2f
|
| 3 |
+
size 19721102
|
yolo11s_int8_640x480.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9927e05e5e5a40e5cde60048584f7322fec87ff824e3932127d8a4a5e34e3e01
|
| 3 |
+
size 19942449
|
yolo11s_int8_640x640.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0586e7acdcbd5611fdea722f3fb3e9c8e7914b063fc23e9e9b452e5822c174bf
|
| 3 |
+
size 19720895
|