heal
horizon
bev
zacxr commited on
Commit
176388f
·
verified ·
1 Parent(s): 9fca8cd

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - heal
5
+ - horizon
6
+ - bev
7
+ ---
8
+
9
+ # SparseBEV + HENet-tiny
10
+
11
+ SparseBEV performs 3D detection in BEV space via sparse queries: HENet-tiny extracts multi-view camera features, `MMFPN` fuses multi-scale features, `DenseDepthNet` uses lidar point clouds for dense depth supervision during training; `SparseBEVHead` refines sparse queries layer by layer via `MemoryBank` + `SparseBEVEncoder` (with `AsymmetricFFN`, `DeformableFeatureAggregation`, `SparseBEVRefinementModule`) and outputs detection boxes.
12
+
13
+ ---
14
+
15
+ ## Deployment Metrics
16
+
17
+ ### Model Parameters
18
+
19
+ | Model | Model Input | Backbone | Neck | Model Output |
20
+ |---|---|---|---|---|
21
+ | SparseBEV | 6-camera multi-view images `(B,6,3,256,704)` + lidar point cloud `(B,N,5)` | HENet-tiny | MMFPN + DenseDepthNet | 3D bounding boxes `(B,N,cls+reg)` |
22
+
23
+ ### Accuracy Metrics
24
+
25
+ | March | Metric | float | calibration | qat | hbm |
26
+ | --- | --- | --- | --- | --- | --- |
27
+ | J6M | NDS | 0.5414 | 0.5319 | — | 0.5307 |
28
+ | | mAP | 0.4338 | 0.4265 | — | 0.4235 |
29
+
30
+ > Results measured with `march = March.NASH_M` (J6M) configuration; this task has no QAT stage (qat column is `—`).
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 | 10.44 | 98.74 | 74.70 |
41
+ | J6P | 7.39 | 524.54 | 87.80 |
42
+ | J6B | 28.57 | 36.16 | 72.00 |
43
+
44
+ ---
45
+
46
+ ## Model Overview
47
+
48
+ ### Core Design
49
+
50
+ SparseBEV performs 3D detection in BEV space via sparse queries: HENet-tiny extracts multi-view camera features, `MMFPN` fuses multi-scale features, `DenseDepthNet` uses lidar point clouds for dense depth supervision during training; `SparseBEVHead` refines sparse queries layer by layer via `MemoryBank` + `SparseBEVEncoder` (with `AsymmetricFFN`, `DeformableFeatureAggregation`, `SparseBEVRefinementModule`) and outputs detection boxes.
51
+
52
+ - **Task type**: BEV 3D object detection (BEV 3D Object Detection).
53
+ - **backbone**: HENet-tiny (`type=HENet`, `in_channels=3`, 4 stages `[4,3,8,6]` blocks, `embed_dims=[64,128,192,384]`, `GroupDWCB`/`AltDWCB`/`DWCB` blocks, `S2DDown` downsampling; multi-view camera feature extraction).
54
+ - **neck**: `MMFPN` (`in_strides=[2,4,8,16,32]`→`out_strides=[4,8,16,32]`, multi-scale fusion) + `DenseDepthNet` (dense depth supervision from lidar point clouds during training, `num_depth_layers=3`).
55
+ - **Detection head**: `SparseBEVHead` (`MemoryBank` + `SparseBEVEncoder` + `SparseBEVEncoder`, with `AsymmetricFFN`, `DeformableFeatureAggregation`, `SparseBEVRefinementModule`, layer-wise sparse query refinement, `num_classes=10`, `num_decoder=6`, `num_anchors=384`).
56
+ - **Loss function**: `FocalLoss` (cls) + `L1Loss` (reg) + `CrossEntropyLoss` (cns) + `GaussianFocalLoss` (yns).
57
+ - **Model input**: 6-camera multi-view images `(B,6,3,256,704)` + lidar point cloud `(B,N,5)` (`load_dim=5`, `use_dim=[0,1,2,4]`, `num_lidar_sweeps=0`, dense depth GT auxiliary).
58
+ - **Model output**: 10-class 3D bounding boxes (`num_classes=10`), `(B,N,cls+reg)`.
59
+
60
+ ### Official Repo and Paper
61
+
62
+ Official repo: https://github.com/MCG-NJU/SparseBEV
63
+ Paper: https://arxiv.org/abs/2308.09244
64
+
65
+ Note: The camera backbone HENet is a HEAL in-house implementation; the official repo uses a different backbone.
66
+
67
+ ### Reference
68
+
69
+ For more J6 chip deployment details, see https://developer.horizon.auto/blog/12622