Image-to-Image
PyTorch
android
qaihm-bot commited on
Commit
2399a35
·
verified ·
1 Parent(s): 5b44580

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

Files changed (2) hide show
  1. README.md +47 -44
  2. release_assets.json +8 -7
README.md CHANGED
@@ -14,7 +14,7 @@ pipeline_tag: image-to-image
14
  AOT-GAN is a machine learning model that allows to erase and in-paint part of given input image.
15
 
16
  This is based on the implementation of AOT-GAN found [here](https://github.com/researchmm/AOT-GAN-for-Inpainting).
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/aotgan) 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/aotgan/releases/v0.66.0/aotgan-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/aotgan/releases/v0.66.0/aotgan-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/aotgan/releases/v0.66.0/aotgan-tflite-float.zip)
33
 
34
  For more device-specific assets and performance metrics, visit **[AOT-GAN on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/aotgan)**.
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/aotgan) 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 [AOT-GAN on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/aotgan) for usage instructions.
47
 
48
  ## Model Details
49
 
@@ -58,47 +58,50 @@ See our repository for [AOT-GAN on GitHub](https://github.com/qualcomm/ai-hub-mo
58
  ## Performance Summary
59
  | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
60
  |---|---|---|---|---|---|---
61
- | AOT-GAN | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 44.518 ms | 5 - 468 MB | NPU
62
- | AOT-GAN | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 69.562 ms | 9 - 545 MB | NPU
63
- | AOT-GAN | ONNX | float | Snapdragon® X2 Elite | 47.605 ms | 8 - 8 MB | NPU
64
- | AOT-GAN | ONNX | float | Snapdragon® X Elite | 124.497 ms | 32 - 32 MB | NPU
65
  | AOT-GAN | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 87.764 ms | 0 - 645 MB | NPU
66
- | AOT-GAN | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 180.904 ms | 1 - 577 MB | NPU
67
- | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 176.645 ms | 4 - 12 MB | NPU
68
- | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 120.749 ms | 0 - 38 MB | NPU
69
- | AOT-GAN | ONNX | float | Qualcomm® QCS8450 | 180.904 ms | 1 - 577 MB | NPU
70
- | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 161.891 ms | 4 - 11 MB | NPU
71
- | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 124.497 ms | 32 - 32 MB | NPU
72
- | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 69.562 ms | 9 - 545 MB | NPU
73
- | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 44.782 ms | 3 - 454 MB | NPU
74
- | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 67.189 ms | 1 - 532 MB | NPU
75
- | AOT-GAN | QNN_DLC | float | Snapdragon® X2 Elite | 45.805 ms | 4 - 4 MB | NPU
76
- | AOT-GAN | QNN_DLC | float | Snapdragon® X Elite | 119.081 ms | 4 - 4 MB | NPU
 
 
77
  | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 85.525 ms | 3 - 649 MB | NPU
78
- | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 181.775 ms | 4 - 576 MB | NPU
79
- | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 173.05 ms | 4 - 14 MB | NPU
80
- | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 117.754 ms | 4 - 7 MB | NPU
81
- | AOT-GAN | QNN_DLC | float | Qualcomm® SA8775P | 158.198 ms | 1 - 502 MB | NPU
82
- | AOT-GAN | QNN_DLC | float | Qualcomm® SA8650P | 158.198 ms | 1 - 502 MB | NPU
83
- | AOT-GAN | QNN_DLC | float | Qualcomm® SA8255P | 158.198 ms | 1 - 502 MB | NPU
84
- | AOT-GAN | QNN_DLC | float | Qualcomm® QCS8450 | 181.775 ms | 4 - 576 MB | NPU
85
- | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 158.14 ms | 4 - 13 MB | NPU
86
- | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 119.081 ms | 4 - 4 MB | NPU
87
- | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 67.189 ms | 1 - 532 MB | NPU
88
- | AOT-GAN | QNN_DLC | float | Qualcomm® SA8295P | 181.071 ms | 1 - 441 MB | NPU
89
- | AOT-GAN | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 44.902 ms | 2 - 465 MB | NPU
90
- | AOT-GAN | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 67.832 ms | 3 - 542 MB | NPU
91
  | AOT-GAN | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 85.94 ms | 3 - 677 MB | NPU
92
- | AOT-GAN | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 181.427 ms | 4 - 607 MB | NPU
93
- | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 172.81 ms | 3 - 48 MB | NPU
94
- | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 118.608 ms | 3 - 6 MB | NPU
95
- | AOT-GAN | TFLITE | float | Qualcomm® SA8775P | 158.41 ms | 3 - 514 MB | NPU
96
- | AOT-GAN | TFLITE | float | Qualcomm® SA8650P | 158.41 ms | 3 - 514 MB | NPU
97
- | AOT-GAN | TFLITE | float | Qualcomm® SA8255P | 158.41 ms | 3 - 514 MB | NPU
98
- | AOT-GAN | TFLITE | float | Qualcomm® QCS8450 | 181.427 ms | 4 - 607 MB | NPU
99
- | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 157.318 ms | 2 - 46 MB | NPU
100
- | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 67.832 ms | 3 - 542 MB | NPU
101
- | AOT-GAN | TFLITE | float | Qualcomm® SA8295P | 181.844 ms | 3 - 456 MB | NPU
 
 
 
102
 
103
  ## License
104
  * The license for the original implementation of AOT-GAN can be found
 
14
  AOT-GAN is a machine learning model that allows to erase and in-paint part of given input image.
15
 
16
  This is based on the implementation of AOT-GAN found [here](https://github.com/researchmm/AOT-GAN-for-Inpainting).
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/aotgan) 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/aotgan/releases/v0.67.0/aotgan-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/aotgan/releases/v0.67.0/aotgan-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/aotgan/releases/v0.67.0/aotgan-tflite-float.zip)
33
 
