Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,9 @@ Compatible with Pulsar2 version: 3.4
|
|
| 22 |
|
| 23 |
For those who are interested in model conversion, you can try to export axmodel through
|
| 24 |
|
| 25 |
-
- [The repo of
|
|
|
|
|
|
|
| 26 |
|
| 27 |
- [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html)
|
| 28 |
|
|
@@ -47,14 +49,31 @@ For those who are interested in model conversion, you can try to export axmodel
|
|
| 47 |
Download all files from this repository to the device
|
| 48 |
|
| 49 |
```
|
| 50 |
-
|
| 51 |
-
root@ax650:~/YOLO11-Pose# tree
|
| 52 |
.
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
```
|
| 59 |
|
| 60 |
### Inference
|
|
@@ -65,7 +84,7 @@ Input image:
|
|
| 65 |
#### Inference with AX650 Host, such as M4N-Dock(η±θ―ζ΄ΎPro)
|
| 66 |
|
| 67 |
```
|
| 68 |
-
root@ax650:~/samples/AXERA-TECH/YOLO11# ./ax_yolo11 -m ax650/yolo11x.axmodel -i football.jpg
|
| 69 |
--------------------------------------
|
| 70 |
model file : ax650/yolo11x.axmodel
|
| 71 |
image file : football.jpg
|
|
@@ -95,4 +114,56 @@ detection num: 9
|
|
| 95 |
```
|
| 96 |
|
| 97 |
Output image:
|
| 98 |
-

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
For those who are interested in model conversion, you can try to export axmodel through
|
| 24 |
|
| 25 |
+
- [The repo of ax-samples](https://github.com/AXERA-TECH/ax-samples), which you can get the how to build the `ax_yolo11`
|
| 26 |
+
|
| 27 |
+
- [The repo of axcl-samples](https://github.com/AXERA-TECH/axcl-samples), which you can get the how to build the `axcl_yolo11`
|
| 28 |
|
| 29 |
- [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html)
|
| 30 |
|
|
|
|
| 49 |
Download all files from this repository to the device
|
| 50 |
|
| 51 |
```
|
| 52 |
+
(axcl) axera@raspberrypi:~/samples/AXERA-TECH/YOLO11 $ tree -L 2
|
|
|
|
| 53 |
.
|
| 54 |
+
βββ ax620e
|
| 55 |
+
βΒ Β βββ yolo11s.axmodel.onnx
|
| 56 |
+
βββ ax650
|
| 57 |
+
βΒ Β βββ yolo11s.axmodel
|
| 58 |
+
βΒ Β βββ yolo11x.axmodel
|
| 59 |
+
βββ ax_aarch64
|
| 60 |
+
βΒ Β βββ ax_yolo11
|
| 61 |
+
βββ axcl_aarch64
|
| 62 |
+
βΒ Β βββ axcl_yolo11
|
| 63 |
+
βββ axcl_x86_64
|
| 64 |
+
βΒ Β βββ axcl_yolo11
|
| 65 |
+
βββ config.json
|
| 66 |
+
βββ cut-onnx.py
|
| 67 |
+
βββ football.jpg
|
| 68 |
+
βββ README.md
|
| 69 |
+
βββ ssd_horse.jpg
|
| 70 |
+
βββ yolo11_config.json
|
| 71 |
+
βββ yolo11_out.jpg
|
| 72 |
+
βββ yolo11s-cut.onnx
|
| 73 |
+
βββ yolo11-test.py
|
| 74 |
+
|
| 75 |
+
6 directories, 15 files
|
| 76 |
+
|
| 77 |
```
|
| 78 |
|
| 79 |
### Inference
|
|
|
|
| 84 |
#### Inference with AX650 Host, such as M4N-Dock(η±θ―ζ΄ΎPro)
|
| 85 |
|
| 86 |
```
|
| 87 |
+
root@ax650:~/samples/AXERA-TECH/YOLO11# ./ax_aarch64/ax_yolo11 -m ax650/yolo11x.axmodel -i football.jpg
|
| 88 |
--------------------------------------
|
| 89 |
model file : ax650/yolo11x.axmodel
|
| 90 |
image file : football.jpg
|
|
|
|
| 114 |
```
|
| 115 |
|
| 116 |
Output image:
|
| 117 |
+

|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
#### Inference with M.2 Accelerator card
|
| 121 |
+
|
| 122 |
+
```
|
| 123 |
+
(axcl) axera@raspberrypi:~/samples/AXERA-TECH/YOLO11 $ ./axcl_aarch64/axcl_yolo11 -m ax650/yolo11x.axmodel -i football.jpg
|
| 124 |
+
--------------------------------------
|
| 125 |
+
model file : ax650/yolo11x.axmodel
|
| 126 |
+
image file : football.jpg
|
| 127 |
+
img_h, img_w : 640 640
|
| 128 |
+
--------------------------------------
|
| 129 |
+
axclrtEngineCreateContextt is done.
|
| 130 |
+
axclrtEngineGetIOInfo is done.
|
| 131 |
+
|
| 132 |
+
grpid: 0
|
| 133 |
+
|
| 134 |
+
input size: 1
|
| 135 |
+
name: images
|
| 136 |
+
1 x 640 x 640 x 3
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
output size: 3
|
| 140 |
+
name: /model.23/Concat_output_0
|
| 141 |
+
1 x 80 x 80 x 144
|
| 142 |
+
|
| 143 |
+
name: /model.23/Concat_1_output_0
|
| 144 |
+
1 x 40 x 40 x 144
|
| 145 |
+
|
| 146 |
+
name: /model.23/Concat_2_output_0
|
| 147 |
+
1 x 20 x 20 x 144
|
| 148 |
+
|
| 149 |
+
==================================================
|
| 150 |
+
|
| 151 |
+
Engine push input is done.
|
| 152 |
+
--------------------------------------
|
| 153 |
+
post process cost time:1.38 ms
|
| 154 |
+
--------------------------------------
|
| 155 |
+
Repeat 1 times, avg time 24.73 ms, max_time 24.73 ms, min_time 24.73 ms
|
| 156 |
+
--------------------------------------
|
| 157 |
+
detection num: 9
|
| 158 |
+
0: 94%, [ 757, 220, 1127, 1154], person
|
| 159 |
+
0: 94%, [ 0, 357, 314, 1112], person
|
| 160 |
+
0: 93%, [1353, 339, 1629, 1037], person
|
| 161 |
+
0: 91%, [ 494, 476, 659, 1001], person
|
| 162 |
+
32: 86%, [1231, 877, 1281, 922], sports ball
|
| 163 |
+
32: 73%, [ 774, 887, 828, 938], sports ball
|
| 164 |
+
32: 66%, [1012, 882, 1051, 927], sports ball
|
| 165 |
+
0: 54%, [ 0, 543, 83, 1000], person
|
| 166 |
+
0: 46%, [1837, 696, 1877, 814], person
|
| 167 |
+
--------------------------------------
|
| 168 |
+
|
| 169 |
+
```
|