This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:edge2:npu:demos:yolov8n [2023/09/19 22:42] louis |
products:sbc:edge2:npu:demos:yolov8n [2024/07/03 21:44] (current) louis |
||
---|---|---|---|
Line 13: | Line 13: | ||
``` | ``` | ||
- | Refer '' | + | Refer '' |
===== Convert Model ===== | ===== Convert Model ===== | ||
Line 61: | Line 61: | ||
After training model, modify '' | After training model, modify '' | ||
- | ```diff | + | ```diff |
diff --git a/ | diff --git a/ | ||
index 0b02eb3..0a6e43a 100644 | index 0b02eb3..0a6e43a 100644 | ||
Line 90: | Line 90: | ||
+ | + | ||
``` | ``` | ||
+ | |||
+ | <WRAP important> | ||
+ | If you pip-installed ultralytics package, you should modify in package. | ||
+ | </ | ||
Create a python file written as follows to export **onnx** model. | Create a python file written as follows to export **onnx** model. | ||
Line 98: | Line 102: | ||
results = model.export(format=" | results = model.export(format=" | ||
``` | ``` | ||
+ | |||
+ | <WRAP important> | ||
+ | Use [[https:// | ||
+ | |||
+ | {{: | ||
+ | </ | ||
Enter '' | Enter '' | ||
Line 145: | Line 155: | ||
==== Get source code ==== | ==== Get source code ==== | ||
- | Clone the source code form our [[gh> | + | Clone the source code from our [[gh> |
```shell | ```shell |