Image-to-Image
PyTorch
android

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.927 ms 0 - 671 MB NPU
DDColor ONNX float Snapdragon® 8 Elite For Galaxy Mobile 37.376 ms 11 - 501 MB NPU
DDColor ONNX float Snapdragon® X2 Elite 25.435 ms 2 - 2 MB NPU
DDColor ONNX float Snapdragon® X Elite 74.374 ms 112 - 112 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.643 ms 0 - 503 MB NPU
DDColor ONNX float Qualcomm® Dragonwing™ IQ-8275 67.652 ms 1 - 6 MB NPU
DDColor ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 75.718 ms 0 - 639 MB NPU
DDColor ONNX float Qualcomm® QCS8450 80.643 ms 0 - 503 MB NPU
DDColor ONNX float Qualcomm® Dragonwing™ IQ-9075 80.066 ms 1 - 5 MB NPU
DDColor ONNX float Qualcomm® Dragonwing™ IQ-X7181 74.374 ms 112 - 112 MB NPU
DDColor ONNX float Qualcomm® Dragonwing™ Q-8750 37.376 ms 11 - 501 MB NPU
DDColor ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 23.81 ms 2 - 520 MB NPU
DDColor ONNX float Snapdragon® 8 Elite Gen 6 Mobile 30.799 ms 0 - 654 MB NPU
DDColor QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 29.374 ms 0 - 504 MB NPU
DDColor QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 37.308 ms 9 - 771 MB NPU
DDColor QNN_DLC float Snapdragon® X2 Elite 30.852 ms 0 - 0 MB NPU
DDColor QNN_DLC float Snapdragon® X Elite 70.302 ms 0 - 0 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 81.25 ms 0 - 474 MB NPU
DDColor QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 67.653 ms 0 - 4 MB NPU
DDColor QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 72.407 ms 0 - 2 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 81.25 ms 0 - 474 MB NPU
DDColor QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 75.644 ms 0 - 3 MB NPU
DDColor QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 70.302 ms 0 - 0 MB NPU
DDColor QNN_DLC float Qualcomm® Dragonwing™ Q-8750 37.308 ms 9 - 771 MB NPU
DDColor QNN_DLC float Qualcomm® SA8295P 80.242 ms 0 - 350 MB NPU
DDColor QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 25.758 ms 0 - 1004 MB NPU
DDColor QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 33.464 ms 0 - 820 MB NPU
DDColor TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 23.404 ms 1 - 650 MB NPU
DDColor TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 33.843 ms 9 - 493 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.237 ms 1 - 505 MB NPU
DDColor TFLITE float Qualcomm® Dragonwing™ IQ-8275 56.832 ms 1 - 118 MB NPU
DDColor TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 66.986 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.237 ms 1 - 505 MB NPU
DDColor TFLITE float Qualcomm® Dragonwing™ IQ-9075 73.777 ms 1 - 117 MB NPU
DDColor TFLITE float Qualcomm® Dragonwing™ Q-8750 33.843 ms 9 - 493 MB NPU
DDColor TFLITE float Qualcomm® SA7255P 722.473 ms 130 - 148 MB CPU
DDColor TFLITE float Qualcomm® SA8295P 68.174 ms 1 - 350 MB NPU
DDColor TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 23.245 ms 1 - 815 MB NPU
DDColor TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 27.097 ms 1 - 637 MB NPU

License

  • The license for the original implementation of DDColor can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/DDColor