Skip to content

Commit cbf970d

Browse files
Validation pipeline
1 parent 1629a7b commit cbf970d

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

examples/models/yolo12/README.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,31 @@ https://opencv.org/get-started/
3939

4040
OpenVINO:
4141
```bash
42-
python export_and_quantize.py --model_name yolo12s --input_dims=[1920,1080] --backend openvino --device CPU
42+
python export_and_validate.py --model_name yolo12s --input_dims=[1920,1080] --backend openvino --device CPU
4343
```
4444

4545
XNNPACK:
4646
```bash
47-
python export_and_quantize.py --model_name yolo12s --input_dims=[1920,1080] --backend xnnpack
47+
python export_and_validate.py --model_name yolo12s --input_dims=[1920,1080] --backend xnnpack
4848
```
4949

5050
> **_NOTE:_** Quantization is comming soon!
5151
52+
Exported model could be validated using the `--validate` key:
53+
54+
```bash
55+
python export_and_validate.py --model_name yolo12s --backend ... --validate dataset_name.yaml
56+
```
57+
58+
A list of available datasets and instructions on how to use a custom dataset can be found [here](https://docs.ultralytics.com/datasets/detect/).
59+
Validation only supports the default `--input_dims`; please do not specify this parameter when using the `--validate` flag.
60+
61+
5262
To get a full parameters description please use the following command:
5363
```bash
54-
python export_and_quantize.py
64+
python export_and_validate.py --help
5565
```
66+
5667
### Step 5: Build the demo project
5768

5869
OpenVINO:

0 commit comments

Comments
 (0)