Add Export Arguments tables to all Export docs (#18952)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Francesco Mattioli <Francesco.mttl@gmail.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Lakshantha Dissanayake 2025-02-05 18:43:02 -08:00 committed by GitHub
parent c0a4201370
commit 39b037408f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 162 additions and 33 deletions

View file

@ -85,20 +85,16 @@ yolov8n_imx_model
└── yolov8n_imx500_model.pbtxt
```
## Arguments
## Export Arguments
When exporting a model to IMX500 format, you can specify various arguments:
| Argument | Type | Default | Description |
| -------- | ---------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `format` | `str` | `imx` | Target format for the exported model, defining compatibility with various deployment environments. |
| `imgsz` | `int` or `tuple` | `640` | Desired image size for the model input. Can be an integer for square images or a tuple `(height, width)` for specific dimensions. |
| `int8` | `bool` | `True` | Activates INT8 quantization, further compressing the model and speeding up inference with minimal [accuracy](https://www.ultralytics.com/glossary/accuracy) loss, primarily for edge devices. |
| `data` | `str` | `coco8.yaml` | Path to the [dataset](https://docs.ultralytics.com/datasets) configuration file (default: `coco8.yaml`), essential for quantization. |
| Key | Value | Description |
| -------- | ------------ | -------------------------------------------------------------- |
| `format` | `imx` | Format to export to (imx) |
| `int8` | `True` | Enable INT8 quantization for the model (default: `True`) |
| `imgsz` | `640` | Image size for the model input (default: `640`) |
| `data` | `coco8.yaml` | Path to the dataset configuration file (default: `coco8.yaml`) |
!!! note
When using `data` argument for quantization, please check [Dataset Guide](https://docs.ultralytics.com/datasets/detect) to learn more about the dataset format.
For more details about the export process, visit the [Ultralytics documentation page on exporting](../modes/export.md).
## Using IMX500 Export in Deployment