Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- heal
|
| 5 |
+
- horizon
|
| 6 |
+
- bev
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# BEV (ResNet-50)
|
| 10 |
+
|
| 11 |
+
This model follows the LSS (Lift-Splat-Shoot) view transformation approach: 6 camera images are processed by ResNet-50 + FPN for multi-scale features, projected to the BEV plane via LSSTransformer, encoded by BevEncoder, and finally predicted on the BEV grid by CenterPointHead for 3D bounding boxes.
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## Deployment Metrics
|
| 16 |
+
|
| 17 |
+
### Model Parameters
|
| 18 |
+
|
| 19 |
+
| Model | Model Input | Backbone | Neck | Model Output |
|
| 20 |
+
|---|---|---|---|---|
|
| 21 |
+
| BEV-VTv2 | 6-camera multi-view images `(B,6,3,256,704)` | ResNet-50 | FPN | BEV grid 3D bounding boxes `(B,N,cls+reg)` |
|
| 22 |
+
|
| 23 |
+
### Accuracy Metrics
|
| 24 |
+
|
| 25 |
+
| March | Metric | float | calibration | qat | hbm |
|
| 26 |
+
| --- | --- | --- | --- | --- | --- |
|
| 27 |
+
| J6M | NDS | 0.3603 | 0.3546 | 0.3564 | 0.3539 |
|
| 28 |
+
| | mAP | 0.2833 | 0.2799 | 0.2805 | 0.2797 |
|
| 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 | 16.45 | 62.04 | 121.20 |
|
| 41 |
+
| J6P | 11.42 | 347.23 | 123.10 |
|
| 42 |
+
| J6B | - | - | - |
|
| 43 |
+
|
| 44 |
+
J6B performance is not available for this model.
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## Model Overview
|
| 49 |
+
|
| 50 |
+
### Core Design
|
| 51 |
+
|
| 52 |
+
This model follows the LSS (Lift-Splat-Shoot) view transformation approach: 6 camera images are processed by ResNet-50 + FPN for multi-scale features, projected to the BEV plane via LSSTransformer, encoded by BevEncoder, and finally predicted on the BEV grid by CenterPointHead for 3D bounding boxes.
|
| 53 |
+
|
| 54 |
+
- **Task type**: BEV 3D object detection (BEV 3D Object Detection).
|
| 55 |
+
- **backbone**: ResNet-50 (`ResNet50`, `include_top=False`, pretrained `num_classes=1000`).
|
| 56 |
+
- **neck**: FPN (`FPN`, multi-scale feature pyramid, output strides 16/32, `fix_out_channel=256`).
|
| 57 |
+
- **Detection head**: `CenterPointHead` (BEV grid center-point detection head).
|
| 58 |
+
- **Loss function**: `CenterPointLoss` (GaussianFocalLoss + L1Loss).
|
| 59 |
+
- **Model input**: 6-camera multi-view images, `(B,6,3,256,704)` (original `orig_shape=(3,900,1600)` → resize `(3,396,704)` → crop `data_shape=(3,256,704)`, `num_views=6`).
|
| 60 |
+
- **Model output**: 3D bounding boxes on BEV grid (class + center + size + orientation), `CenterPointHead` outputs heatmap + reg/height/dim/rot/vel per task group, `num_classes=10`, decoded via `CenterPointPostProcess` + NMS.
|
| 61 |
+
|
| 62 |
+
### Official Repo and Paper
|
| 63 |
+
|
| 64 |
+
Official repo: https://github.com/HuangJunJie2017/BEVDet
|
| 65 |
+
Paper: https://arxiv.org/pdf/2112.11790
|
| 66 |
+
|
| 67 |
+
Note: Backbone is ResNet-50; detection head is CenterPoint.
|