lihongjie
commited on
Commit
·
455b393
1
Parent(s):
2660950
add axcl
Browse files- .gitattributes +3 -0
- README.md +51 -1
- axcl_aarch64/axcl_yolov7_face +3 -0
- axcl_x86_64/axcl_yolov7_face +3 -0
- yolov7_face_axcl_out.jpg +3 -0
.gitattributes
CHANGED
@@ -37,3 +37,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
37 |
ax_yolov7_face filter=lfs diff=lfs merge=lfs -text
|
38 |
selfie.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
yolov7_face_out.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
37 |
ax_yolov7_face filter=lfs diff=lfs merge=lfs -text
|
38 |
selfie.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
yolov7_face_out.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
axcl_aarch64/axcl_yolov7_face filter=lfs diff=lfs merge=lfs -text
|
41 |
+
axcl_x86_64/axcl_yolov7_face filter=lfs diff=lfs merge=lfs -text
|
42 |
+
yolov7_face_axcl_out.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -89,4 +89,54 @@ root@ax650:~/YOLOv7-Face#
|
|
89 |
```
|
90 |
|
91 |
Output image:
|
92 |
-

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
```
|
90 |
|
91 |
Output image:
|
92 |
+

|
93 |
+
|
94 |
+
|
95 |
+
#### Inference with M.2 Accelerator card
|
96 |
+
```
|
97 |
+
(base) axera@raspberrypi:~/lhj/YOLOv7-Face $ ./axcl_aarch64/axcl_yolov7_face -m ax650/yolov7-face.axmodel -i selfie.jpg
|
98 |
+
--------------------------------------
|
99 |
+
model file : ax650/yolov7-face.axmodel
|
100 |
+
image file : selfie.jpg
|
101 |
+
img_h, img_w : 640 640
|
102 |
+
--------------------------------------
|
103 |
+
axclrtEngineCreateContextt is done.
|
104 |
+
axclrtEngineGetIOInfo is done.
|
105 |
+
|
106 |
+
grpid: 0
|
107 |
+
|
108 |
+
input size: 1
|
109 |
+
name: images
|
110 |
+
1 x 640 x 640 x 3
|
111 |
+
|
112 |
+
|
113 |
+
output size: 3
|
114 |
+
name: 511
|
115 |
+
1 x 80 x 80 x 63
|
116 |
+
|
117 |
+
name: 520
|
118 |
+
1 x 40 x 40 x 63
|
119 |
+
|
120 |
+
name: 529
|
121 |
+
1 x 20 x 20 x 63
|
122 |
+
|
123 |
+
==================================================
|
124 |
+
|
125 |
+
Engine push input is done.
|
126 |
+
--------------------------------------
|
127 |
+
post process cost time:8.29 ms
|
128 |
+
--------------------------------------
|
129 |
+
Repeat 1 times, avg time 12.23 ms, max_time 12.23 ms, min_time 12.23 ms
|
130 |
+
--------------------------------------
|
131 |
+
detection num: 277
|
132 |
+
0: 91%, [1137, 869, 1283, 1065], face
|
133 |
+
0: 91%, [1424, 753, 1570, 949], face
|
134 |
+
0: 89%, [1305, 764, 1403, 900], face
|
135 |
+
0: 87%, [1738, 786, 1796, 860], face
|
136 |
+
......
|
137 |
+
0: 20%, [1120, 570, 1145, 604], face
|
138 |
+
0: 20%, [1025, 390, 1041, 413], face
|
139 |
+
--------------------------------------
|
140 |
+
```
|
141 |
+
Output image:
|
142 |
+

|
axcl_aarch64/axcl_yolov7_face
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f686e6269c0667cc6772ea7db4c8782eb99ebad1d764d6d3d9fe9dce9c9c27db
|
3 |
+
size 134520
|
axcl_x86_64/axcl_yolov7_face
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc8a3fc5f0e5e8a7963c10fa33eee6100bf670773d9692279fc1baa34d1752a0
|
3 |
+
size 149824
|
yolov7_face_axcl_out.jpg
ADDED
![]() |
Git LFS Details
|