heal
horizon
zacxr commited on
Commit
e3d5217
·
verified ·
1 Parent(s): 83d5d02

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -0
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - heal
5
+ - horizon
6
+ ---
7
+
8
+ # EfficientNet-B0
9
+
10
+ EfficientNet-B0 consists of MBConv (mobile inverted bottleneck) convolution blocks, scaled jointly in depth/width/resolution via compound scaling; this config uses ReLU activation and disables SE Block (better suited for BPU quantization deployment).
11
+
12
+ ---
13
+
14
+ ## Deployment Metrics
15
+
16
+ ### Model Parameters
17
+
18
+ | Model | Model Input | Backbone | Neck | Model Output |
19
+ |---|---|---|---|---|
20
+ | EfficientNet-B0 | `1x3x224x224` | EfficientNet-B0 | — | Classification logits `(B,1000)` |
21
+
22
+ ### Accuracy Metrics
23
+
24
+ | March | Metric | float | calibration | qat | hbm |
25
+ | --- | --- | --- | --- | --- | --- |
26
+ | J6M | Accuracy | 0.7491 | 0.7433 | — | 0.7436 |
27
+ | | TopKAccuracy(5) | — | — | — | — |
28
+
29
+ > Results are based on `march = March.NASH_M` (J6M) configuration; this task has no QAT stage (qat column is `—`).
30
+ >
31
+ > HEAL version: heal 0.0.2 / hbdk4-compiler 4.11.11 / horizon_plugin_pytorch 3.3.10.
32
+
33
+ ### Performance Metrics
34
+
35
+ > **Performance measurement**: FPS is measured with single-core eight-thread; 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.40 | 4938.45 | 8.90 |
40
+ | J6P | 0.35 | 10480.93 | 9.00 |
41
+ | J6B | - | - | - |
42
+
43
+ J6B performance is not available for this model.
44
+
45
+ ---
46
+
47
+ ## Model Overview
48
+
49
+ ### Core Design
50
+
51
+ EfficientNet-B0 consists of MBConv (mobile inverted bottleneck) convolution blocks, scaled jointly in depth/width/resolution via compound scaling; this config uses ReLU activation and disables SE Block (better suited for BPU quantization deployment).
52
+
53
+ - **Task type**: Image classification (Image Classification).
54
+ - **backbone**: EfficientNet-B0 (`efficientnet`, `model_type="b0"`, `activation="relu"`, `use_se_block=False`, `num_classes=1000`), composed of MBConv blocks scaled via compound scaling in depth/width/resolution; this config uses ReLU activation and disables SE Block (better suited for BPU quantization deployment).
55
+ - **neck**: — (EfficientNet-B0 has built-in fully-connected classification head; no separate neck).
56
+ - **Classification head**: EfficientNet-B0 built-in fully-connected classification head, directly outputs 1000-class logits.
57
+ - **Loss**: `CEWithLabelSmooth` (cross-entropy with label smoothing).
58
+ - **Model input**: Single RGB image, resolution `224 × 224` (`1x3x224x224`).
59
+ - **Model output**: 1000-class prediction logits; argmax gives predicted class.
60
+
61
+ ### Official Repo and Paper
62
+
63
+ Official repo: https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet
64
+ Paper: https://arxiv.org/abs/1905.11946