zacxr commited on
Commit
f19809a
·
verified ·
1 Parent(s): 408014d

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - heal
5
+ - horizon
6
+ ---
7
+
8
+ # HENet-tinyM
9
+
10
+ HENet uses depthwise conv to build lightweight blocks with LayerScale for stable training; the tiny-M configuration has widths 64/128/192/384 and depths 4/3/8/6, with GroupDWCB in the first stage and parameter count in the tiny range.
11
+
12
+ ---
13
+
14
+ ## Deployment Metrics
15
+
16
+ ### Model Parameters
17
+
18
+ | Model | Model Input | Backbone | Neck | Model Output |
19
+ |---|---|---|---|---|
20
+ | HENet-tinym | `1x3x224x224` | HENet | — | classification logits `(B,1000)` |
21
+
22
+ ### Accuracy Metrics
23
+
24
+ | March | Metric | float | calibration | qat | hbm |
25
+ | --- | --- | --- | --- | --- | --- |
26
+ | J6M | Accuracy | 0.784 | 0.7795 | — | 0.7801 |
27
+ | | TopKAccuracy(5) | — | — | — | — |
28
+
29
+ > Data tested with `march = March.NASH_M` (J6M); this task has no QAT stage (`—` in the qat column).
30
+ >
31
+ > HEAL versions: heal 0.0.2 / hbdk4-compiler 4.11.11 / horizon_plugin_pytorch 3.3.10.
32
+
33
+ ### Performance Metrics
34
+
35
+ > **Performance test methodology**: FPS is measured with 8 threads on a single core; Latency is measured with single core, single thread; Memory is peak DDR usage.
36
+
37
+ | March | latency (ms) | fps | Memory Usage |
38
+ |---|---|---|---|
39
+ | J6M | 0.51 | 3435.50 | 12.90 |
40
+ | J6P | 0.41 | 11410.39 | 13.10 |
41
+ | J6B | - | - | - |
42
+
43
+ J6B performance is not available for this model.
44
+
45
+ ---
46
+
47
+ ## Model Overview
48
+
49
+ ### Core Design
50
+
51
+ HENet uses depthwise conv to build lightweight blocks with LayerScale for stable training; the tiny-M configuration has widths 64/128/192/384 and depths 4/3/8/6, with GroupDWCB in the first stage and parameter count in the tiny range.
52
+
53
+ - **Task type**: Image Classification.
54
+ - **backbone**: HENet (tiny-M configuration, `depth/block_nums=[4,3,8,6]`, `width/embed_dims=[64,128,192,384]`, `block_cls=["GroupDWCB","GroupDWCB","AltDWCB","DWCB"]`, GELU activation, LayerScale, S2D downsampling, `num_classes=1000`), uses depthwise conv to build lightweight blocks with LayerScale for stable training; first stage uses GroupDWCB.
55
+ - **neck**: — (HENet has a built-in fully connected classification head; no separate neck).
56
+ - **classification head**: HENet built-in fully connected classification head (`include_top=True`, `feature_mix_channel=1024`).
57
+ - **Loss function**: `SoftTargetCrossEntropy` (soft-label cross-entropy with mixup).
58
+ - **Model input**: single RGB image at resolution `224 × 224` (`1x3x224x224`).
59
+ - **Model output**: 1000-class prediction logits; argmax gives the predicted class.
60
+
61
+ ### Official Repo and Paper
62
+
63
+ HybridEfficient Network is an efficient backbone designed by Horizon Robotics for the Journey series chips.
64
+
65
+ ### Reference
66
+
67
+ For more J6 chip deployment details, see https://developer.horizon.auto/blog/10144