Object Detection
PyTorch
android
qaihm-bot commited on
Commit
7f843d4
·
verified ·
1 Parent(s): 90cec5c

See https://github.com/qualcomm/ai-hub-models/releases/v0.67.0 for changelog.

Files changed (2) hide show
  1. README.md +49 -45
  2. release_assets.json +7 -7
README.md CHANGED
@@ -14,7 +14,7 @@ pipeline_tag: object-detection
14
  D-FINE is a state-of-the-art real-time object detection model that redefines the regression task in DETRs as fine-grained distribution refinement. The default variant is trained on the COCO dataset.
15
 
16
  This is based on the implementation of D-FINE found [here](https://github.com/Peterande/D-FINE).
17
- This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/dfine) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
18
 
19
  Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.
20
 
@@ -27,23 +27,23 @@ Below are pre-exported model assets ready for deployment.
27
 
28
  | Runtime | Precision | Chipset | SDK Versions | Download |
29
  |---|---|---|---|---|
30
- | ONNX | float | Universal | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.66.0/dfine-onnx-float.zip)
31
- | QNN_DLC | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.66.0/dfine-qnn_dlc-float.zip)
32
- | TFLITE | float | Universal | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.66.0/dfine-tflite-float.zip)
33
 
34
  For more device-specific assets and performance metrics, visit **[D-FINE on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/dfine)**.
35
 
36
 
37
  ### Option 2: Export with Custom Configurations
38
 
39
- Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/dfine) Python library to compile and export the model with your own:
40
  - Custom weights (e.g., fine-tuned checkpoints)
41
  - Custom input shapes
42
  - Target device and runtime configurations
43
 
44
  This option is ideal if you need to customize the model beyond the default configuration provided here.
45
 
46
- See our repository for [D-FINE on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/dfine) for usage instructions.
47
 
48
  ## Model Details
49
 
@@ -58,48 +58,52 @@ See our repository for [D-FINE on GitHub](https://github.com/qualcomm/ai-hub-mod
58
  ## Performance Summary
59
  | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
60
  |---|---|---|---|---|---|---
61
- | D-FINE | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 6.613 ms | 0 - 296 MB | NPU
62
- | D-FINE | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.999 ms | 0 - 285 MB | NPU
63
- | D-FINE | ONNX | float | Snapdragon® X2 Elite | 6.843 ms | 5 - 5 MB | NPU
64
- | D-FINE | ONNX | float | Snapdragon® X Elite | 16.057 ms | 6 - 6 MB | NPU
65
  | D-FINE | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 11.078 ms | 5 - 338 MB | NPU
66
- | D-FINE | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 18.557 ms | 5 - 340 MB | NPU
67
- | D-FINE | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 15.691 ms | 5 - 9 MB | NPU
68
- | D-FINE | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 15.263 ms | 0 - 10 MB | NPU
69
- | D-FINE | ONNX | float | Qualcomm® QCS8450 | 18.557 ms | 5 - 340 MB | NPU
70
- | D-FINE | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 16.579 ms | 5 - 8 MB | NPU
71
- | D-FINE | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 16.057 ms | 6 - 6 MB | NPU
72
- | D-FINE | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 7.999 ms | 0 - 285 MB | NPU
73
- | D-FINE | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.534 ms | 5 - 183 MB | NPU
74
- | D-FINE | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 8.391 ms | 5 - 304 MB | NPU
75
- | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 5.784 ms | 5 - 167 MB | NPU
76
- | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.365 ms | 0 - 162 MB | NPU
77
- | D-FINE | QNN_DLC | float | Snapdragon® X2 Elite | 6.519 ms | 5 - 5 MB | NPU
78
- | D-FINE | QNN_DLC | float | Snapdragon® X Elite | 14.976 ms | 5 - 5 MB | NPU
79
  | D-FINE | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 9.816 ms | 5 - 199 MB | NPU
80
- | D-FINE | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 16.287 ms | 5 - 197 MB | NPU
81
- | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 14.293 ms | 5 - 12 MB | NPU
82
- | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 14.112 ms | 5 - 7 MB | NPU
83
- | D-FINE | QNN_DLC | float | Qualcomm® SA8775P | 15.206 ms | 1 - 149 MB | NPU
84
- | D-FINE | QNN_DLC | float | Qualcomm® SA8650P | 15.206 ms | 1 - 149 MB | NPU
85
- | D-FINE | QNN_DLC | float | Qualcomm® SA8255P | 15.206 ms | 1 - 149 MB | NPU
86
- | D-FINE | QNN_DLC | float | Qualcomm® QCS8450 | 16.287 ms | 5 - 197 MB | NPU
87
- | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 15.179 ms | 5 - 12 MB | NPU
88
- | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 14.976 ms | 5 - 5 MB | NPU
89
- | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 7.365 ms | 0 - 162 MB | NPU
90
- | D-FINE | QNN_DLC | float | Qualcomm® SA7255P | 29.337 ms | 0 - 146 MB | NPU
91
- | D-FINE | QNN_DLC | float | Qualcomm® SA8295P | 17.411 ms | 0 - 154 MB | NPU
92
- | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.125 ms | 5 - 170 MB | NPU
93
- | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 7.711 ms | 4 - 170 MB | NPU
94
- | D-FINE | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 21.947 ms | 0 - 491 MB | NPU
95
  | D-FINE | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 29.465 ms | 0 - 653 MB | NPU
96
- | D-FINE | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 46.231 ms | 0 - 553 MB | NPU
97
- | D-FINE | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 42.608 ms | 0 - 7 MB | NPU
98
- | D-FINE | TFLITE | float | Qualcomm® QCS8450 | 46.231 ms | 0 - 553 MB | NPU
99
- | D-FINE | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 43.635 ms | 0 - 22 MB | NPU
100
- | D-FINE | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 21.947 ms | 0 - 491 MB | NPU
101
- | D-FINE | TFLITE | float | Qualcomm® SA8295P | 46.048 ms | 0 - 459 MB | NPU
102
- | D-FINE | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 24.201 ms | 0 - 767 MB | NPU
 
 
 
 
 
103
 
104
  ## License
105
  * The license for the original implementation of D-FINE can be found
 
14
  D-FINE is a state-of-the-art real-time object detection model that redefines the regression task in DETRs as fine-grained distribution refinement. The default variant is trained on the COCO dataset.
15
 
16
  This is based on the implementation of D-FINE found [here](https://github.com/Peterande/D-FINE).
17
+ This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/dfine) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
18
 
19
  Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.
20
 
 
27
 
28
  | Runtime | Precision | Chipset | SDK Versions | Download |
29
  |---|---|---|---|---|
30
+ | ONNX | float | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.67.0/dfine-onnx-float.zip)
31
+ | QNN_DLC | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.67.0/dfine-qnn_dlc-float.zip)
32
+ | TFLITE | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.67.0/dfine-tflite-float.zip)
33
 
