Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- heal
|
| 5 |
+
- horizon
|
| 6 |
+
- bev
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# BevFormer+HENet Multitask
|
| 10 |
+
|
| 11 |
+
The BevFormer+HENet multitask model uses HENet as the camera backbone to extract multi-view features, then BevFormer ViewTransformer and temporal BEV Encoder to transform them into bird's-eye-view features. BEV features are fed to both a detection head (3D object detection) and an occupancy head (FlashOcc-style semantic occupancy prediction), enabling joint det+occ training.
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## Deployment Metrics
|
| 16 |
+
|
| 17 |
+
### Model Parameters
|
| 18 |
+
|
| 19 |
+
| Model | Model Input | Backbone | Neck | Model Output |
|
| 20 |
+
|---|---|---|---|---|
|
| 21 |
+
| BevFusion | 6-camera multi-view image sequence `(B,6,3,512,960)` | HENet | FPN | det bounding boxes `(B,N,cls+reg)`; occ occupancy grid `(B,C,H,W)` |
|
| 22 |
+
|
| 23 |
+
### Accuracy Metrics
|
| 24 |
+
|
| 25 |
+
| March | Metric | float |
|
| 26 |
+
| --- | --- | --- |
|
| 27 |
+
| J6M | NDS | 0.3573 |
|
| 28 |
+
| | mAP | 0.3017 |
|
| 29 |
+
| | Occ mIoU | 0.3146 |
|
| 30 |
+
|
| 31 |
+
> Results measured with `march = March.NASH_M` (J6M) configuration.
|
| 32 |
+
>
|
| 33 |
+
> HEAL version: heal 0.0.2 / hbdk4-compiler 4.11.11 / horizon_plugin_pytorch 3.3.10.
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## Model Overview
|
| 38 |
+
|
| 39 |
+
### Core Design
|
| 40 |
+
|
| 41 |
+
The BevFormer+HENet multitask model uses HENet as the camera backbone to extract multi-view features, then BevFormer ViewTransformer and temporal BEV Encoder to transform them into bird's-eye-view features. BEV features are fed to both a detection head (3D object detection) and an occupancy head (FlashOcc-style semantic occupancy prediction), enabling joint det+occ training.
|
| 42 |
+
|
| 43 |
+
- **Task type**: Multitask fusion (3D object detection + occupancy grid prediction).
|
| 44 |
+
- **backbone**: HENet (camera feature extraction), extracting multi-view features.
|
| 45 |
+
- **neck**: FPN.
|
| 46 |
+
- **Detection head**: BevFormer detection head, outputting 10-class 3D bounding boxes + velocity (`num_classes=10`).
|
| 47 |
+
- **Occupancy head**: Semantic occupancy prediction, 18 classes (`num_classes_occ=18`).
|
| 48 |
+
- **BEV range**: `bev_size=(51.2, 51.2, 0.8)`, `bev_size_occ=(40, 40)`.
|
| 49 |
+
- **Model input**: 6-camera image sequence `(B,6,3,512,960)` (`queue_length=1`).
|
| 50 |
+
- **Model output**: det 3D bounding boxes + occ occupancy grid semantics `(B,C,H,W)`.
|
| 51 |
+
|
| 52 |
+
### Official Repo and Paper
|
| 53 |
+
|
| 54 |
+
Official repo: https://github.com/fundamentalvision/BevFormer
|
| 55 |
+
Paper: https://arxiv.org/abs/2203.17270
|
| 56 |
+
|
| 57 |
+
Note: The camera backbone HENet is a HEAL in-house implementation; the official repo uses a different backbone.
|