qqc1989 commited on
Commit
271230a
Β·
verified Β·
1 Parent(s): ab8237a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +82 -10
README.md CHANGED
@@ -23,7 +23,9 @@ Compatible with Pulsar2 version: 3.4
23
 
24
  For those who are interested in model conversion, you can try to export axmodel through
25
 
26
- - [The repo of AXera Platform](https://github.com/AXERA-TECH/ax-samples), which you can get the detial of guide
 
 
27
 
28
  - [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html)
29
 
@@ -48,14 +50,27 @@ For those who are interested in model conversion, you can try to export axmodel
48
  Download all files from this repository to the device
49
 
50
  ```
51
-
52
- root@ax650:~/YOLO11-Pose# tree
53
  .
54
- |-- ax650
55
- | `-- yolo11x-pose.axmodel
56
- |-- ax_yolo11_pose
57
- |-- football.jpg
58
- `-- yolo11_pose_out.jpg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  ```
60
 
61
  ### Inference
@@ -66,7 +81,7 @@ Input image:
66
  #### Inference with AX650 Host, such as M4N-Dock(爱芯派Pro)
67
 
68
  ```
69
- root@ax650:~/YOLO11-Pose# ./ax_yolo11_pose -m ax650/yolo11x-pose.axmodel -i football.jpg
70
  --------------------------------------
71
  model file : ax650/yolo11x-pose.axmodel
72
  image file : football.jpg
@@ -93,4 +108,61 @@ detection num: 6
93
  ```
94
 
95
  Output image:
96
- ![](./yolo11_pose_out.jpg)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  For those who are interested in model conversion, you can try to export axmodel through
25
 
26
+ - [The repo of ax-samples](https://github.com/AXERA-TECH/ax-samples), which you can get the how to build the `ax_yolo11_pose`
27
+
28
+ - [The repo of axcl-samples](https://github.com/AXERA-TECH/axcl-samples), which you can get the how to build the `axcl_yolo11_pose`
29
 
30
  - [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html)
31
 
 
50
  Download all files from this repository to the device
51
 
52
  ```
53
+ (axcl) axera@raspberrypi:~/samples/AXERA-TECH/YOLO11-Pose $ tree -L 2
 
54
  .
55
+ β”œβ”€β”€ ax620e
56
+ β”‚Β Β  └── yolo11s-pose.axmodel
57
+ β”œβ”€β”€ ax650
58
+ β”‚Β Β  └── yolo11x-pose.axmodel
59
+ β”œβ”€β”€ ax_aarch64
60
+ β”‚Β Β  └── ax_yolo11_pose
61
+ β”œβ”€β”€ axcl_aarch64
62
+ β”‚Β Β  └── axcl_yolo11_pose
63
+ β”œβ”€β”€ axcl_x86_64
64
+ β”‚Β Β  └── axcl_yolo11_pose
65
+ β”œβ”€β”€ config.json
66
+ β”œβ”€β”€ football.jpg
67
+ β”œβ”€β”€ README.md
68
+ β”œβ”€β”€ yolo11_pose_config.json
69
+ β”œβ”€β”€ yolo11_pose_out.jpg
70
+ β”œβ”€β”€ yolo11s-pose-cut.onnx
71
+ └── yolo11s-pose.onnx
72
+
73
+ 6 directories, 12 files
74
  ```
75
 
76
  ### Inference
 
81
  #### Inference with AX650 Host, such as M4N-Dock(爱芯派Pro)
82
 
83
  ```
84
+ root@ax650:~/YOLO11-Pose# ./ax_aarch64/ax_yolo11_pose -m ax650/yolo11x-pose.axmodel -i football.jpg
85
  --------------------------------------
86
  model file : ax650/yolo11x-pose.axmodel
87
  image file : football.jpg
 
108
  ```
109
 
110
  Output image:
111
+ ![](./yolo11_pose_out.jpg)
112
+
113
+ #### Inference with M.2 Accelerator card
114
+
115
+ ```
116
+ (axcl) axera@raspberrypi:~/samples/AXERA-TECH/YOLO11-Pose $ chmod +x axcl_aarch64/axcl_yolo11_pose
117
+ (axcl) axera@raspberrypi:~/samples/AXERA-TECH/YOLO11-Pose $ ./axcl_aarch64/axcl_yolo11_pose -m ax650/yolo11x-pose.axmodel -i football.jpg
118
+ --------------------------------------
119
+ model file : ax650/yolo11x-pose.axmodel
120
+ image file : football.jpg
121
+ img_h, img_w : 640 640
122
+ --------------------------------------
123
+ axclrtEngineCreateContextt is done.
124
+ axclrtEngineGetIOInfo is done.
125
+
126
+ grpid: 0
127
+
128
+ input size: 1
129
+ name: images
130
+ 1 x 640 x 640 x 3
131
+
132
+
133
+ output size: 6
134
+ name: /model.23/Concat_1_output_0
135
+ 1 x 80 x 80 x 65
136
+
137
+ name: /model.23/Concat_2_output_0
138
+ 1 x 40 x 40 x 65
139
+
140
+ name: /model.23/Concat_3_output_0
141
+ 1 x 20 x 20 x 65
142
+
143
+ name: /model.23/cv4.0/cv4.0.2/Conv_output_0
144
+ 1 x 80 x 80 x 51
145
+
146
+ name: /model.23/cv4.1/cv4.1.2/Conv_output_0
147
+ 1 x 40 x 40 x 51
148
+
149
+ name: /model.23/cv4.2/cv4.2.2/Conv_output_0
150
+ 1 x 20 x 20 x 51
151
+
152
+ ==================================================
153
+
154
+ Engine push input is done.
155
+ --------------------------------------
156
+ post process cost time:0.43 ms
157
+ --------------------------------------
158
+ Repeat 1 times, avg time 25.05 ms, max_time 25.05 ms, min_time 25.05 ms
159
+ --------------------------------------
160
+ detection num: 6
161
+ 0: 94%, [1350, 337, 1632, 1036], person
162
+ 0: 93%, [ 492, 477, 658, 1000], person
163
+ 0: 92%, [ 756, 219, 1126, 1154], person
164
+ 0: 91%, [ 0, 354, 314, 1108], person
165
+ 0: 73%, [ 0, 530, 81, 1017], person
166
+ 0: 54%, [ 142, 589, 239, 1013], person
167
+ --------------------------------------
168
+ ```