34
  For more device-specific assets and performance metrics, visit **[AOT-GAN on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/aotgan)**.
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/aotgan) 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 [AOT-GAN on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/aotgan) 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
+ | AOT-GAN | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 44.083 ms | 5 - 468 MB | NPU
62
+ | AOT-GAN | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 69.616 ms | 9 - 546 MB | NPU
63
+ | AOT-GAN | ONNX | float | Snapdragon® X2 Elite | 47.481 ms | 8 - 8 MB | NPU
64
+ | AOT-GAN | ONNX | float | Snapdragon® X Elite | 124.131 ms | 32 - 32 MB | NPU
65
  | AOT-GAN | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 87.764 ms | 0 - 645 MB | NPU
66
+ | AOT-GAN | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 180.329 ms | 1 - 579 MB | NPU
67
+ | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 177.17 ms | 4 - 12 MB | NPU
68
+ | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 122.604 ms | 0 - 39 MB | NPU
69
+ | AOT-GAN | ONNX | float | Qualcomm® QCS8450 | 180.329 ms | 1 - 579 MB | NPU
70
+ | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 162.448 ms | 4 - 11 MB | NPU
71
+ | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 124.131 ms | 32 - 32 MB | NPU
72
+ | AOT-GAN | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 69.616 ms | 9 - 546 MB | NPU
73
+ | AOT-GAN | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 40.401 ms | 10 - 540 MB | NPU
74
+ | AOT-GAN | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 53.568 ms | 10 - 384 MB | NPU
75
+ | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 44.27 ms | 1 - 453 MB | NPU
76
+ | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 67.121 ms | 0 - 532 MB | NPU
77
+ | AOT-GAN | QNN_DLC | float | Snapdragon® X2 Elite | 45.704 ms | 4 - 4 MB | NPU
78
+ | AOT-GAN | QNN_DLC | float | Snapdragon® X Elite | 120.047 ms | 4 - 4 MB | NPU
79
  | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 85.525 ms | 3 - 649 MB | NPU
80
+ | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 181.047 ms | 1 - 574 MB | NPU
81
+ | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 118.317 ms | 4 - 16 MB | NPU
82
+ | AOT-GAN | QNN_DLC | float | Qualcomm® QCS8450 | 181.047 ms | 1 - 574 MB | NPU
83
+ | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 158.373 ms | 4 - 13 MB | NPU
84
+ | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 120.047 ms | 4 - 4 MB | NPU
85
+ | AOT-GAN | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 67.121 ms | 0 - 532 MB | NPU
86
+ | AOT-GAN | QNN_DLC | float | Qualcomm® SA8295P | 181.962 ms | 1 - 443 MB | NPU
87
+ | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 37.341 ms | 4 - 518 MB | NPU
88
+ | AOT-GAN | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 54.287 ms | 4 - 369 MB | NPU
89
+ | AOT-GAN | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 44.757 ms | 2 - 467 MB | NPU
90
+ | AOT-GAN | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 67.43 ms | 1 - 542 MB | NPU
 
 
91
  | AOT-GAN | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 85.94 ms | 3 - 677 MB | NPU
92
+ | AOT-GAN | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 180.687 ms | 4 - 611 MB | NPU
93
+ | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 172.695 ms | 3 - 48 MB | NPU
94
+ | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 117.569 ms | 3 - 6 MB | NPU
95
+ | AOT-GAN | TFLITE | float | Qualcomm® SA8775P | 3232.104 ms | 3 - 36 MB | GPU
96
+ | AOT-GAN | TFLITE | float | Qualcomm® SA8650P | 3232.104 ms | 3 - 36 MB | GPU
97
+ | AOT-GAN | TFLITE | float | Qualcomm® SA8255P | 3232.104 ms | 3 - 36 MB | GPU
98
+ | AOT-GAN | TFLITE | float | Qualcomm® QCS8450 | 180.687 ms | 4 - 611 MB | NPU
99
+ | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 157.034 ms | 3 - 48 MB | NPU
100
+ | AOT-GAN | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 67.43 ms | 1 - 542 MB | NPU
101
+ | AOT-GAN | TFLITE | float | Qualcomm® SA7255P | 7498.364 ms | 1 - 34 MB | GPU
102
+ | AOT-GAN | TFLITE | float | Qualcomm® SA8295P | 181.819 ms | 3 - 458 MB | NPU
103
+ | AOT-GAN | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 36.125 ms | 3 - 543 MB | NPU
104
+ | AOT-GAN | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 54.303 ms | 1 - 371 MB | NPU
105
 
106
  ## License
107
  * The license for the original implementation of AOT-GAN can be found
release_assets.json CHANGED
@@ -1,26 +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/aotgan/releases/v0.66.0/aotgan-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/aotgan/releases/v0.66.0/aotgan-qnn_dlc-float.zip"
18
  },
19
  "tflite": {
20
  "tool_versions": {
21
- "qairt": "2.50.0.260828221209"
 
22
  },
23
- "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/aotgan/releases/v0.66.0/aotgan-tflite-float.zip"
24
  }
25
  }
26
  }
 
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/aotgan/releases/v0.67.0/aotgan-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/aotgan/releases/v0.67.0/aotgan-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/aotgan/releases/v0.67.0/aotgan-tflite-float.zip"
25
  }
26
  }
27
  }