heal
horizon
zacxr commited on
Commit
6bfcdc3
·
verified ·
1 Parent(s): bed781a

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
+ # ResNet-50
9
+
10
+ ResNet-50 consists of 4 stages of residual blocks; each stage downsamples via stride=2, then global average pooling followed by a fully connected layer outputs class probabilities.
11
+
12
+ ---
13
+
14
+ ## Deployment Metrics
15
+
16
+ ### Model Parameters
17
+
18
+ | Model | Model Input | Backbone | Neck | Model Output |
19
+ |---|---|---|---|---|
20
+ | ResNet-50 | `1x3x224x224` | ResNet-50 | — | Classification logits `(B,1000)` |
21
+
22
+ ### Accuracy Metrics
23
+
24
+ | March | Metric | float | calibration | qat | hbm |
25
+ | --- | --- | --- | --- | --- | --- |
26
+ | J6M | Accuracy | 0.774 | 0.7721 | — | 0.7691 |
27
+ | | TopKAccuracy(5) | — | — | — | — |
28
+
29
+ > Data measured with `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 test methodology**: 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.90 | 1493.65 | 28.80 |
40
+ | J6P | 0.59 | 6008.89 | 29.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
+ ResNet-50 consists of 4 stages of residual blocks; each stage downsamples via stride=2, then global average pooling followed by a fully connected layer outputs class probabilities.
52
+
53
+ - **Task type**: Image classification (Image Classification).
54
+ - **backbone**: ResNet-50 (`ResNet50`, `num_classes=1000`), 4 stages of residual blocks, each stage downsamples via stride=2.
55
+ - **neck**: — (ResNet-50 has built-in fully connected classification head, no standalone neck).
56
+ - **Classification head**: ResNet-50 built-in fully connected classification head, directly outputs 1000-class logits.
57
+ - **Loss function**: `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/pytorch/vision (torchvision ResNet implementation)
64
+ Paper: https://arxiv.org/abs/1512.03385