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.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 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® X2 Elite | 35.678 ms | 12 - 12 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® X Elite | 67.725 ms | 58 - 58 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 50.595 ms | 1 - 584 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 133.553 ms | 1 - 490 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 136.303 ms | 11 - 26 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 67.962 ms | 0 - 71 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® QCS8450 | 133.553 ms | 1 - 490 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 123.57 ms | 11 - 26 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 67.725 ms | 58 - 58 MB | NPU |
| ResNet-3D | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 41.727 ms | 1 - 390 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® 8 Elite Mobile | 41.727 ms | 1 - 390 MB | NPU |
| ResNet-3D | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 30.039 ms | 3 - 410 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® X2 Elite | 11.382 ms | 3 - 3 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® X Elite | 22.546 ms | 33 - 33 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 16.875 ms | 0 - 415 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 36.925 ms | 0 - 416 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 23.519 ms | 0 - 7 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 22.187 ms | 0 - 42 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® QCS8450 | 36.925 ms | 0 - 416 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 22.672 ms | 0 - 6 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 22.546 ms | 33 - 33 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 42.097 ms | 3 - 295 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 15.15 ms | 0 - 292 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 15.15 ms | 0 - 292 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 10.205 ms | 0 - 300 MB | NPU |
| ResNet-3D | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 42.097 ms | 3 - 295 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® X2 Elite | 36.424 ms | 12 - 12 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® X Elite | 70.6 ms | 12 - 12 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 51.048 ms | 11 - 598 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 137.953 ms | 7 - 501 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 137.253 ms | 12 - 25 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 467.79 ms | 0 - 396 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 69.784 ms | 4 - 6 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® SA8775P | 123.855 ms | 0 - 395 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® SA8650P | 123.855 ms | 0 - 395 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® SA8255P | 123.855 ms | 0 - 395 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® QCS8450 | 137.953 ms | 7 - 501 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 124.336 ms | 12 - 25 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 70.6 ms | 12 - 12 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 41.776 ms | 12 - 401 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® SA7255P | 467.79 ms | 0 - 396 MB | NPU |
| ResNet-3D | QNN_DLC | float | Qualcomm® SA8295P | 132.991 ms | 0 - 317 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 41.776 ms | 12 - 401 MB | NPU |
| ResNet-3D | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 29.983 ms | 0 - 396 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 12.274 ms | 3 - 3 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® X Elite | 23.492 ms | 3 - 3 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 17.014 ms | 3 - 411 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 37.851 ms | 3 - 412 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 136.926 ms | 5 - 9 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 23.773 ms | 2 - 7 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 75.944 ms | 3 - 284 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 22.793 ms | 3 - 317 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA8775P | 21.835 ms | 3 - 284 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA8650P | 21.835 ms | 3 - 284 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA8255P | 21.835 ms | 3 - 284 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 37.851 ms | 3 - 412 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 21.304 ms | 2 - 7 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 23.492 ms | 3 - 3 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 456.665 ms | 3 - 360 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 42.889 ms | 3 - 304 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 15.391 ms | 3 - 289 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA7255P | 75.944 ms | 3 - 284 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Qualcomm® SA8295P | 39.782 ms | 0 - 281 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Elite Mobile | 15.391 ms | 3 - 289 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 10.786 ms | 3 - 300 MB | NPU |
| ResNet-3D | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 42.889 ms | 3 - 304 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 1127.599 ms | 0 - 636 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 1608.908 ms | 1 - 606 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 1415.562 ms | 0 - 84 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 2781.844 ms | 1 - 456 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1486.272 ms | 0 - 4 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8775P | 1483.125 ms | 0 - 477 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8650P | 1483.125 ms | 0 - 477 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8255P | 1483.125 ms | 0 - 477 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® QCS8450 | 1608.908 ms | 1 - 606 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 1420.785 ms | 0 - 83 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 931.009 ms | 1 - 471 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA7255P | 2781.844 ms | 1 - 456 MB | NPU |
| ResNet-3D | TFLITE | float | Qualcomm® SA8295P | 1726.683 ms | 1 - 456 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Elite Mobile | 931.009 ms | 1 - 471 MB | NPU |
| ResNet-3D | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 886.885 ms | 1 - 473 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 948.16 ms | 0 - 999 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 1403.79 ms | 1 - 870 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 9271.383 ms | 3462 - 5278 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 1215.019 ms | 0 - 78 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 2554.325 ms | 1 - 819 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 1258.456 ms | 0 - 4 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA8775P | 1258.234 ms | 1 - 818 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA8650P | 1258.234 ms | 1 - 818 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA8255P | 1258.234 ms | 1 - 818 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® QCS8450 | 1403.79 ms | 1 - 870 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 1273.117 ms | 0 - 77 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 386585.172 ms | 913 - 1124 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 340363.712 ms | 918 - 1199 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 689.856 ms | 0 - 729 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA7255P | 2554.325 ms | 1 - 819 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Qualcomm® SA8295P | 1341.338 ms | 0 - 685 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 689.856 ms | 0 - 729 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 818.052 ms | 0 - 925 MB | NPU |
| ResNet-3D | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 340363.712 ms | 918 - 1199 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.
