Views
No views yet
.axmodel.| Chips | Model Variant | NPU3 Latency (ms) |
|---|---|---|
| AX650 | CenterPoint-Pillar | 88.334 |
1.
2├── centerpoint.axmodel # The compiled Axera model
3├── inference_axmodel.py # Main inference script
4└── extracted_data/ # Input directory
5 ├── config.json # Configuration files (e.g., inference_config.json)
6 ├── sample_index.json
7 ├── gt_annotations/
8 └── points/ axengine (PyAXEngine)numba , opencv-python and tqdm..axmodel, inference_config.json, and input data (inference_data/) are available on the host.1python inference_axmodel.py ./centerpoint.axmodel ./extracted_data/config.json ./extracted_data --output-dir ./inference_results --visualize --num-samples 50 --score-thr 0.5
2(ax_env) root@ax650:~/data# python inference_axmodel.py ./centerpoint.axmodel ./extracted_data/config.json ./extracted_data --output-dir ./inference_results --visualize --num-samples 50 --score-thr 0.5
[INFO] Available providers: ['AxEngineExecutionProvider']
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.12.0s
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.1-patch1 ed388aa0
Processing 50 samples...
Inference: 100%|████████████████████████████████████████████████████████████████████████| 50/50 [00:47<00:00, 1.06it/s]
Creating video: 100%|███████████████████████████████████████████████████████████████████| 50/50 [00:02<00:00, 23.32it/s]
Done! 50 frames, 12836 detections, saved to ./inference_results