qqc1989 commited on
Commit
9333830
·
verified ·
1 Parent(s): 734968d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +94 -5
README.md CHANGED
@@ -1,9 +1,98 @@
1
  ---
2
- license: bsd-3-clause
 
 
 
 
 
 
 
 
3
  ---
4
 
5
- ## Github
6
- https://github.com/AXERA-TECH/ax-samples
7
 
8
- ## Convert Guide
9
- https://zhuanlan.zhihu.com/p/772269394
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ base_model:
6
+ - Ultralytics/YOLO11
7
+ pipeline_tag: object-detection
8
+ tags:
9
+ - Ultralytics
10
+ - YOLO11
11
  ---
12
 
13
+ # YOLO11
 
14
 
15
+ This version of YOLO11 has been converted to run on the Axera NPU using **w8a16** quantization.
16
+
17
+ This model has been optimized with the following LoRA:
18
+
19
+ Compatible with Pulsar2 version: 3.4
20
+
21
+ ## Convert tools links:
22
+
23
+ For those who are interested in model conversion, you can try to export axmodel through
24
+
25
+ - [The repo of AXera Platform](https://github.com/AXERA-TECH/ax-samples), which you can get the detial of guide
26
+
27
+ - [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html)
28
+
29
+
30
+ ## Support Platform
31
+
32
+ - AX650
33
+ - [M4N-Dock(爱芯派Pro)](https://wiki.sipeed.com/hardware/zh/maixIV/m4ndock/m4ndock.html)
34
+ - [M.2 Accelerator card](https://axcl-docs.readthedocs.io/zh-cn/latest/doc_guide_hardware.html)
35
+ - AX630C
36
+ - [爱芯派2](https://axera-pi-2-docs-cn.readthedocs.io/zh-cn/latest/index.html)
37
+ - [Module-LLM](https://docs.m5stack.com/zh_CN/module/Module-LLM)
38
+ - [LLM630 Compute Kit](https://docs.m5stack.com/zh_CN/core/LLM630%20Compute%20Kit)
39
+
40
+ |Chips|cost|
41
+ |--|--|
42
+ |AX650| 25 ms |
43
+ |AX630C| TBD ms |
44
+
45
+ ## How to use
46
+
47
+ Download all files from this repository to the device
48
+
49
+ ```
50
+
51
+ root@ax650:~/YOLO11-Pose# tree
52
+ .
53
+ |-- ax650
54
+ | `-- yolo11x.axmodel
55
+ |-- ax_yolo11
56
+ |-- football.jpg
57
+ `-- yolo11_out.jpg
58
+ ```
59
+
60
+ ### Inference
61
+
62
+ Input image:
63
+ ![](./football.jpg)
64
+
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
72
+ img_h, img_w : 640 640
73
+ --------------------------------------
74
+ Engine creating handle is done.
75
+ Engine creating context is done.
76
+ Engine get io info is done.
77
+ Engine alloc io is done.
78
+ Engine push input is done.
79
+ --------------------------------------
80
+ post process cost time:4.20 ms
81
+ --------------------------------------
82
+ Repeat 1 times, avg time 24.56 ms, max_time 24.56 ms, min_time 24.56 ms
83
+ --------------------------------------
84
+ detection num: 9
85
+ 0: 94%, [ 757, 220, 1127, 1154], person
86
+ 0: 94%, [ 0, 357, 314, 1112], person
87
+ 0: 93%, [1353, 339, 1629, 1037], person
88
+ 0: 91%, [ 494, 476, 659, 1001], person
89
+ 32: 86%, [1231, 877, 1281, 922], sports ball
90
+ 32: 73%, [ 774, 887, 828, 938], sports ball
91
+ 32: 66%, [1012, 882, 1051, 927], sports ball
92
+ 0: 54%, [ 0, 543, 83, 1000], person
93
+ 0: 46%, [1837, 696, 1877, 814], person
94
+ --------------------------------------
95
+ ```
96
+
97
+ Output image:
98
+ ![](./yolo11_out.jpg)