Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- heal
|
| 5 |
+
- horizon
|
| 6 |
+
- lidar
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# CenterPoint (PointPillars)
|
| 10 |
+
|
| 11 |
+
CenterPoint (PointPillars variant) voxelizes lidar point clouds into pillars, learns pillar features via `PillarFeatureNet` and scatters them into a 2D pseudo-image via `PointPillarScatter`, extracts multi-scale features via `SECONDNeck`, and `CenterPointHead` regresses box center, size, orientation, and velocity in an anchor-free manner to output 3D bounding boxes. Training uses CBGS (Class-Balanced Grouping and Sampling) data augmentation.
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## Deployment Metrics
|
| 16 |
+
|
| 17 |
+
### Model Parameters
|
| 18 |
+
|
| 19 |
+
| Model | Model Input | Backbone | Neck | Model Output |
|
| 20 |
+
|---|---|---|---|---|
|
| 21 |
+
| CenterPoint | lidar point cloud `(B,N,5)` | PointPillarScatter | SECONDNeck | 3D bounding boxes `(B,N,cls+reg)` |
|
| 22 |
+
|
| 23 |
+
### Accuracy Metrics
|
| 24 |
+
|
| 25 |
+
| March | Metric | float | calibration | qat | hbm |
|
| 26 |
+
| --- | --- | --- | --- | --- | --- |
|
| 27 |
+
| J6M | NDS | 0.5865 | 0.5703 | 0.5853 | 0.5846 |
|
| 28 |
+
| | mAP | 0.474 | 0.4487 | 0.4699 | 0.4693 |
|
| 29 |
+
|
| 30 |
+
> Results measured with `march = March.NASH_M` (J6M) configuration.
|
| 31 |
+
>
|
| 32 |
+
> HEAL version: heal 0.0.2 / hbdk4-compiler 4.11.11 / horizon_plugin_pytorch 3.3.10.
|
| 33 |
+
|
| 34 |
+
### Performance Metrics
|
| 35 |
+
|
| 36 |
+
> **Performance benchmark**: FPS is measured with single-core 8 threads; latency is single-core single-thread; memory is peak DDR usage.
|
| 37 |
+
|
| 38 |
+
| March | latency (ms) | fps | Memory Usage |
|
| 39 |
+
|---|---|---|---|
|
| 40 |
+
| J6M | 9.23 | 183.98 | 51.10 |
|
| 41 |
+
| J6P | 7.56 | 833.52 | 47.20 |
|
| 42 |
+
| J6B | - | - | - |
|
| 43 |
+
|
| 44 |
+
J6B performance is not available for this model.
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## Model Overview
|
| 49 |
+
|
| 50 |
+
### Core Design
|
| 51 |
+
|
| 52 |
+
CenterPoint (PointPillars variant) voxelizes lidar point clouds into pillars, learns pillar features via `PillarFeatureNet` and scatters them into a 2D pseudo-image via `PointPillarScatter`, extracts multi-scale features via `SECONDNeck`, and `CenterPointHead` regresses box center, size, orientation, and velocity in an anchor-free manner to output 3D bounding boxes. Training uses CBGS (Class-Balanced Grouping and Sampling) data augmentation.
|
| 53 |
+
|
| 54 |
+
- **Task type**: 3D object detection (3D Object Detection, lidar).
|
| 55 |
+
- **backbone**: `PillarFeatureNet` (`num_input_features=5`, `num_filters=(64)`, learns pillar features) + `PointPillarScatter` (`num_input_features=64`, `use_horizon_pillar_scatter=True`, scatters pillar features into 2D pseudo-image).
|
| 56 |
+
- **neck**: `SECONDNeck` (`in_feature_channel=64`, `down_layer_nums=[3,5,5]`, `down_layer_channels=[64,128,256]`, `up_layer_channels=[128,128,128]`, multi-scale feature extraction).
|
| 57 |
+
- **Detection head**: `CenterPointHead` (anchor-free, `common_heads=dict(reg=(2,2), height=(1,2), dim=(3,2), rot=(2,2), vel=(2,2))`, `with_velocity=True`).
|
| 58 |
+
- **Loss function**: `CenterPointLoss` (`GaussianFocalLoss` cls + `L1Loss` reg).
|
| 59 |
+
- **Model input**: lidar point cloud `(B,N,5)` (`point_cloud_range=[-51.2,-51.2,-5.0,51.2,51.2,3.0]`, `voxel_size=[0.2,0.2,8]`, `max_num_points=20`, `max_voxels=(30000,40000)`, `load_dim=5`, `use_dim=[0,1,2,3,4]`, `num_sweeps=9`).
|
| 60 |
+
- **Model output**: 10-class 3D bounding boxes (`class_names` = `[car, truck, construction_vehicle, bus, trailer, barrier, motorcycle, bicycle, pedestrian, traffic_cone]`), `(B,N,cls+reg)`.
|
| 61 |
+
|
| 62 |
+
### Official Repo and Paper
|
| 63 |
+
|
| 64 |
+
Official repo: https://github.com/tianweiy/CenterPoint
|
| 65 |
+
Paper: https://arxiv.org/abs/2006.11275
|
| 66 |
+
|
| 67 |
+
### Reference
|
| 68 |
+
|
| 69 |
+
For more J6 chip deployment details, see https://developer.horizon.auto/blog/10360
|