qqc1989 commited on
Commit
1321e59
·
verified ·
1 Parent(s): f01abfc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -2
README.md CHANGED
@@ -20,7 +20,7 @@ tags:
20
 
21
  ## Usage Example
22
 
23
- ### YoloV8
24
 
25
  ```shell
26
  ./test_det -m yolov8s.axmodel -t 1 -i pexels-володимир-король-16499013.jpg
@@ -53,7 +53,7 @@ num_objs: 8
53
  ```
54
  ![](lib/result_v8.jpg)
55
 
56
- ### Yolo11 Pose
57
 
58
  ```shell
59
  ./test_det -m yolo11x-pose.axmodel -t 4 -i pexels-володимир-король-16499013.jpg --num_kpt 17
@@ -97,5 +97,52 @@ num_objs: 6
97
  ![](lib/result_11pose.jpg)
98
 
99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  ## Community
101
  QQ 群: 139953715
 
20
 
21
  ## Usage Example
22
 
23
+ ### YOLOv8
24
 
25
  ```shell
26
  ./test_det -m yolov8s.axmodel -t 1 -i pexels-володимир-король-16499013.jpg
 
53
  ```
54
  ![](lib/result_v8.jpg)
55
 
56
+ ### YOLO11 Pose
57
 
58
  ```shell
59
  ./test_det -m yolo11x-pose.axmodel -t 4 -i pexels-володимир-король-16499013.jpg --num_kpt 17
 
97
  ![](lib/result_11pose.jpg)
98
 
99
 
100
+ ### Gradio Usage Example
101
+
102
+ ```shell
103
+ (axcl) radxa@radxa-cubie-a7a:~/AXERA-TECH/libdet.axera$ python lib/gradio_example.py --model yolo11x.axmodel --model_type 3
104
+ Trying to load: /home/axera/libdet.axera/build/libdet.so
105
+
106
+ ❌ Failed to load: /home/axera/libdet.axera/build/libdet.so
107
+ /home/axera/libdet.axera/build/libdet.so: cannot open shared object file: No such file or directory
108
+ 🔍 File not found. Please verify that libdet.so exists and the path is correct.
109
+
110
+ Trying to load: /home/radxa/AXERA-TECH/libdet.axera/lib/aarch64/libdet.so
111
+ open libax_sys.so failed
112
+ open libax_engine.so failed
113
+ ✅ Successfully loaded: /home/radxa/AXERA-TECH/libdet.axera/lib/aarch64/libdet.so
114
+ 可用设备: {'host': {'available': False, 'version': '', 'mem_info': {'remain': 0, 'total': 0}}, 'devices': {'host_version': 'V3.6.4_20250819020149', 'dev_version': 'V3.6.4_20250819020149', 'count': 1, 'devices_info': [{'temp': 45, 'cpu_usage': 1, 'npu_usage': 0, 'mem_info': {'remain': 7022, 'total': 7040}}]}}
115
+ axcl device available, use device-0
116
+ [I][ run][ 31]: AXCLWorker start with devid 0
117
+ [I][ init][ 75]: model_type: 3, threshold: 0.25, nms_threshold: 0.45, num_classes: 80, num_kpt: 0
118
+ [I][ init][ 81]: mean: 0.00, 0.00, 0.00
119
+ [I][ init][ 82]: std: 1.00, 1.00, 1.00
120
+
121
+ input size: 1
122
+ name: images [unknown] [unknown]
123
+ 1 x 640 x 640 x 3
124
+
125
+
126
+ output size: 3
127
+ name: /model.23/Concat_output_0
128
+ 1 x 80 x 80 x 144
129
+
130
+ name: /model.23/Concat_1_output_0
131
+ 1 x 40 x 40 x 144
132
+
133
+ name: /model.23/Concat_2_output_0
134
+ 1 x 20 x 20 x 144
135
+
136
+ [I][ init][ 152]: input_w: 640, input_h: 640, is_input_nchw: false
137
+ [I][ init][ 160]: nElements: 1228800, m_runner->get_input(0).nSize: 1228800, is_input_fp32: false
138
+ * Running on local URL: http://xxx.xxx.xxx.xxx:7860
139
+ * Running on local URL: http://0.0.0.0:7860
140
+ * To create a public link, set `share=True` in `launch()`.
141
+ ```
142
+
143
+ Access `http://xxx.xxx.xxx.xxx:7860` using Chrome or another browser.
144
+
145
+ ![](./lib/gradio.png)
146
+
147
  ## Community
148
  QQ 群: 139953715