ResNet-3D: Optimized for Qualcomm Devices
ResNet 3D is a network with 3D convolutions used for video understanding.
This is based on the implementation of ResNet-3D 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 ResNet-3D 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 ResNet-3D on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.video_classification
Model Stats:
- Input resolution: 112x112
- Model checkpoint: Kinetics-400
- Model size (float): 127 MB
- Model size (w8a8): 32.1 MB
- Number of parameters: 33.4M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| ResNet-3D | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 5.976 ms | 2 - 180 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.66 ms | 0 - 174 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® X2 Elite | 6.903 ms | 2 - 2 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® X Elite | 13.105 ms | 64 - 64 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 9.372 ms | 1 - 228 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 23.223 ms | 2 - 216 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 27.162 ms | 2 - 9 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 12.866 ms | 0 - 93 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® QCS8450 | 23.223 ms | 2 - 216 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 24.237 ms | 2 - 8 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 13.105 ms | 64 - 64 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 7.66 ms | 0 - 174 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.031 ms | 0 - 162 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 2.66 ms | 0 - 167 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® X2 Elite | 2.215 ms | 2 - 2 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® X Elite | 4.399 ms | 33 - 33 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 3.221 ms | 0 - 231 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 6.102 ms | 1 - 230 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 18.964 ms | 0 - 4 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 4.854 ms | 0 - 5 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.352 ms | 0 - 42 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® QCS8450 | 6.102 ms | 1 - 230 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 4.249 ms | 0 - 4 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 4.399 ms | 33 - 33 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 90.875 ms | 1 - 172 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 7.792 ms | 0 - 161 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 2.66 ms | 0 - 167 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 7.792 ms | 0 - 161 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 5.873 ms | 2 - 182 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.666 ms | 0 - 176 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® X2 Elite | 7.248 ms | 2 - 2 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® X Elite | 13.296 ms | 2 - 2 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 9.347 ms | 2 - 233 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 23.561 ms | 2 - 218 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 26.823 ms | 2 - 7 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 12.865 ms | 2 - 4 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® QCS8450 | 23.561 ms | 2 - 218 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 24.516 ms | 4 - 9 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 13.296 ms | 2 - 2 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 7.666 ms | 0 - 176 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® SA8295P | 26.056 ms | 0 - 164 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.977 ms | 1 - 160 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 2.71 ms | 1 - 158 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 2.522 ms | 1 - 1 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® X Elite | 4.646 ms | 1 - 1 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 3.266 ms | 1 - 233 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 6.149 ms | 1 - 229 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 19.012 ms | 3 - 5 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 4.879 ms | 1 - 4 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.346 ms | 1 - 3 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA8650P | 4.612 ms | 1 - 62 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA8255P | 4.612 ms | 1 - 62 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 6.149 ms | 1 - 229 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 4.203 ms | 1 - 3 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 4.646 ms | 1 - 1 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 87.744 ms | 0 - 174 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 7.869 ms | 1 - 159 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 2.71 ms | 1 - 158 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA8295P | 8.015 ms | 1 - 173 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 7.869 ms | 1 - 159 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 158.417 ms | 0 - 204 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 168.201 ms | 0 - 201 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 173.065 ms | 0 - 252 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 266.305 ms | 0 - 249 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 256.193 ms | 0 - 71 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 228.746 ms | 0 - 3 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8775P | 232.822 ms | 0 - 200 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8650P | 232.822 ms | 0 - 200 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8255P | 232.822 ms | 0 - 200 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® QCS8450 | 266.305 ms | 0 - 249 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 240.999 ms | 0 - 70 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 168.201 ms | 0 - 201 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8295P | 283.058 ms | 0 - 196 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 151.293 ms | 0 - 277 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 134.987 ms | 0 - 241 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 182.201 ms | 0 - 296 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 247.341 ms | 1 - 298 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 1730.6 ms | 693 - 1059 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 240.828 ms | 0 - 69 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 233.158 ms | 0 - 3 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA8650P | 247.045 ms | 1 - 299 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA8255P | 247.045 ms | 1 - 299 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® QCS8450 | 247.341 ms | 1 - 298 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 241.687 ms | 0 - 69 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 1490.122 ms | 655 - 804 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 1166.684 ms | 678 - 731 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 134.987 ms | 0 - 241 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA8295P | 259.19 ms | 0 - 239 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 1166.684 ms | 678 - 731 MB | NPU |
License
- The license for the original implementation of ResNet-3D 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.
