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.45, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.45, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.45 | Download |
| QNN_DLC | w8a8 | Universal | QAIRT 2.45 | Download |
| TFLITE | float | Universal | QAIRT 2.45 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.45 | 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® X2 Elite | 2.147 ms | 2 - 2 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® X Elite | 4.204 ms | 132 - 132 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 3.515 ms | 0 - 220 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 8.792 ms | 1 - 200 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 7.509 ms | 0 - 4 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.519 ms | 0 - 162 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® QCS8450 | 8.792 ms | 1 - 200 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 6.618 ms | 0 - 4 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.204 ms | 132 - 132 MB | NPU |
| WideResNet50 | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.845 ms | 0 - 174 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite Mobile | 2.845 ms | 0 - 174 MB | NPU |
| WideResNet50 | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.429 ms | 0 - 172 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X2 Elite | 0.809 ms | 1 - 1 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® X Elite | 1.68 ms | 67 - 67 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.402 ms | 0 - 134 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.595 ms | 0 - 136 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.026 ms | 0 - 3 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 2.005 ms | 0 - 4 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.858 ms | 0 - 115 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® QCS8450 | 2.595 ms | 0 - 136 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.918 ms | 0 - 3 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.68 ms | 67 - 67 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 21.533 ms | 0 - 218 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.794 ms | 0 - 214 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.224 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 1.224 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.16 ms | 0 - 58 MB | NPU |
| WideResNet50 | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.794 ms | 0 - 214 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X2 Elite | 2.54 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® X Elite | 4.707 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 3.671 ms | 1 - 226 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 9.212 ms | 0 - 197 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 7.615 ms | 1 - 4 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 24.504 ms | 1 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.822 ms | 0 - 13 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8775P | 7.139 ms | 1 - 170 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8650P | 7.139 ms | 1 - 170 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8255P | 7.139 ms | 1 - 170 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® QCS8450 | 9.212 ms | 0 - 197 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 6.864 ms | 1 - 3 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.707 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 2.902 ms | 0 - 176 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA7255P | 24.504 ms | 1 - 174 MB | NPU |
| WideResNet50 | QNN_DLC | float | Qualcomm® SA8295P | 7.852 ms | 1 - 152 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 2.902 ms | 0 - 176 MB | NPU |
| WideResNet50 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.572 ms | 1 - 175 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 0.89 ms | 0 - 0 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® X Elite | 1.796 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.398 ms | 0 - 130 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.513 ms | 0 - 131 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9.386 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 1.936 ms | 0 - 3 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 3.989 ms | 0 - 56 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.852 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8775P | 2.024 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8650P | 2.024 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8255P | 2.024 ms | 0 - 57 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 2.513 ms | 0 - 131 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.891 ms | 0 - 2 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 1.796 ms | 1 - 1 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 20.868 ms | 0 - 216 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.862 ms | 0 - 215 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.169 ms | 0 - 55 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA7255P | 3.989 ms | 0 - 56 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Qualcomm® SA8295P | 2.726 ms | 0 - 53 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 1.169 ms | 0 - 55 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.092 ms | 0 - 58 MB | NPU |
| WideResNet50 | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.862 ms | 0 - 215 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 3.549 ms | 0 - 211 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 8.161 ms | 0 - 192 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 7.503 ms | 0 - 135 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 23.782 ms | 0 - 101 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.751 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8775P | 7.042 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8650P | 7.042 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8255P | 7.042 ms | 0 - 102 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® QCS8450 | 8.161 ms | 0 - 192 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 6.758 ms | 0 - 135 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 2.845 ms | 0 - 108 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA7255P | 23.782 ms | 0 - 101 MB | NPU |
| WideResNet50 | TFLITE | float | Qualcomm® SA8295P | 7.75 ms | 0 - 88 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite Mobile | 2.845 ms | 0 - 108 MB | NPU |
| WideResNet50 | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.542 ms | 0 - 104 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 1.339 ms | 0 - 128 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 2.397 ms | 0 - 128 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 8.796 ms | 0 - 68 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 1.846 ms | 0 - 69 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 3.737 ms | 0 - 52 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1.734 ms | 0 - 2 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8775P | 1.889 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8650P | 1.889 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8255P | 1.889 ms | 0 - 54 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® QCS8450 | 2.397 ms | 0 - 128 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1.741 ms | 0 - 68 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 19.874 ms | 0 - 212 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 2.725 ms | 0 - 206 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 1.159 ms | 0 - 55 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA7255P | 3.737 ms | 0 - 52 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Qualcomm® SA8295P | 2.563 ms | 0 - 50 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 1.159 ms | 0 - 55 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 1.051 ms | 0 - 56 MB | NPU |
| WideResNet50 | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 2.725 ms | 0 - 206 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.