34
  For more device-specific assets and performance metrics, visit **[D-FINE on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/dfine)**.
35
 
36
 
37
  ### Option 2: Export with Custom Configurations
38
 
39
+ Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/dfine) Python library to compile and export the model with your own:
40
  - Custom weights (e.g., fine-tuned checkpoints)
41
  - Custom input shapes
42
  - Target device and runtime configurations
43
 
44
  This option is ideal if you need to customize the model beyond the default configuration provided here.
45
 
46
+ See our repository for [D-FINE on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/dfine) for usage instructions.
47
 
48
  ## Model Details
49
 
 
58
  ## Performance Summary
59
  | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
60
  |---|---|---|---|---|---|---
61
+ | D-FINE | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 6.776 ms | 0 - 296 MB | NPU
62
+ | D-FINE | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 8.156 ms | 3 - 290 MB | NPU
63
+ | D-FINE | ONNX | float | Snapdragon® X2 Elite | 6.984 ms | 5 - 5 MB | NPU
64
+ | D-FINE | ONNX | float | Snapdragon® X Elite | 16.167 ms | 6 - 6 MB | NPU
65
  | D-FINE | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 11.078 ms | 5 - 338 MB | NPU
66
+ | D-FINE | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 18.308 ms | 5 - 339 MB | NPU
67
+ | D-FINE | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 15.654 ms | 5 - 9 MB | NPU
68
+ | D-FINE | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 15.448 ms | 0 - 11 MB | NPU
69
+ | D-FINE | ONNX | float | Qualcomm® QCS8450 | 18.308 ms | 5 - 339 MB | NPU
70
+ | D-FINE | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 16.477 ms | 5 - 8 MB | NPU
71
+ | D-FINE | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 16.167 ms | 6 - 6 MB | NPU
72
+ | D-FINE | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 8.156 ms | 3 - 290 MB | NPU
73
+ | D-FINE | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 6.781 ms | 5 - 295 MB | NPU
74
+ | D-FINE | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 8.32 ms | 5 - 327 MB | NPU
75
+ | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 5.849 ms | 5 - 171 MB | NPU
76
+ | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.325 ms | 5 - 165 MB | NPU
77
+ | D-FINE | QNN_DLC | float | Snapdragon® X2 Elite | 6.496 ms | 5 - 5 MB | NPU
78
+ | D-FINE | QNN_DLC | float | Snapdragon® X Elite | 15.24 ms | 5 - 5 MB | NPU
79
  | D-FINE | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 9.816 ms | 5 - 199 MB | NPU
