Skip to content

Commit bdb530e

Browse files
committed
Fix YOLOv8/YOLOv11 export docs
1 parent 1ae02f8 commit bdb530e

File tree

4 files changed

+55
-10
lines changed

4 files changed

+55
-10
lines changed

docs/features/object_detection.mdx

+22-4
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,21 @@ You need to define the following config variables to enable object detection wit
134134
format=onnx \
135135
simplify=True
136136

137-
# Export with FP16 precision (CUDA-compatible GPU is required)
137+
# Export with FP16 precision using CUDA-compatible GPU
138+
yolo export \
139+
model=yolov8n.pt \
140+
format=onnx \
141+
simplify=True \
142+
half=True \
143+
device=0
144+
145+
# Export with FP16 precision using Apple Silicon GPU
138146
yolo export \
139147
model=yolov8n.pt \
140148
format=onnx \
141149
simplify=True \
142-
half=True
150+
half=True \
151+
device=mps
143152
```
144153
</details>
145154
* `yolov9`: [YOLOv9](https://github.com/WongKinYiu/yolov9) model
@@ -199,12 +208,21 @@ You need to define the following config variables to enable object detection wit
199208
format=onnx \
200209
simplify=True
201210

202-
# Export with FP16 precision (CUDA-compatible GPU is required)
211+
# Export with FP16 precision using CUDA-compatible GPU
212+
yolo export \
213+
model=yolov11n.pt \
214+
format=onnx \
215+
simplify=True \
216+
half=True \
217+
device=0
218+
219+
# Export with FP16 precision using Apple Silicon GPU
203220
yolo export \
204221
model=yolov11n.pt \
205222
format=onnx \
206223
simplify=True \
207-
half=True
224+
half=True \
225+
device=mps
208226
```
209227
</details>
210228
* `yolo-nas`: [YOLO-NAS](https://github.com/Deci-AI/super-gradients) model

versioned_docs/version-3.25.x/features/object_detection.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,21 @@ You need to define the following config variables to enable object detection wit
134134
format=onnx \
135135
simplify=True
136136

137-
# Export with FP16 precision (CUDA-compatible GPU is required)
137+
# Export with FP16 precision using CUDA-compatible GPU
138+
yolo export \
139+
model=yolov8n.pt \
140+
format=onnx \
141+
simplify=True \
142+
half=True \
143+
device=0
144+
145+
# Export with FP16 precision using Apple Silicon GPU
138146
yolo export \
139147
model=yolov8n.pt \
140148
format=onnx \
141149
simplify=True \
142-
half=True
150+
half=True \
151+
device=mps
143152
```
144153
</details>
145154
* `yolov9`: [YOLOv9](https://github.com/WongKinYiu/yolov9) model

versioned_docs/version-3.26.x/features/object_detection.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,21 @@ You need to define the following config variables to enable object detection wit
134134
format=onnx \
135135
simplify=True
136136

137-
# Export with FP16 precision (CUDA-compatible GPU is required)
137+
# Export with FP16 precision using CUDA-compatible GPU
138+
yolo export \
139+
model=yolov8n.pt \
140+
format=onnx \
141+
simplify=True \
142+
half=True \
143+
device=0
144+
145+
# Export with FP16 precision using Apple Silicon GPU
138146
yolo export \
139147
model=yolov8n.pt \
140148
format=onnx \
141149
simplify=True \
142-
half=True
150+
half=True \
151+
device=mps
143152
```
144153
</details>
145154
* `yolov9`: [YOLOv9](https://github.com/WongKinYiu/yolov9) model

versioned_docs/version-3.27.x/features/object_detection.mdx

+11-2
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,21 @@ You need to define the following config variables to enable object detection wit
134134
format=onnx \
135135
simplify=True
136136

137-
# Export with FP16 precision (CUDA-compatible GPU is required)
137+
# Export with FP16 precision using CUDA-compatible GPU
138+
yolo export \
139+
model=yolov8n.pt \
140+
format=onnx \
141+
simplify=True \
142+
half=True \
143+
device=0
144+
145+
# Export with FP16 precision using Apple Silicon GPU
138146
yolo export \
139147
model=yolov8n.pt \
140148
format=onnx \
141149
simplify=True \
142-
half=True
150+
half=True \
151+
device=mps
143152
```
144153
</details>
145154
* `yolov9`: [YOLOv9](https://github.com/WongKinYiu/yolov9) model

0 commit comments

Comments
 (0)