Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ tags:
|
|
| 16 |
|
| 17 |
# CenterPoint on Axera NPU
|
| 18 |
|
| 19 |
-
This repository contains the [CenterPoint](https://arxiv.org/abs/2006.11275) model converted for high-performance inference on the Axera NPU. CenterPoint is a center-based framework for 3D object detection and tracking that represents objects as points, significantly simplifying the detection pipeline
|
| 20 |
|
| 21 |
This version is optimized with **w8a16** quantization and is compatible with **Pulsar2 version 4.2**.
|
| 22 |
|
|
@@ -32,13 +32,22 @@ For model conversion and deployment guidance:
|
|
| 32 |
- [M4N-Dock (爱芯派Pro)](https://wiki.sipeed.com/hardware/zh/maixIV/m4ndock/m4ndock.html)
|
| 33 |
- [M.2 Accelerator card](https://axcl-docs.readthedocs.io/zh-cn/latest/doc_guide_hardware.html)
|
| 34 |
|
| 35 |
-
| Chips | Model Variant | NPU3 Latency (
|
| 36 |
-
|---|---|---|
|
| 37 |
-
| AX650 | CenterPoint-Pillar |
|
| 38 |
|
| 39 |
## How to Use
|
| 40 |
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
### Prerequisites
|
| 44 |
|
|
@@ -53,7 +62,8 @@ CenterPoint requires 3D point cloud inputs (typically LiDAR data in `.bin` or `.
|
|
| 53 |
Run the inference script by providing the compiled model, configuration, and data directory.
|
| 54 |
|
| 55 |
```bash
|
| 56 |
-
python inference_axmodel.py
|
|
|
|
| 57 |
```
|
| 58 |
|
| 59 |
### Inference with AX650 Host
|
|
|
|
| 16 |
|
| 17 |
# CenterPoint on Axera NPU
|
| 18 |
|
| 19 |
+
This repository contains the [CenterPoint](https://arxiv.org/abs/2006.11275) model converted for high-performance inference on the Axera NPU. CenterPoint is a center-based framework for 3D object detection and tracking that represents objects as points, significantly simplifying the detection pipeline on LiDAR point clouds.
|
| 20 |
|
| 21 |
This version is optimized with **w8a16** quantization and is compatible with **Pulsar2 version 4.2**.
|
| 22 |
|
|
|
|
| 32 |
- [M4N-Dock (爱芯派Pro)](https://wiki.sipeed.com/hardware/zh/maixIV/m4ndock/m4ndock.html)
|
| 33 |
- [M.2 Accelerator card](https://axcl-docs.readthedocs.io/zh-cn/latest/doc_guide_hardware.html)
|
| 34 |
|
| 35 |
+
| Chips | Model Variant | NPU3 Latency (ms) |
|
| 36 |
+
|---|---|---|
|
| 37 |
+
| AX650 | CenterPoint-Pillar | 88.334 |
|
| 38 |
|
| 39 |
## How to Use
|
| 40 |
|
| 41 |
+
Download the repository and ensure the directory structure is organized as follows:
|
| 42 |
+
|
| 43 |
+
```text
|
| 44 |
+
.
|
| 45 |
+
├── centerpoint.axmodel # The compiled Axera model
|
| 46 |
+
├── inference_axmodel.py # Main inference script
|
| 47 |
+
└── inference_data/ # Input directory
|
| 48 |
+
├── config/ # Configuration files (e.g., inference_config.json)
|
| 49 |
+
└── data/ # Data files (LiDAR point clouds)
|
| 50 |
+
|
| 51 |
|
| 52 |
### Prerequisites
|
| 53 |
|
|
|
|
| 62 |
Run the inference script by providing the compiled model, configuration, and data directory.
|
| 63 |
|
| 64 |
```bash
|
| 65 |
+
python inference_axmodel.py centerpoint.axmodel inference_data/config/inference_config.json inference_data/data/ --output-dir inference_results
|
| 66 |
+
|
| 67 |
```
|
| 68 |
|
| 69 |
### Inference with AX650 Host
|