lihongjie
commited on
Commit
·
8c875dd
1
Parent(s):
f8d2192
add axcl
Browse files- .gitattributes +3 -0
- README.md +66 -1
- axcl_aarch64/axcl_yolov8_seg +3 -0
- axcl_x86_64/axcl_yolov8_seg +3 -0
- yolov8_seg_axcl_out.jpg +3 -0
.gitattributes
CHANGED
@@ -38,3 +38,6 @@ ax650/yolov8s_seg.axmodel filter=lfs diff=lfs merge=lfs -text
|
|
38 |
ax_yolov8_seg filter=lfs diff=lfs merge=lfs -text
|
39 |
football.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
yolov8_seg_out.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
38 |
ax_yolov8_seg filter=lfs diff=lfs merge=lfs -text
|
39 |
football.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
yolov8_seg_out.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
axcl_aarch64/axcl_yolov8_seg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
yolov8_seg_axcl_out.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
axcl_x86_64/axcl_yolov8_seg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -123,4 +123,69 @@ detection num: 8
|
|
123 |
```
|
124 |
|
125 |
Output image:
|
126 |
-

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
```
|
124 |
|
125 |
Output image:
|
126 |
+

|
127 |
+
|
128 |
+
|
129 |
+
#### Inference with M.2 Accelerator card
|
130 |
+
|
131 |
+
```
|
132 |
+
(base) axera@raspberrypi:~/lhj/YOLOv8-Seg $ ./axcl_aarch64/axcl_yolov8_seg -m ax650/yolov8s_seg.axmodel -i football.jpg
|
133 |
+
--------------------------------------
|
134 |
+
model file : ax650/yolov8s_seg.axmodel
|
135 |
+
image file : football.jpg
|
136 |
+
img_h, img_w : 640 640
|
137 |
+
--------------------------------------
|
138 |
+
axclrtEngineCreateContextt is done.
|
139 |
+
axclrtEngineGetIOInfo is done.
|
140 |
+
|
141 |
+
grpid: 0
|
142 |
+
|
143 |
+
input size: 1
|
144 |
+
name: images
|
145 |
+
1 x 640 x 640 x 3
|
146 |
+
|
147 |
+
|
148 |
+
output size: 7
|
149 |
+
name: /model.22/Concat_1_output_0
|
150 |
+
1 x 80 x 80 x 144
|
151 |
+
|
152 |
+
name: /model.22/Concat_2_output_0
|
153 |
+
1 x 40 x 40 x 144
|
154 |
+
|
155 |
+
name: /model.22/Concat_3_output_0
|
156 |
+
1 x 20 x 20 x 144
|
157 |
+
|
158 |
+
name: /model.22/cv4.0/cv4.0.2/Conv_output_0
|
159 |
+
1 x 80 x 80 x 32
|
160 |
+
|
161 |
+
name: /model.22/cv4.1/cv4.1.2/Conv_output_0
|
162 |
+
1 x 40 x 40 x 32
|
163 |
+
|
164 |
+
name: /model.22/cv4.2/cv4.2.2/Conv_output_0
|
165 |
+
1 x 20 x 20 x 32
|
166 |
+
|
167 |
+
name: output1
|
168 |
+
1 x 32 x 160 x 160
|
169 |
+
|
170 |
+
==================================================
|
171 |
+
|
172 |
+
Engine push input is done.
|
173 |
+
--------------------------------------
|
174 |
+
post process cost time:3.67 ms
|
175 |
+
--------------------------------------
|
176 |
+
Repeat 1 times, avg time 4.85 ms, max_time 4.85 ms, min_time 4.85 ms
|
177 |
+
--------------------------------------
|
178 |
+
detection num: 8
|
179 |
+
0: 92%, [1354, 340, 1629, 1035], person
|
180 |
+
0: 91%, [ 5, 359, 314, 1108], person
|
181 |
+
0: 91%, [ 759, 220, 1121, 1153], person
|
182 |
+
0: 88%, [ 490, 476, 661, 999], person
|
183 |
+
32: 73%, [1233, 877, 1286, 923], sports ball
|
184 |
+
32: 63%, [ 772, 888, 828, 937], sports ball
|
185 |
+
32: 63%, [ 450, 882, 475, 902], sports ball
|
186 |
+
0: 55%, [1838, 690, 1907, 811], person
|
187 |
+
--------------------------------------
|
188 |
+
```
|
189 |
+
|
190 |
+
Output image:
|
191 |
+

|
axcl_aarch64/axcl_yolov8_seg
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66a44f32d735054a51cb250599aadba2121d407b082e9b5a564ab990705f48f9
|
3 |
+
size 200696
|
axcl_x86_64/axcl_yolov8_seg
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4733861c751c257e3e1e2e44a0af88cb544eb604343e20b0e27686c7ae8357fa
|
3 |
+
size 158664
|
yolov8_seg_axcl_out.jpg
ADDED
![]() |
Git LFS Details
|