NetVLAD: Optimized for Qualcomm Devices

NetVLAD is a CNN-based visual place recognition model that aggregates dense local descriptors into a compact VLAD descriptor using a differentiable soft assignment to learned cluster centroids. Built on a VGG-16 backbone, it produces a 32,768-d L2-normalized descriptor suitable for nearest-neighbour place retrieval across images taken under varying conditions.

This is based on the implementation of NetVLAD 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 NetVLAD 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 NetVLAD on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.image_classification

Model Stats:

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
NetVLAD ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 8.305 ms 3 - 151 MB NPU
NetVLAD ONNX float Snapdragon® 8 Elite For Galaxy Mobile 11.243 ms 0 - 144 MB NPU
NetVLAD ONNX float Snapdragon® X2 Elite 10.543 ms 4 - 4 MB NPU
NetVLAD ONNX float Snapdragon® X Elite 19.399 ms 27 - 27 MB NPU
NetVLAD ONNX float Snapdragon® 8 Gen 1 Mobile 36.029 ms 4 - 191 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ IQ-8275 41.829 ms 4 - 8 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 18.633 ms 0 - 37 MB NPU
NetVLAD ONNX float Qualcomm® QCS8450 36.029 ms 4 - 191 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ IQ-9075 37.176 ms 4 - 7 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ IQ-X7181 19.399 ms 27 - 27 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ Q-8750 11.243 ms 0 - 144 MB NPU
NetVLAD ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 7.151 ms 4 - 148 MB NPU
NetVLAD ONNX float Snapdragon® 8 Elite Gen 6 Mobile 7.476 ms 4 - 148 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 8.289 ms 4 - 149 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 11.251 ms 0 - 146 MB NPU
NetVLAD QNN_DLC float Snapdragon® X2 Elite 10.979 ms 4 - 4 MB NPU
NetVLAD QNN_DLC float Snapdragon® X Elite 19.473 ms 4 - 4 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Gen 1 Mobile 35.963 ms 4 - 191 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 42.06 ms 4 - 10 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 18.61 ms 4 - 103 MB NPU
NetVLAD QNN_DLC float Qualcomm® SA8775P 36.248 ms 2 - 143 MB NPU
NetVLAD QNN_DLC float Qualcomm® SA8650P 36.248 ms 2 - 143 MB NPU
NetVLAD QNN_DLC float Qualcomm® SA8255P 36.248 ms 2 - 143 MB NPU
NetVLAD QNN_DLC float Qualcomm® QCS8450 35.963 ms 4 - 191 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 36.934 ms 6 - 11 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 19.473 ms 4 - 4 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ Q-8750 11.251 ms 0 - 146 MB NPU
NetVLAD QNN_DLC float Qualcomm® SA7255P 145.324 ms 0 - 141 MB NPU
NetVLAD QNN_DLC float Qualcomm® SA8295P 39.97 ms 1 - 153 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 7.183 ms 4 - 146 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 7.453 ms 4 - 147 MB NPU
NetVLAD TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 8.302 ms 2 - 146 MB NPU
NetVLAD TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 11.343 ms 0 - 145 MB NPU
NetVLAD TFLITE float Snapdragon® 8 Gen 1 Mobile 35.875 ms 0 - 218 MB NPU
NetVLAD TFLITE float Qualcomm® Dragonwing™ IQ-8275 41.848 ms 0 - 36 MB NPU
NetVLAD TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 18.777 ms 0 - 2 MB NPU
NetVLAD TFLITE float Qualcomm® SA8775P 36.203 ms 0 - 143 MB NPU
NetVLAD TFLITE float Qualcomm® SA8650P 36.203 ms 0 - 143 MB NPU
NetVLAD TFLITE float Qualcomm® SA8255P 36.203 ms 0 - 143 MB NPU
NetVLAD TFLITE float Qualcomm® QCS8450 35.875 ms 0 - 218 MB NPU
NetVLAD TFLITE float Qualcomm® Dragonwing™ IQ-9075 36.807 ms 0 - 35 MB NPU
NetVLAD TFLITE float Qualcomm® Dragonwing™ Q-8750 11.343 ms 0 - 145 MB NPU
NetVLAD TFLITE float Qualcomm® SA7255P 145.427 ms 0 - 143 MB NPU
NetVLAD TFLITE float Qualcomm® SA8295P 39.917 ms 0 - 153 MB NPU
NetVLAD TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 7.208 ms 0 - 148 MB NPU
NetVLAD TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 7.487 ms 0 - 144 MB NPU

License

  • The license for the original implementation of NetVLAD 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/NetVLAD