sebastientaylor commited on
Commit
fcec96d
·
verified ·
1 Parent(s): 33afed7

Update model card for yolov8-det

Browse files
Files changed (1) hide show
  1. README.md +23 -78
README.md CHANGED
@@ -80,13 +80,11 @@ Full pipeline timing: pre-processing + inference + post-processing.
80
 
81
  ## Downloads
82
 
83
- ### Universal Formats
 
84
 
85
- <details>
86
- <summary><strong>ONNX FP32</strong> — Any platform with ONNX Runtime</summary>
87
-
88
- | Size | File | Download |
89
- |------|------|----------|
90
  | Nano | `yolov8n-det-coco.onnx` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/onnx/yolov8n-det-coco.onnx) |
91
  | Small | `yolov8s-det-coco.onnx` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/onnx/yolov8s-det-coco.onnx) |
92
  | Medium | `yolov8m-det-coco.onnx` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/onnx/yolov8m-det-coco.onnx) |
@@ -96,84 +94,31 @@ Full pipeline timing: pre-processing + inference + post-processing.
96
  </details>
97
 
98
  <details>
99
- <summary><strong>TFLite INT8</strong> — Any platform with TFLite (i.MX 8M Plus uses VX delegate)</summary>
100
-
101
- | Size | File | Download |
102
- |------|------|----------|
103
- | Nano | `yolov8n-det-coco-int8.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8n-det-coco-int8.tflite) |
104
- | Small | `yolov8s-det-coco-int8.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8s-det-coco-int8.tflite) |
105
- | Medium | `yolov8m-det-coco-int8.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8m-det-coco-int8.tflite) |
106
- | Large | `yolov8l-det-coco-int8.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8l-det-coco-int8.tflite) |
107
- | XLarge | `yolov8x-det-coco-int8.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8x-det-coco-int8.tflite) |
108
-
109
- </details>
110
-
111
- ### Platform-Specific
112
-
113
- <details>
114
- <summary><strong>NXP i.MX 93</strong> — Ethos-U NPU via ARM VELA compiler.</summary>
115
-
116
- | Size | File | Download |
117
- |------|------|----------|
118
- | Nano | `yolov8n-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx93/yolov8n-det-coco.tflite) |
119
- | Small | `yolov8s-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx93/yolov8s-det-coco.tflite) |
120
- | Medium | `yolov8m-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx93/yolov8m-det-coco.tflite) |
121
- | Large | `yolov8l-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx93/yolov8l-det-coco.tflite) |
122
- | XLarge | `yolov8x-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx93/yolov8x-det-coco.tflite) |
123
-
124
- </details>
125
-
126
- <details>
127
- <summary><strong>NXP i.MX 95</strong> — eIQ Neutron NPU optimized.</summary>
128
 
129
- | Size | File | Download |
130
- |------|------|----------|
131
- | Nano | `yolov8n-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx95/yolov8n-det-coco.tflite) |
132
- | Small | `yolov8s-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx95/yolov8s-det-coco.tflite) |
133
- | Medium | `yolov8m-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx95/yolov8m-det-coco.tflite) |
134
- | Large | `yolov8l-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx95/yolov8l-det-coco.tflite) |
135
- | XLarge | `yolov8x-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx95/yolov8x-det-coco.tflite) |
136
 
137
  </details>
138
 
139
  <details>
140
- <summary><strong>NXP Ara240</strong> — Kinara DVM compiled model.</summary>
141
 
142
- | Size | File | Download |
143
- |------|------|----------|
144
- | Nano | `yolov8n-det-coco.dvm` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/ara240/yolov8n-det-coco.dvm) |
145
- | Small | `yolov8s-det-coco.dvm` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/ara240/yolov8s-det-coco.dvm) |
146
- | Medium | `yolov8m-det-coco.dvm` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/ara240/yolov8m-det-coco.dvm) |
147
- | Large | `yolov8l-det-coco.dvm` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/ara240/yolov8l-det-coco.dvm) |
148
- | XLarge | `yolov8x-det-coco.dvm` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/ara240/yolov8x-det-coco.dvm) |
149
 
150
  </details>
151
 
152
- <details>
153
- <summary><strong>RPi5 + Hailo-8/8L</strong> — Hailo-8L (13 TOPS) and Hailo-8 (26 TOPS).</summary>
154
-
155
- | Size | File | Download |
156
- |------|------|----------|
157
- | Nano | `yolov8n-det-coco.hef` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/hailo/yolov8n-det-coco.hef) |
158
- | Small | `yolov8s-det-coco.hef` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/hailo/yolov8s-det-coco.hef) |
159
- | Medium | `yolov8m-det-coco.hef` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/hailo/yolov8m-det-coco.hef) |
160
- | Large | `yolov8l-det-coco.hef` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/hailo/yolov8l-det-coco.hef) |
161
- | XLarge | `yolov8x-det-coco.hef` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/hailo/yolov8x-det-coco.hef) |
162
-
163
- </details>
164
-
165
- <details>
166
- <summary><strong>NVIDIA Jetson</strong> — Jetson FP16 and INT8 engines.</summary>
167
-
168
- | Size | File | Download |
169
- |------|------|----------|
170
- | Nano | `yolov8n-det-coco.engine` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/jetson/yolov8n-det-coco.engine) |
171
- | Small | `yolov8s-det-coco.engine` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/jetson/yolov8s-det-coco.engine) |
172
- | Medium | `yolov8m-det-coco.engine` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/jetson/yolov8m-det-coco.engine) |
173
- | Large | `yolov8l-det-coco.engine` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/jetson/yolov8l-det-coco.engine) |
174
- | XLarge | `yolov8x-det-coco.engine` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/jetson/yolov8x-det-coco.engine) |
175
-
176
- </details>
177
 
178
 
179
  ---
@@ -189,7 +134,7 @@ gst-launch-1.0 \
189
  v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! \
190
  edgefirstcameraadaptor ! \
191
  tensor_filter framework=tensorflow-lite \
192
- model=yolov8n-det-coco-int8.tflite \
193
  custom=Delegate:External,ExtDelegateLib:libvx_delegate.so ! \
194
  edgefirstdetdecoder ! edgefirstoverlay ! waylandsink
195
  ```
