WideResNet50: Optimized for Qualcomm Devices
WideResNet50 is a machine learning model that can classify images from the Imagenet dataset. It can also be used as a backbone in building more complex models for specific use cases.
This is based on the implementation of WideResNet50 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.50, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.50 | Download |
| QNN_DLC | w8a8 | Universal | QAIRT 2.50 | Download |
| TFLITE | float | Universal | QAIRT 2.50 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.50 | Download |
For more device-specific assets and performance metrics, visit WideResNet50 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 WideResNet50 on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_classification
Model Stats:
- Input resolution: 224x224
- Model checkpoint: Imagenet
- Model size (float): 263 MB
- Model size (w8a8): 66.6 MB
- Number of parameters: 68.9M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.439 ms | 1 - 167 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.816 ms | 0 - 163 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® X2 Elite | 2.11 ms | 2 - 2 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® X Elite | 4.21 ms | 133 - 133 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 3.367 ms | 0 - 209 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 7.374 ms | 1 - 196 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 7.368 ms | 0 - 5 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.504 ms | 0 - 161 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® QCS8450 | 7.374 ms | 1 - 196 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 6.597 ms | 1 - 4 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.21 ms | 133 - 133 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.816 ms | 0 - 163 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.157 ms | 0 - 64 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 1.215 ms | 0 - 63 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X2 Elite | 0.807 ms | 1 - 1 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X Elite | 1.7 ms | 67 - 67 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.376 ms | 0 - 136 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.22 ms | 0 - 138 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 7.097 ms | 0 - 3 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 1.969 ms | 0 - 4 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.872 ms | 0 - 82 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® QCS8450 | 2.22 ms | 0 - 138 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.898 ms | 0 - 4 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.7 ms | 67 - 67 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 20.203 ms | 0 - 212 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.822 ms | 0 - 210 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.215 ms | 0 - 63 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.822 ms | 0 - 210 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.528 ms | 1 - 165 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.933 ms | 1 - 164 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X2 Elite | 2.494 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X Elite | 4.723 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 3.659 ms | 0 - 208 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 6.907 ms | 0 - 193 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 7.606 ms | 1 - 4 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.825 ms | 1 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8775P | 7.116 ms | 1 - 162 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8650P | 7.116 ms | 1 - 162 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8255P | 7.116 ms | 1 - 162 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® QCS8450 | 6.907 ms | 0 - 193 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 6.885 ms | 1 - 3 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.723 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 2.933 ms | 1 - 164 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8295P | 7.704 ms | 1 - 147 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.09 ms | 0 - 63 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 1.179 ms | 0 - 61 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.892 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X Elite | 1.783 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.377 ms | 0 - 132 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.192 ms | 0 - 136 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 7.353 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 1.925 ms | 0 - 3 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.87 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8775P | 2.007 ms | 0 - 61 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8650P | 2.007 ms | 0 - 61 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8255P | 2.007 ms | 0 - 61 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 2.192 ms | 0 - 136 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.877 ms | 2 - 4 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.783 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 17.407 ms | 0 - 213 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.911 ms | 0 - 212 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.179 ms | 0 - 61 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8295P | 2.63 ms | 0 - 63 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.911 ms | 0 - 212 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.549 ms | 0 - 110 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.851 ms | 0 - 106 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 3.542 ms | 0 - 209 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 7.412 ms | 0 - 195 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 7.37 ms | 0 - 136 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.708 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8775P | 7.003 ms | 0 - 103 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8650P | 7.003 ms | 0 - 103 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8255P | 7.003 ms | 0 - 103 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® QCS8450 | 7.412 ms | 0 - 195 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 6.707 ms | 0 - 135 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 2.851 ms | 0 - 106 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA7255P | 129.452 ms | 0 - 17 MB | GPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8295P | 7.488 ms | 0 - 89 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.054 ms | 0 - 60 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 1.114 ms | 0 - 59 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.274 ms | 0 - 132 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.039 ms | 0 - 135 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 7.052 ms | 0 - 68 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 1.803 ms | 0 - 69 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.704 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8775P | 1.864 ms | 0 - 58 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8650P | 1.864 ms | 0 - 58 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8255P | 1.864 ms | 0 - 58 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® QCS8450 | 2.039 ms | 0 - 135 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.728 ms | 0 - 69 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 17.194 ms | 0 - 211 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.752 ms | 0 - 207 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.114 ms | 0 - 59 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA7255P | 3.709 ms | 0 - 57 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8295P | 2.464 ms | 0 - 60 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.752 ms | 0 - 207 MB | NPU |
License
- The license for the original implementation of WideResNet50 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.
