lihongjie
commited on
Commit
·
4b36b7d
1
Parent(s):
ae6cba4
add axcl
Browse files- .gitattributes +3 -0
- README.md +53 -1
- axcl_aarch64/axcl_yolov8 +3 -0
- axcl_x86_64/axcl_yolov8 +3 -0
- yolov8_axcl_out.jpg +3 -0
.gitattributes
CHANGED
|
@@ -40,3 +40,6 @@ ax620e/ax_yolov8 filter=lfs diff=lfs merge=lfs -text
|
|
| 40 |
ax_yolov8 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
football.jpg filter=lfs diff=lfs merge=lfs -text
|
| 42 |
yolov8_out.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
ax_yolov8 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
football.jpg filter=lfs diff=lfs merge=lfs -text
|
| 42 |
yolov8_out.jpg filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
axcl_aarch64/axcl_yolov8 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
axcl_x86_64/axcl_yolov8 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
yolov8_axcl_out.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -93,4 +93,56 @@ detection num: 7
|
|
| 93 |
```
|
| 94 |
|
| 95 |
Output image:
|
| 96 |
-

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
```
|
| 94 |
|
| 95 |
Output image:
|
| 96 |
+

|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Inference with M.2 Accelerator card
|
| 100 |
+
|
| 101 |
+
```
|
| 102 |
+
(base) axera@raspberrypi:~/lhj/YOLOv8 $ ./axcl_aarch64/axcl_yolov8 -m ax650/yolov8s.axmodel -i football.jpg
|
| 103 |
+
--------------------------------------
|
| 104 |
+
model file : ax650/yolov8s.axmodel
|
| 105 |
+
image file : football.jpg
|
| 106 |
+
img_h, img_w : 640 640
|
| 107 |
+
--------------------------------------
|
| 108 |
+
axclrtEngineCreateContextt is done.
|
| 109 |
+
axclrtEngineGetIOInfo is done.
|
| 110 |
+
|
| 111 |
+
grpid: 0
|
| 112 |
+
|
| 113 |
+
input size: 1
|
| 114 |
+
name: images
|
| 115 |
+
1 x 640 x 640 x 3
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
output size: 3
|
| 119 |
+
name: /model.22/Concat_output_0
|
| 120 |
+
1 x 80 x 80 x 144
|
| 121 |
+
|
| 122 |
+
name: /model.22/Concat_1_output_0
|
| 123 |
+
1 x 40 x 40 x 144
|
| 124 |
+
|
| 125 |
+
name: /model.22/Concat_2_output_0
|
| 126 |
+
1 x 20 x 20 x 144
|
| 127 |
+
|
| 128 |
+
==================================================
|
| 129 |
+
|
| 130 |
+
Engine push input is done.
|
| 131 |
+
--------------------------------------
|
| 132 |
+
post process cost time:0.98 ms
|
| 133 |
+
--------------------------------------
|
| 134 |
+
Repeat 1 times, avg time 3.75 ms, max_time 3.75 ms, min_time 3.75 ms
|
| 135 |
+
--------------------------------------
|
| 136 |
+
detection num: 7
|
| 137 |
+
0: 93%, [ 757, 215, 1131, 1156], person
|
| 138 |
+
0: 93%, [ 0, 354, 311, 1104], person
|
| 139 |
+
0: 93%, [1351, 342, 1627, 1032], person
|
| 140 |
+
0: 91%, [ 488, 478, 661, 998], person
|
| 141 |
+
32: 87%, [ 773, 889, 829, 939], sports ball
|
| 142 |
+
32: 77%, [1231, 876, 1280, 922], sports ball
|
| 143 |
+
0: 60%, [1840, 690, 1906, 809], person
|
| 144 |
+
--------------------------------------
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
Output image:
|
| 148 |
+

|
axcl_aarch64/axcl_yolov8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e34869d7198c3805096e3790d35d9c4220e4c1369d521e70710024ef58ecec7
|
| 3 |
+
size 135160
|
axcl_x86_64/axcl_yolov8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46f5006189a6ae6bdf442592de29abcc19690f4c9e89de5d76958d0475c5ccc7
|
| 3 |
+
size 154568
|
yolov8_axcl_out.jpg
ADDED
|
Git LFS Details
|