Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ tags:
|
|
18 |
|
19 |
FFNet-40S-Quantized is a "fuss-free network" that segments street scene images with per-pixel classes like road, sidewalk, and pedestrian. Trained on the Cityscapes dataset.
|
20 |
|
21 |
-
This model is an implementation of FFNet-40S-Quantized found [here](
|
22 |
This repository provides scripts to run FFNet-40S-Quantized on Qualcomm® devices.
|
23 |
More details on model performance across various devices, can be found
|
24 |
[here](https://aihub.qualcomm.com/models/ffnet_40s_quantized).
|
@@ -34,14 +34,25 @@ More details on model performance across various devices, can be found
|
|
34 |
- Model size: 13.5 MB
|
35 |
- Number of output classes: 19
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
|
39 |
|
40 |
-
| Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
41 |
-
| ---|---|---|---|---|---|---|---|
|
42 |
-
| Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 4.11 ms | 1 - 17 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite)
|
43 |
-
|
44 |
-
|
45 |
|
46 |
## Installation
|
47 |
|
@@ -97,7 +108,17 @@ device. This script does the following:
|
|
97 |
```bash
|
98 |
python -m qai_hub_models.models.ffnet_40s_quantized.export
|
99 |
```
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
|
103 |
|
@@ -135,15 +156,19 @@ provides instructions on how to use the `.so` shared library in an Android appl
|
|
135 |
Get more details on FFNet-40S-Quantized's performance across various devices [here](https://aihub.qualcomm.com/models/ffnet_40s_quantized).
|
136 |
Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
137 |
|
|
|
138 |
## License
|
139 |
-
|
140 |
-
|
141 |
-
|
|
|
142 |
|
143 |
## References
|
144 |
* [Simple and Efficient Architectures for Semantic Segmentation](https://arxiv.org/abs/2206.08236)
|
145 |
* [Source Model Implementation](https://github.com/Qualcomm-AI-research/FFNet)
|
146 |
|
|
|
|
|
147 |
## Community
|
148 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
149 |
* For questions or feedback please [reach out to us](mailto:[email protected]).
|
|
|
18 |
|
19 |
FFNet-40S-Quantized is a "fuss-free network" that segments street scene images with per-pixel classes like road, sidewalk, and pedestrian. Trained on the Cityscapes dataset.
|
20 |
|
21 |
+
This model is an implementation of FFNet-40S-Quantized found [here]({source_repo}).
|
22 |
This repository provides scripts to run FFNet-40S-Quantized on Qualcomm® devices.
|
23 |
More details on model performance across various devices, can be found
|
24 |
[here](https://aihub.qualcomm.com/models/ffnet_40s_quantized).
|
|
|
34 |
- Model size: 13.5 MB
|
35 |
- Number of output classes: 19
|
36 |
|
37 |
+
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
38 |
+
|---|---|---|---|---|---|---|---|---|
|
39 |
+
| FFNet-40S-Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 4.177 ms | 1 - 3 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
40 |
+
| FFNet-40S-Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 8.966 ms | 0 - 11 MB | INT8 | NPU | [FFNet-40S-Quantized.onnx](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.onnx) |
|
41 |
+
| FFNet-40S-Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 2.927 ms | 1 - 63 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
42 |
+
| FFNet-40S-Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 6.409 ms | 4 - 107 MB | INT8 | NPU | [FFNet-40S-Quantized.onnx](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.onnx) |
|
43 |
+
| FFNet-40S-Quantized | RB3 Gen 2 (Proxy) | QCS6490 Proxy | TFLITE | 27.414 ms | 3 - 42 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
44 |
+
| FFNet-40S-Quantized | RB5 (Proxy) | QCS8250 Proxy | TFLITE | 189.84 ms | 1 - 14 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
45 |
+
| FFNet-40S-Quantized | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 4.061 ms | 1 - 2 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
46 |
+
| FFNet-40S-Quantized | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 4.154 ms | 1 - 8 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
47 |
+
| FFNet-40S-Quantized | SA8775 (Proxy) | SA8775P Proxy | TFLITE | 4.147 ms | 1 - 3 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
48 |
+
| FFNet-40S-Quantized | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 4.123 ms | 0 - 185 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
49 |
+
| FFNet-40S-Quantized | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 5.144 ms | 0 - 67 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
50 |
+
| FFNet-40S-Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 2.516 ms | 1 - 31 MB | INT8 | NPU | [FFNet-40S-Quantized.tflite](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.tflite) |
|
51 |
+
| FFNet-40S-Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 5.339 ms | 0 - 51 MB | INT8 | NPU | [FFNet-40S-Quantized.onnx](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.onnx) |
|
52 |
+
| FFNet-40S-Quantized | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 9.156 ms | 10 - 10 MB | INT8 | NPU | [FFNet-40S-Quantized.onnx](https://huggingface.co/qualcomm/FFNet-40S-Quantized/blob/main/FFNet-40S-Quantized.onnx) |
|
53 |
|
54 |
|
55 |
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
## Installation
|
58 |
|
|
|
108 |
```bash
|
109 |
python -m qai_hub_models.models.ffnet_40s_quantized.export
|
110 |
```
|
111 |
+
```
|
112 |
+
Profiling Results
|
113 |
+
------------------------------------------------------------
|
114 |
+
FFNet-40S-Quantized
|
115 |
+
Device : Samsung Galaxy S23 (13)
|
116 |
+
Runtime : TFLITE
|
117 |
+
Estimated inference time (ms) : 4.2
|
118 |
+
Estimated peak memory usage (MB): [1, 3]
|
119 |
+
Total # Ops : 99
|
120 |
+
Compute Unit(s) : NPU (99 ops)
|
121 |
+
```
|
122 |
|
123 |
|
124 |
|
|
|
156 |
Get more details on FFNet-40S-Quantized's performance across various devices [here](https://aihub.qualcomm.com/models/ffnet_40s_quantized).
|
157 |
Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
158 |
|
159 |
+
|
160 |
## License
|
161 |
+
* The license for the original implementation of FFNet-40S-Quantized can be found [here](https://github.com/Qualcomm-AI-research/FFNet/blob/master/LICENSE).
|
162 |
+
* The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
|
163 |
+
|
164 |
+
|
165 |
|
166 |
## References
|
167 |
* [Simple and Efficient Architectures for Semantic Segmentation](https://arxiv.org/abs/2206.08236)
|
168 |
* [Source Model Implementation](https://github.com/Qualcomm-AI-research/FFNet)
|
169 |
|
170 |
+
|
171 |
+
|
172 |
## Community
|
173 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
174 |
* For questions or feedback please [reach out to us](mailto:[email protected]).
|