DDColor: Optimized for Qualcomm Devices
DDColor is a coloring algorithm that produces natural, vivid color results from incoming black and white images.
This is based on the implementation of DDColor found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.
Getting Started
There are two ways to deploy this model on your device:
Option 1: Download Pre-Exported Models
Below are pre-exported model assets ready for deployment.
| Runtime | Precision | Chipset | SDK Versions | Download |
|---|---|---|---|---|
| ONNX | float | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| QNN_DLC | float | Universal | QAIRT 2.51 | Download |
| TFLITE | float | Universal | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit DDColor on Qualcomm® AI Hub.
Option 2: Export with Custom Configurations
Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:
- Custom weights (e.g., fine-tuned checkpoints)
- Custom input shapes
- Target device and runtime configurations
This option is ideal if you need to customize the model beyond the default configuration provided here.
See our repository for DDColor on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_editing
Model Stats:
- Input resolution: 224x224
- Model checkpoint: ddcolor_paper_tiny.pth
- Model size (float): 215 MB
- Model size (w8a8): 54.8 MB
- Number of parameters: 56.3M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| DDColor | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 25.966 ms | 0 - 671 MB | NPU |
| DDColor | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 37.493 ms | 2 - 491 MB | NPU |
| DDColor | ONNX | float | Snapdragon® X2 Elite | 26.379 ms | 2 - 2 MB | NPU |
| DDColor | ONNX | float | Snapdragon® X Elite | 74.065 ms | 113 - 113 MB | NPU |
| DDColor | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 48.677 ms | 2 - 1256 MB | NPU |
| DDColor | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 80.652 ms | 2 - 505 MB | NPU |
| DDColor | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 74.612 ms | 0 - 114 MB | NPU |
| DDColor | ONNX | float | Qualcomm® QCS8450 | 80.652 ms | 2 - 505 MB | NPU |
| DDColor | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 79.574 ms | 1 - 5 MB | NPU |
| DDColor | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 74.065 ms | 113 - 113 MB | NPU |
| DDColor | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 37.493 ms | 2 - 491 MB | NPU |
| DDColor | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 24.118 ms | 2 - 525 MB | NPU |
| DDColor | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 30.79 ms | 2 - 658 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 29.406 ms | 0 - 504 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 38.567 ms | 1 - 767 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® X2 Elite | 30.745 ms | 1 - 1 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® X Elite | 70.399 ms | 1 - 1 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 39.338 ms | 0 - 1151 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 79.71 ms | 0 - 472 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 68.163 ms | 1 - 5 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 71.828 ms | 1 - 563 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® SA8650P | 65.734 ms | 1 - 452 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® SA8255P | 65.734 ms | 1 - 452 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® QCS8450 | 79.71 ms | 0 - 472 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 75.527 ms | 1 - 4 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 70.399 ms | 1 - 1 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 38.567 ms | 1 - 767 MB | NPU |
| DDColor | QNN_DLC | float | Qualcomm® SA8295P | 80.238 ms | 1 - 351 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 25.963 ms | 1 - 779 MB | NPU |
| DDColor | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 32.775 ms | 1 - 556 MB | NPU |
| DDColor | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 23.326 ms | 1 - 651 MB | NPU |
| DDColor | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 33.954 ms | 1 - 483 MB | NPU |
| DDColor | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 41.281 ms | 1 - 662 MB | NPU |
| DDColor | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 72.689 ms | 1 - 502 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 56.691 ms | 1 - 118 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 67.321 ms | 1 - 4 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® SA8650P | 72.46 ms | 1 - 852 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® SA8255P | 72.46 ms | 1 - 852 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® QCS8450 | 72.689 ms | 1 - 502 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 72.785 ms | 1 - 117 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 33.954 ms | 1 - 483 MB | NPU |
| DDColor | TFLITE | float | Qualcomm® SA8295P | 68.168 ms | 1 - 350 MB | NPU |
| DDColor | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 22.752 ms | 1 - 817 MB | NPU |
| DDColor | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 26.74 ms | 1 - 637 MB | NPU |
License
- The license for the original implementation of DDColor can be found here.
References
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
