Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- heal
|
| 5 |
+
- horizon
|
| 6 |
+
- bev
|
| 7 |
+
- lidar
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# BevFusion+PointPillar+HENet Multisensor Multitask
|
| 11 |
+
|
| 12 |
+
The BevFusion multisensor multitask model extracts BEV features via dual branches: the camera branch uses HENet to extract multi-view features, then BevFormer ViewTransformer to BEV; the lidar branch uses PointPillars (`PillarFeatureNet` + `PointPillarScatter` + `SECONDNeck`) to voxelize point clouds and extract BEV features. Fused BEV features feed CenterPoint detection head (3D object detection) and occupancy head (semantic occupancy prediction) for joint det+occ training.
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
## Deployment Metrics
|
| 17 |
+
|
| 18 |
+
### Model Parameters
|
| 19 |
+
|
| 20 |
+
| Model | Model Input | Backbone | Neck | Model Output |
|
| 21 |
+
|---|---|---|---|---|
|
| 22 |
+
| BevFusion | 6-camera multi-view images `(B,6,3,512,960)` + lidar point cloud `(B,N,5)` | PointPillar (lidar) + HENet (camera) | FPN (camera) + SECONDNeck (lidar) | det bounding boxes `(B,N,cls+reg)`; occ occupancy grid `(B,C,H,W)` |
|
| 23 |
+
|
| 24 |
+
### Accuracy Metrics
|
| 25 |
+
|
| 26 |
+
| March | Metric | float | calibration | qat | hbm |
|
| 27 |
+
| --- | --- | --- | --- | --- | --- |
|
| 28 |
+
| J6M | NDS | 0.6421 | 0.6301 | — | 0.6294 |
|
| 29 |
+
| | mAP | 0.5825 | 0.5724 | — | 0.5726 |
|
| 30 |
+
| | Occ mIoU | 0.5187 | 0.52 | — | 0.5206 |
|
| 31 |
+
|
| 32 |
+
> Results measured with `march = March.NASH_M` (J6M) configuration; this task has no QAT stage (qat column is `—`).
|
| 33 |
+
>
|
| 34 |
+
> HEAL version: heal 0.0.2 / hbdk4-compiler 4.11.11 / horizon_plugin_pytorch 3.3.10.
|
| 35 |
+
|
| 36 |
+
### Performance Metrics
|
| 37 |
+
|
| 38 |
+
> **Performance benchmark**: FPS is measured with single-core 8 threads; latency is single-core single-thread; memory is peak DDR usage.
|
| 39 |
+
|
| 40 |
+
| March | latency (ms) | fps | Memory Usage |
|
| 41 |
+
|---|---|---|---|
|
| 42 |
+
| J6M | 23.93 | 49.41 | 187.10 |
|
| 43 |
+
| J6P | 16.87 | 281.67 | 195.70 |
|
| 44 |
+
| J6B | - | - | - |
|
| 45 |
+
|
| 46 |
+
J6B performance is not available for this model.
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## Model Overview
|
| 51 |
+
|
| 52 |
+
### Core Design
|
| 53 |
+
|
| 54 |
+
The BevFusion multisensor multitask model extracts BEV features via dual branches: the camera branch uses HENet to extract multi-view features, then BevFormer ViewTransformer to BEV; the lidar branch uses PointPillars (`PillarFeatureNet` + `PointPillarScatter` + `SECONDNeck`) to voxelize point clouds and extract BEV features. Fused BEV features feed CenterPoint detection head (3D object detection) and occupancy head (semantic occupancy prediction) for joint det+occ training.
|
| 55 |
+
|
| 56 |
+
- **Task type**: Multisensor multitask fusion (3D object detection + occupancy grid prediction).
|
| 57 |
+
- **backbone**: Camera HENet (multi-view feature extraction) + lidar PointPillars (`PillarFeatureNet` + `PointPillarScatter`).
|
| 58 |
+
- **neck**: Camera FPN + lidar SECONDNeck.
|
| 59 |
+
- **Detection head**: CenterPoint detection head, outputting 10-class 3D bounding boxes + velocity (`num_classes=10`).
|
| 60 |
+
- **Occupancy head**: Semantic occupancy prediction, 18 classes (`num_classes_occ=18`).
|
| 61 |
+
- **BEV range**: `bev_size=(51.2, 51.2, 0.8)`, `bev_size_occ=(40, 40)`; `point_cloud_range=[-51.2,-51.2,-5.0,51.2,51.2,3.0]`.
|
| 62 |
+
- **Model input**: 6-camera multi-view images (B,6,3,512,960) + lidar point cloud (B,N,D).
|
| 63 |
+
- **Model output**: det 3D bounding boxes + occ occupancy grid semantics.
|
| 64 |
+
|
| 65 |
+
**Deployment note**: HBIR export enables `enable_vpu=True`; compilation uses `input_source="ddr, ddr, pyramid, ddr, ddr, ddr, ddr"` (DDR preferred; lidar features read from DDR).
|
| 66 |
+
|
| 67 |
+
### Official Repo and Paper
|
| 68 |
+
|
| 69 |
+
Official repo: https://github.com/mit-han-lab/bevfusion
|
| 70 |
+
Paper: https://arxiv.org/abs/2205.13542
|
| 71 |
+
|
| 72 |
+
Note: Camera branch is BevFormer, lidar branch is PointPillars/CenterPoint; camera backbone HENet is a HEAL in-house implementation; the official repo uses a different backbone.
|