qaihm-bot commited on
Commit
cf754ef
·
verified ·
1 Parent(s): f93e145

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +33 -10
README.md CHANGED
@@ -16,7 +16,7 @@ tags:
16
 
17
  DETR is a machine learning model that can detect objects (trained on COCO dataset).
18
 
19
- This model is an implementation of DETR-ResNet101-DC5 found [here](https://github.com/facebookresearch/detr).
20
  This repository provides scripts to run DETR-ResNet101-DC5 on Qualcomm® devices.
21
  More details on model performance across various devices, can be found
22
  [here](https://aihub.qualcomm.com/models/detr_resnet101_dc5).
@@ -31,14 +31,23 @@ More details on model performance across various devices, can be found
31
  - Number of parameters: 61.1M
32
  - Model size: 231 MB
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
 
36
 
37
- | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
38
- | ---|---|---|---|---|---|---|---|
39
- | Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 117.649 ms | 0 - 3 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite)
40
-
41
-
42
 
43
  ## Installation
44
 
@@ -94,7 +103,17 @@ device. This script does the following:
94
  ```bash
95
  python -m qai_hub_models.models.detr_resnet101_dc5.export
96
  ```
97
-
 
 
 
 
 
 
 
 
 
 
98
 
99
 
100
  ## How does this work?
@@ -192,15 +211,19 @@ provides instructions on how to use the `.so` shared library in an Android appl
192
  Get more details on DETR-ResNet101-DC5's performance across various devices [here](https://aihub.qualcomm.com/models/detr_resnet101_dc5).
193
  Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
194
 
 
195
  ## License
196
- - The license for the original implementation of DETR-ResNet101-DC5 can be found
197
- [here](https://github.com/facebookresearch/detr/blob/main/LICENSE).
198
- - 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)
 
199
 
200
  ## References
201
  * [End-to-End Object Detection with Transformers](https://arxiv.org/abs/2005.12872)
202
  * [Source Model Implementation](https://github.com/facebookresearch/detr)
203
 
 
 
204
  ## Community
205
  * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
206
  * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
 
16
 
17
  DETR is a machine learning model that can detect objects (trained on COCO dataset).
18
 
19
+ This model is an implementation of DETR-ResNet101-DC5 found [here]({source_repo}).
20
  This repository provides scripts to run DETR-ResNet101-DC5 on Qualcomm® devices.
21
  More details on model performance across various devices, can be found
22
  [here](https://aihub.qualcomm.com/models/detr_resnet101_dc5).
 
31
  - Number of parameters: 61.1M
32
  - Model size: 231 MB
33
 
34
+ | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
35
+ |---|---|---|---|---|---|---|---|---|
36
+ | DETR-ResNet101-DC5 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 92.491 ms | 0 - 3 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
37
+ | DETR-ResNet101-DC5 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 91.901 ms | 0 - 128 MB | FP16 | NPU | [DETR-ResNet101-DC5.onnx](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.onnx) |
38
+ | DETR-ResNet101-DC5 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 67.087 ms | 0 - 548 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
39
+ | DETR-ResNet101-DC5 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 81.298 ms | 2 - 562 MB | FP16 | NPU | [DETR-ResNet101-DC5.onnx](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.onnx) |
40
+ | DETR-ResNet101-DC5 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 81.085 ms | 0 - 3 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
41
+ | DETR-ResNet101-DC5 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 82.049 ms | 0 - 3 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
42
+ | DETR-ResNet101-DC5 | SA8775 (Proxy) | SA8775P Proxy | TFLITE | 90.194 ms | 0 - 2 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
43
+ | DETR-ResNet101-DC5 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 81.2 ms | 0 - 3 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
44
+ | DETR-ResNet101-DC5 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 96.012 ms | 1 - 488 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
45
+ | DETR-ResNet101-DC5 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 61.375 ms | 0 - 277 MB | FP16 | NPU | [DETR-ResNet101-DC5.tflite](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.tflite) |
46
+ | DETR-ResNet101-DC5 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 66.684 ms | 1 - 322 MB | FP16 | NPU | [DETR-ResNet101-DC5.onnx](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.onnx) |
47
+ | DETR-ResNet101-DC5 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 69.984 ms | 120 - 120 MB | FP16 | NPU | [DETR-ResNet101-DC5.onnx](https://huggingface.co/qualcomm/DETR-ResNet101-DC5/blob/main/DETR-ResNet101-DC5.onnx) |
48
 
49
 
50
 
 
 
 
 
 
51
 
52
  ## Installation
53
 
 
103
  ```bash
104
  python -m qai_hub_models.models.detr_resnet101_dc5.export
105
  ```
106
+ ```
107
+ Profiling Results
108
+ ------------------------------------------------------------
109
+ DETR-ResNet101-DC5
110
+ Device : Samsung Galaxy S23 (13)
111
+ Runtime : TFLITE
112
+ Estimated inference time (ms) : 92.5
113
+ Estimated peak memory usage (MB): [0, 3]
114
+ Total # Ops : 857
115
+ Compute Unit(s) : NPU (857 ops)
116
+ ```
117
 
118
 
119
  ## How does this work?
 
211
  Get more details on DETR-ResNet101-DC5's performance across various devices [here](https://aihub.qualcomm.com/models/detr_resnet101_dc5).
212
  Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
213
 
214
+
215
  ## License
216
+ * The license for the original implementation of DETR-ResNet101-DC5 can be found [here](https://github.com/facebookresearch/detr/blob/main/LICENSE).
217
+ * 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)
218
+
219
+
220
 
221
  ## References
222
  * [End-to-End Object Detection with Transformers](https://arxiv.org/abs/2005.12872)
223
  * [Source Model Implementation](https://github.com/facebookresearch/detr)
224
 
225
+
226
+
227
  ## Community
228
  * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
229
  * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).