Compatible with Pulsar2 version: 4.2.
For those who are interested in model conversion, you can try to export axmodel through:
Download all files from this repository to the device.
wget https://github.com/AXERA-TECH/pyaxengine/releases/download/0.1.3.rc2/axengine-0.1.3-py3-none-any.whl
pip install axengine-0.1.3-py3-none-any.whl
Maybe None.
1(ax_env) root@ax650:~/ax650# python ax_infer_seg.py --model-path yolo26l-seg_npu3.axmodel --test-img bus.jpg
2[INFO] Available providers: ['AxEngineExecutionProvider']
3[INFO] Using provider: AxEngineExecutionProvider
4[INFO] Chip type: ChipType.MC50
5[INFO] VNPU type: VNPUType.DISABLED
6[INFO] Engine version: 2.12.0s
7[INFO] Model type: 2 (triple core)
8[INFO] Compiler version: 5.1-patch1-dirty 9164b433-dirty
9[YOLO26-Seg] [16:47:45.205] [DEBUG] Load model time = 821.55 ms
10[YOLO26-Seg] [16:47:45.242] [DEBUG] Pre-process time = 9.03 ms
11[YOLO26-Seg] [16:47:45.292] [DEBUG] Forward time = 49.07 ms
12[YOLO26-Seg] [16:47:45.299] [DEBUG] Post-process time = 6.77 ms
13[YOLO26-Seg] [16:47:45.300] [DEBUG] Proto shape: (32, 160, 160)
14[YOLO26-Seg] [16:47:45.350] [INFO] Draw Results (6 objects):
15[YOLO26-Seg] [16:47:45.350] [INFO] (10, 229, 803, 735) -> bus: 0.94
16[YOLO26-Seg] [16:47:45.396] [INFO] (55, 396, 246, 905) -> person: 0.94
17[YOLO26-Seg] [16:47:45.419] [INFO] (221, 406, 348, 855) -> person: 0.93
18[YOLO26-Seg] [16:47:45.440] [INFO] (669, 392, 808, 878) -> person: 0.93
19[YOLO26-Seg] [16:47:45.459] [INFO] (0, 549, 78, 874) -> person: 0.50
20[YOLO26-Seg] [16:47:45.477] [INFO] (3, 532, 78, 1058) -> person: 0.45
21[YOLO26-Seg] [16:47:45.521] [INFO] Saved to result_yolo26_seg.jpg
22