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/08/25 03:31] louis |
products:sbc:edge2:npu:demos:yolov8n [2024/07/03 21:44] (current) louis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ~~tag> YOLO NPU Edge2 RK3588~~ |
+ | |||
+ | ====== | ||
+ | |||
+ | {{indexmenu_n> | ||
===== Get Source Code ===== | ===== Get Source Code ===== | ||
- | Download | + | Download |
```shell | ```shell | ||
$ git clone https:// | $ git clone https:// | ||
``` | ``` | ||
+ | |||
+ | Refer '' | ||
===== Convert Model ===== | ===== Convert Model ===== | ||
Line 34: | Line 40: | ||
==== Get convert tool ==== | ==== Get convert tool ==== | ||
- | Download Tool from [[https:// | + | Download Tool from [[gh>rockchip-linux/ |
```shell | ```shell | ||
Line 55: | 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 85: | Line 91: | ||
``` | ``` | ||
- | Create a python file written as follows to export onnx model. | + | <WRAP important> |
+ | If you pip-installed ultralytics package, you should modify in package. | ||
+ | </ | ||
+ | |||
+ | Create a python file written as follows to export | ||
```python export.py | ```python export.py | ||
Line 92: | Line 102: | ||
results = model.export(format=" | results = model.export(format=" | ||
``` | ``` | ||
+ | |||
+ | <WRAP important> | ||
+ | Use [[https:// | ||
+ | |||
+ | {{: | ||
+ | </ | ||
Enter '' | Enter '' | ||
Line 139: | Line 155: | ||
==== Get source code ==== | ==== Get source code ==== | ||
- | Clone the source code form our [[https:// | + | Clone the source code from our [[gh>khadas/ |
```shell | ```shell | ||
Line 185: | Line 201: | ||
<WRAP tip > | <WRAP tip > | ||
- | If your yolov8n | + | If your **YOLOv8n** |
</ | </ | ||