Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -35,39 +35,39 @@ More details on model performance across various devices, can be found
|
|
35 |
|
36 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
37 |
|---|---|---|---|---|---|---|---|---|
|
38 |
-
| Inception-v3 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 1.
|
39 |
-
| Inception-v3 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 1.
|
40 |
-
| Inception-v3 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 1.
|
41 |
-
| Inception-v3 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.
|
42 |
-
| Inception-v3 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 1.054 ms |
|
43 |
-
| Inception-v3 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.
|
44 |
-
| Inception-v3 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.
|
45 |
-
| Inception-v3 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN |
|
46 |
-
| Inception-v3 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.
|
47 |
-
| Inception-v3 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 1.
|
48 |
-
| Inception-v3 | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 1.
|
49 |
-
| Inception-v3 | SA7255P ADP | SA7255P | TFLITE | 57.
|
50 |
-
| Inception-v3 | SA7255P ADP | SA7255P | QNN | 58.
|
51 |
-
| Inception-v3 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 1.
|
52 |
-
| Inception-v3 | SA8255 (Proxy) | SA8255P Proxy | QNN | 1.
|
53 |
-
| Inception-v3 | SA8295P ADP | SA8295P | TFLITE | 2.
|
54 |
-
| Inception-v3 | SA8295P ADP | SA8295P | QNN | 2.
|
55 |
-
| Inception-v3 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 1.335 ms | 0 -
|
56 |
-
| Inception-v3 | SA8650 (Proxy) | SA8650P Proxy | QNN | 1.
|
57 |
-
| Inception-v3 | SA8775P ADP | SA8775P | TFLITE | 2.
|
58 |
-
| Inception-v3 | SA8775P ADP | SA8775P | QNN | 2.
|
59 |
-
| Inception-v3 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 2.
|
60 |
-
| Inception-v3 | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 2.
|
61 |
-
| Inception-v3 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.
|
62 |
-
| Inception-v3 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
## Installation
|
68 |
|
69 |
-
This model can be installed as a Python package via pip.
|
70 |
|
|
|
71 |
```bash
|
72 |
pip install qai-hub-models
|
73 |
```
|
@@ -151,7 +151,7 @@ from qai_hub_models.models.inception_v3 import Model
|
|
151 |
torch_model = Model.from_pretrained()
|
152 |
|
153 |
# Device
|
154 |
-
device = hub.Device("Samsung Galaxy
|
155 |
|
156 |
# Trace model
|
157 |
input_shape = torch_model.get_input_spec()
|
@@ -243,7 +243,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
|
243 |
|
244 |
|
245 |
## License
|
246 |
-
* The license for the original implementation of Inception-v3 can be found
|
|
|
247 |
* 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)
|
248 |
|
249 |
|
|
|
35 |
|
36 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
37 |
|---|---|---|---|---|---|---|---|---|
|
38 |
+
| Inception-v3 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 1.334 ms | 0 - 192 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
39 |
+
| Inception-v3 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 1.408 ms | 1 - 143 MB | FP16 | NPU | [Inception-v3.so](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.so) |
|
40 |
+
| Inception-v3 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 1.741 ms | 0 - 223 MB | FP16 | NPU | [Inception-v3.onnx](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.onnx) |
|
41 |
+
| Inception-v3 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.997 ms | 0 - 24 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
42 |
+
| Inception-v3 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 1.054 ms | 1 - 24 MB | FP16 | NPU | [Inception-v3.so](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.so) |
|
43 |
+
| Inception-v3 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.317 ms | 0 - 27 MB | FP16 | NPU | [Inception-v3.onnx](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.onnx) |
|
44 |
+
| Inception-v3 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.955 ms | 0 - 21 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
45 |
+
| Inception-v3 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 1.002 ms | 1 - 20 MB | FP16 | NPU | Use Export Script |
|
46 |
+
| Inception-v3 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.301 ms | 1 - 23 MB | FP16 | NPU | [Inception-v3.onnx](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.onnx) |
|
47 |
+
| Inception-v3 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 1.33 ms | 0 - 192 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
48 |
+
| Inception-v3 | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 1.46 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
|
49 |
+
| Inception-v3 | SA7255P ADP | SA7255P | TFLITE | 57.906 ms | 0 - 16 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
50 |
+
| Inception-v3 | SA7255P ADP | SA7255P | QNN | 58.12 ms | 1 - 10 MB | FP16 | NPU | Use Export Script |
|
51 |
+
| Inception-v3 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 1.336 ms | 0 - 192 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
52 |
+
| Inception-v3 | SA8255 (Proxy) | SA8255P Proxy | QNN | 1.465 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
|
53 |
+
| Inception-v3 | SA8295P ADP | SA8295P | TFLITE | 2.563 ms | 0 - 20 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
54 |
+
| Inception-v3 | SA8295P ADP | SA8295P | QNN | 2.858 ms | 0 - 14 MB | FP16 | NPU | Use Export Script |
|
55 |
+
| Inception-v3 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 1.335 ms | 0 - 182 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
56 |
+
| Inception-v3 | SA8650 (Proxy) | SA8650P Proxy | QNN | 1.477 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
|
57 |
+
| Inception-v3 | SA8775P ADP | SA8775P | TFLITE | 2.611 ms | 0 - 16 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
58 |
+
| Inception-v3 | SA8775P ADP | SA8775P | QNN | 2.857 ms | 1 - 10 MB | FP16 | NPU | Use Export Script |
|
59 |
+
| Inception-v3 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 2.1 ms | 0 - 22 MB | FP16 | NPU | [Inception-v3.tflite](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.tflite) |
|
60 |
+
| Inception-v3 | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 2.179 ms | 1 - 25 MB | FP16 | NPU | Use Export Script |
|
61 |
+
| Inception-v3 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.464 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
|
62 |
+
| Inception-v3 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.677 ms | 48 - 48 MB | FP16 | NPU | [Inception-v3.onnx](https://huggingface.co/qualcomm/Inception-v3/blob/main/Inception-v3.onnx) |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
## Installation
|
68 |
|
|
|
69 |
|
70 |
+
Install the package via pip:
|
71 |
```bash
|
72 |
pip install qai-hub-models
|
73 |
```
|
|
|
151 |
torch_model = Model.from_pretrained()
|
152 |
|
153 |
# Device
|
154 |
+
device = hub.Device("Samsung Galaxy S24")
|
155 |
|
156 |
# Trace model
|
157 |
input_shape = torch_model.get_input_spec()
|
|
|
243 |
|
244 |
|
245 |
## License
|
246 |
+
* The license for the original implementation of Inception-v3 can be found
|
247 |
+
[here](https://github.com/pytorch/vision/blob/main/LICENSE).
|
248 |
* 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)
|
249 |
|
250 |
|