80
+ | D-FINE | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 16.29 ms | 5 - 198 MB | NPU
81
+ | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 14.42 ms | 5 - 12 MB | NPU
82
+ | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 14.19 ms | 5 - 7 MB | NPU
83
+ | D-FINE | QNN_DLC | float | Qualcomm® SA8775P | 15.347 ms | 1 - 149 MB | NPU
84
+ | D-FINE | QNN_DLC | float | Qualcomm® SA8650P | 15.347 ms | 1 - 149 MB | NPU
85
+ | D-FINE | QNN_DLC | float | Qualcomm® SA8255P | 15.347 ms | 1 - 149 MB | NPU
86
+ | D-FINE | QNN_DLC | float | Qualcomm® QCS8450 | 16.29 ms | 5 - 198 MB | NPU
87
+ | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 15.706 ms | 5 - 12 MB | NPU
88
+ | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 15.24 ms | 5 - 5 MB | NPU
89
+ | D-FINE | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 7.325 ms | 5 - 165 MB | NPU
90
+ | D-FINE | QNN_DLC | float | Qualcomm® SA8295P | 17.621 ms | 1 - 153 MB | NPU
91
+ | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.274 ms | 5 - 165 MB | NPU
92
+ | D-FINE | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 7.785 ms | 5 - 193 MB | NPU
93
+ | D-FINE | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 22.051 ms | 0 - 541 MB | NPU
 
94
  | D-FINE | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 29.465 ms | 0 - 653 MB | NPU
95
+ | D-FINE | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 45.779 ms | 0 - 558 MB | NPU
96
+ | D-FINE | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 38.292 ms | 0 - 23 MB | NPU
97
+ | D-FINE | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 42.343 ms | 0 - 13 MB | NPU
98
+ | D-FINE | TFLITE | float | Qualcomm® SA8775P | 44.424 ms | 0 - 505 MB | NPU
99
+ | D-FINE | TFLITE | float | Qualcomm® SA8650P | 44.424 ms | 0 - 505 MB | NPU
100
+ | D-FINE | TFLITE | float | Qualcomm® SA8255P | 44.424 ms | 0 - 505 MB | NPU
101
+ | D-FINE | TFLITE | float | Qualcomm® QCS8450 | 45.779 ms | 0 - 558 MB | NPU
102
+ | D-FINE | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 44.074 ms | 0 - 22 MB | NPU
103
+ | D-FINE | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 22.051 ms | 0 - 541 MB | NPU
104
+ | D-FINE | TFLITE | float | Qualcomm® SA7255P | 109.218 ms | 10 - 29 MB | CPU
105
+ | D-FINE | TFLITE | float | Qualcomm® SA8295P | 46.142 ms | 0 - 461 MB | NPU
106
+ | D-FINE | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 23.768 ms | 0 - 767 MB | NPU
107
 
108
  ## License
109
  * The license for the original implementation of D-FINE can be found
release_assets.json CHANGED
@@ -1,27 +1,27 @@
1
  {
2
- "version": "0.66.0",
3
  "precisions": {
4
  "float": {
5
  "universal_assets": {
6
  "onnx": {
7
  "tool_versions": {
8
- "qairt": "2.50.0.260828221209",
9
  "onnx_runtime": "1.30.0"
10
  },
11
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.66.0/dfine-onnx-float.zip"
12
  },
13
  "qnn_dlc": {
14
  "tool_versions": {
15
- "qairt": "2.50.0.260828221209"
16
  },
17
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.66.0/dfine-qnn_dlc-float.zip"
18
  },
19
  "tflite": {
20
  "tool_versions": {
21
- "qairt": "2.50.0.260828221209",
22
  "litert": "1.4.2"
23
  },
24
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.66.0/dfine-tflite-float.zip"
25
  }
26
  }
27
  }
 
1
  {
2
+ "version": "0.67.0",
3
  "precisions": {
4
  "float": {
5
  "universal_assets": {
6
  "onnx": {
7
  "tool_versions": {
8
+ "qairt": "2.51.0.260929181845",
9
  "onnx_runtime": "1.30.0"
10
  },
11
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.67.0/dfine-onnx-float.zip"
12
  },
13
  "qnn_dlc": {
14
  "tool_versions": {
15
+ "qairt": "2.51.0.260929181845"
16
  },
17
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.67.0/dfine-qnn_dlc-float.zip"
18
  },
19
  "tflite": {
20
  "tool_versions": {
21
+ "qairt": "2.51.0.260929181845",
22
  "litert": "1.4.2"
23
  },
24
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/dfine/releases/v0.67.0/dfine-tflite-float.zip"
25
  }
26
  }
27
  }