@@ -199,7 +144,7 @@ gst-launch-1.0 \
199
  ```bash
200
  gst-launch-1.0 \
201
  v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! \
202
- hailonet hef-path=yolov8n-det-coco-h8l.hef ! \
203
  hailofilter function-name=yolov8_nms ! \
204
  hailooverlay ! videoconvert ! autovideosink
205
  ```
@@ -225,7 +170,7 @@ gst-launch-1.0 \
225
  from edgefirst.hal import Model, TensorImage
226
 
227
  # Load model — metadata (labels, decoder config) is embedded in the file
228
- model = Model("yolov8n-det-coco-int8.tflite")
229
 
230
  # Run inference on an image
231
  image = TensorImage.from_file("image.jpg")
 
80
 
81
  ## Downloads
82
 
83
+ <details open>
84
+ <summary><strong>ONNX FP32</strong> — Any platform with ONNX Runtime.</summary>
85
 
86
+ | Size | File | Status |
87
+ |------|------|--------|
 
 
 
88
  | Nano | `yolov8n-det-coco.onnx` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/onnx/yolov8n-det-coco.onnx) |
89
  | Small | `yolov8s-det-coco.onnx` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/onnx/yolov8s-det-coco.onnx) |
90
  | Medium | `yolov8m-det-coco.onnx` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/onnx/yolov8m-det-coco.onnx) |
 
94
  </details>
95
 
96
  <details>
97
+ <summary><strong>TFLite INT8</strong> — CPU or NPU via runtime delegate (i.MX 8M Plus VX Delegate).</summary>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
 
99
+ | Size | File | Status |
100
+ |------|------|--------|
101
+ | Nano | `yolov8n-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8n-det-coco.tflite) |
102
+ | Small | `yolov8s-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8s-det-coco.tflite) |
103
+ | Medium | `yolov8m-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8m-det-coco.tflite) |
104
+ | Large | `yolov8l-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8l-det-coco.tflite) |
105
+ | XLarge | `yolov8x-det-coco.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/tflite/yolov8x-det-coco.tflite) |
106
 
107
  </details>
108
 
109
  <details>
110
+ <summary><strong>NXP i.MX 95 (eIQ Neutron)</strong> — eIQ Neutron NPU optimized.</summary>
111
 
112
+ | Size | File | Status |
113
+ |------|------|--------|
114
+ | Nano | `yolov8n-det-coco.imx95.tflite` | [Download](https://huggingface.co/EdgeFirst/yolov8-det/resolve/main/imx95/yolov8n-det-coco.imx95.tflite) |
115
+ | Small | `yolov8s-det-coco.imx95.tflite` | Coming Soon |
116
+ | Medium | `yolov8m-det-coco.imx95.tflite` | Coming Soon |
117
+ | Large | `yolov8l-det-coco.imx95.tflite` | Coming Soon |
118
+ | XLarge | `yolov8x-det-coco.imx95.tflite` | Coming Soon |
119
 
120
  </details>
121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
 
123
 
124
  ---
 
134
  v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! \
135
  edgefirstcameraadaptor ! \
136
  tensor_filter framework=tensorflow-lite \
137
+ model=yolov8n-det-coco.tflite \
138
  custom=Delegate:External,ExtDelegateLib:libvx_delegate.so ! \
139
  edgefirstdetdecoder ! edgefirstoverlay ! waylandsink
140
  ```
 
144
  ```bash
145
  gst-launch-1.0 \
146
  v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! \
147
+ hailonet hef-path=yolov8n-det-coco.hailo8l.hef ! \
148
  hailofilter function-name=yolov8_nms ! \
149
  hailooverlay ! videoconvert ! autovideosink
150
  ```
 
170
  from edgefirst.hal import Model, TensorImage
171
 
172
  # Load model — metadata (labels, decoder config) is embedded in the file
173
+ model = Model("yolov8n-det-coco.tflite")
174
 
175
  # Run inference on an image
176
  image = TensorImage.from_file("image.jpg")