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
ONNX w8a8_mixed_int16 Universal QAIRT 2.51, ONNX Runtime 1.30.0 Download
QNN_DLC 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.287 ms 0 - 149 MB NPU
NetVLAD ONNX float Snapdragon® 8 Elite For Galaxy Mobile 11.285 ms 2 - 148 MB NPU
NetVLAD ONNX float Snapdragon® X2 Elite 10.529 ms 4 - 4 MB NPU
NetVLAD ONNX float Snapdragon® X Elite 19.277 ms 27 - 27 MB NPU
NetVLAD ONNX float Snapdragon® 8 Gen 1 Mobile 36.019 ms 4 - 192 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ IQ-8275 42.384 ms 4 - 8 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 18.722 ms 0 - 30 MB NPU
NetVLAD ONNX float Qualcomm® QCS8450 36.019 ms 4 - 192 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ IQ-9075 37.058 ms 4 - 7 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ IQ-X7181 19.277 ms 27 - 27 MB NPU
NetVLAD ONNX float Qualcomm® Dragonwing™ Q-8750 11.285 ms 2 - 148 MB NPU
NetVLAD ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 7.164 ms 4 - 148 MB NPU
NetVLAD ONNX float Snapdragon® 8 Elite Gen 6 Mobile 7.512 ms 4 - 148 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 8.284 ms 0 - 144 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 11.407 ms 4 - 150 MB NPU
NetVLAD QNN_DLC float Snapdragon® X2 Elite 10.949 ms 0 - 0 MB NPU
NetVLAD QNN_DLC float Snapdragon® X Elite 19.442 ms 0 - 0 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Gen 1 Mobile 35.893 ms 0 - 187 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 41.795 ms 0 - 3 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 18.617 ms 0 - 2 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.893 ms 0 - 187 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 36.813 ms 2 - 4 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 19.442 ms 0 - 0 MB NPU
NetVLAD QNN_DLC float Qualcomm® Dragonwing™ Q-8750 11.407 ms 4 - 150 MB NPU
NetVLAD QNN_DLC float Qualcomm® SA8295P 39.827 ms 0 - 147 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 7.161 ms 0 - 143 MB NPU
NetVLAD QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 7.415 ms 0 - 143 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