File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -39,20 +39,31 @@ https://opencv.org/get-started/
39
39
40
40
OpenVINO:
41
41
``` 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
43
43
```
44
44
45
45
XNNPACK:
46
46
``` 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
48
48
```
49
49
50
50
> ** _ NOTE:_ ** Quantization is comming soon!
51
51
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
+
52
62
To get a full parameters description please use the following command:
53
63
``` bash
54
- python export_and_quantize .py
64
+ python export_and_validate .py --help
55
65
```
66
+
56
67
### Step 5: Build the demo project
57
68
58
69
OpenVINO:
File renamed without changes.
You can’t perform that action at this time.
0 commit comments