Image Segmentation
PyTorch
android

SINet: Optimized for Qualcomm Devices

SINet is a machine learning model that is designed to segment people from close-up portrait images in real time.

This is based on the implementation of SINet 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 w8a16 Universal QAIRT 2.51, ONNX Runtime 1.30.0 Download
ONNX w8a8 Universal QAIRT 2.51, ONNX Runtime 1.30.0 Download
QNN_DLC float Universal QAIRT 2.51 Download
QNN_DLC w8a16 Universal QAIRT 2.51 Download
QNN_DLC w8a8 Universal QAIRT 2.51 Download
TFLITE float Universal QAIRT 2.51 Download
TFLITE w8a8 Universal QAIRT 2.51 Download

For more device-specific assets and performance metrics, visit SINet 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 SINet on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.semantic_segmentation

Model Stats:

  • Input resolution: 224x224
  • Model checkpoint: SINet.pth
  • Model size (float): 415 KB
  • Model size (w8a8): 241 KB
  • Number of output classes: 2 (foreground / background)
  • Number of parameters: 91.9K

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
SINet ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.117 ms 0 - 43 MB NPU
SINet ONNX float Snapdragon® 8 Elite For Galaxy Mobile 1.266 ms 0 - 39 MB NPU
SINet ONNX float Snapdragon® X2 Elite 1.181 ms 2 - 2 MB NPU
SINet ONNX float Snapdragon® X Elite 2.577 ms 2 - 2 MB NPU
SINet ONNX float Snapdragon® 8 Gen 3 Mobile 1.684 ms 0 - 53 MB NPU
SINet ONNX float Snapdragon® 8 Gen 1 Mobile 2.768 ms 1 - 62 MB NPU
SINet ONNX float Qualcomm® Dragonwing™ IQ-8275 2.276 ms 1 - 6 MB NPU
SINet ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 2.465 ms 0 - 3 MB NPU
SINet ONNX float Qualcomm® QCS8450 2.768 ms 1 - 62 MB NPU
SINet ONNX float Qualcomm® Dragonwing™ IQ-9075 2.605 ms 1 - 5 MB NPU
SINet ONNX float Qualcomm® Dragonwing™ IQ-X7181 2.577 ms 2 - 2 MB NPU
SINet ONNX float Qualcomm® Dragonwing™ Q-8750 1.266 ms 0 - 39 MB NPU
SINet ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.999 ms 1 - 40 MB NPU
SINet ONNX float Snapdragon® 8 Elite Gen 6 Mobile 1.297 ms 0 - 39 MB NPU
SINet ONNX w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.202 ms 0 - 59 MB NPU
SINet ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 1.374 ms 0 - 59 MB NPU
SINet ONNX w8a16 Snapdragon® X2 Elite 1.252 ms 1 - 1 MB NPU
SINet ONNX w8a16 Snapdragon® X Elite 2.856 ms 1 - 1 MB NPU
SINet ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 1.856 ms 0 - 66 MB NPU
SINet ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 3.093 ms 0 - 72 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 6.6 ms 3 - 6 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 2.366 ms 0 - 4 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 2.716 ms 0 - 4 MB NPU
SINet ONNX w8a16 Qualcomm® QCS8450 3.093 ms 0 - 72 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 2.824 ms 0 - 4 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 2.856 ms 1 - 1 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 8.156 ms 3 - 166 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 2.98 ms 0 - 165 MB NPU
SINet ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 1.374 ms 0 - 59 MB NPU
SINet ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 2.98 ms 0 - 165 MB NPU
SINet ONNX w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 1.021 ms 0 - 56 MB NPU
SINet ONNX w8a16 Snapdragon® 8 Elite Gen 6 Mobile 1.352 ms 0 - 51 MB NPU
SINet ONNX w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.696 ms 0 - 47 MB NPU
SINet ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.781 ms 0 - 45 MB NPU
SINet ONNX w8a8 Snapdragon® X2 Elite 0.717 ms 1 - 1 MB NPU
SINet ONNX w8a8 Snapdragon® X Elite 1.475 ms 1 - 1 MB NPU
SINet ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 1.271 ms 0 - 63 MB NPU
SINet ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 1.647 ms 0 - 62 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ QCS6490 3.641 ms 2 - 6 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ IQ-8275 1.316 ms 0 - 4 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.411 ms 0 - 2 MB NPU
SINet ONNX w8a8 Qualcomm® QCS8450 1.647 ms 0 - 62 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ IQ-9075 1.462 ms 0 - 4 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ IQ-X7181 1.475 ms 1 - 1 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ Q-6690 4.413 ms 0 - 50 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ Q-7790 1.614 ms 0 - 46 MB NPU
SINet ONNX w8a8 Qualcomm® Dragonwing™ Q-8750 0.781 ms 0 - 45 MB NPU
SINet ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 1.614 ms 0 - 46 MB NPU
SINet ONNX w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.624 ms 0 - 47 MB NPU
SINet ONNX w8a8 Snapdragon® 8 Elite Gen 6 Mobile 0.822 ms 0 - 47 MB NPU
SINet QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.708 ms 1 - 40 MB NPU
SINet QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 0.844 ms 1 - 36 MB NPU
SINet QNN_DLC float Snapdragon® X2 Elite 1.041 ms 1 - 1 MB NPU
SINet QNN_DLC float Snapdragon® X Elite 1.966 ms 1 - 1 MB NPU
SINet QNN_DLC float Snapdragon® 8 Gen 3 Mobile 1.169 ms 0 - 48 MB NPU
SINet QNN_DLC float Snapdragon® 8 Gen 1 Mobile 2.165 ms 0 - 57 MB NPU
SINet QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 1.659 ms 1 - 5 MB NPU
SINet QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.731 ms 1 - 2 MB NPU
SINet QNN_DLC float Qualcomm® SA8775P 2.161 ms 0 - 36 MB NPU
SINet QNN_DLC float Qualcomm® SA8650P 2.161 ms 0 - 36 MB NPU
SINet QNN_DLC float Qualcomm® SA8255P 2.161 ms 0 - 36 MB NPU
SINet QNN_DLC float Qualcomm® QCS8450 2.165 ms 0 - 57 MB NPU
SINet QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 1.852 ms 1 - 4 MB NPU
SINet QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 1.966 ms 1 - 1 MB NPU
SINet QNN_DLC float Qualcomm® Dragonwing™ Q-8750 0.844 ms 1 - 36 MB NPU
SINet QNN_DLC float Qualcomm® SA8295P 2.504 ms 0 - 38 MB NPU
SINet QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.644 ms 0 - 35 MB NPU
SINet QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 0.906 ms 0 - 35 MB NPU
SINet QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.077 ms 0 - 49 MB NPU
SINet QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 1.234 ms 0 - 49 MB NPU
SINet QNN_DLC w8a16 Snapdragon® X2 Elite 1.373 ms 0 - 0 MB NPU
SINet QNN_DLC w8a16 Snapdragon® X Elite 2.745 ms 0 - 0 MB NPU
SINet QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 1.312 ms 0 - 52 MB NPU
SINet QNN_DLC w8a16 Snapdragon® 8 Gen 1 Mobile 2.815 ms 0 - 63 MB NPU
SINet QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 2.146 ms 0 - 4 MB NPU
SINet QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 2.469 ms 0 - 2 MB NPU
SINet QNN_DLC w8a16 Qualcomm® SA8775P 2.882 ms 0 - 44 MB NPU
SINet QNN_DLC w8a16 Qualcomm® SA8650P 2.882 ms 0 - 44 MB NPU
SINet QNN_DLC w8a16 Qualcomm® SA8255P 2.882 ms 0 - 44 MB NPU
SINet QNN_DLC w8a16 Qualcomm® QCS8450 2.815 ms 0 - 63 MB NPU
SINet QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 2.548 ms 0 - 3 MB NPU
SINet QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 2.745 ms 0 - 0 MB NPU
SINet QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 1.234 ms 0 - 49 MB NPU
SINet QNN_DLC w8a16 Qualcomm® SA7255P 4.556 ms 0 - 44 MB NPU
SINet QNN_DLC w8a16 Qualcomm® SA8295P 3.253 ms 0 - 44 MB NPU
SINet QNN_DLC w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.913 ms 0 - 46 MB NPU
SINet QNN_DLC w8a16 Snapdragon® 8 Elite Gen 6 Mobile 1.231 ms 0 - 42 MB NPU
SINet QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.523 ms 0 - 37 MB NPU
SINet QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.613 ms 0 - 36 MB NPU
SINet QNN_DLC w8a8 Snapdragon® X2 Elite 0.69 ms 0 - 0 MB NPU
SINet QNN_DLC w8a8 Snapdragon® X Elite 1.295 ms 0 - 0 MB NPU
SINet QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 0.957 ms 0 - 49 MB NPU
SINet QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 1.357 ms 0 - 51 MB NPU
SINet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 1.025 ms 0 - 4 MB NPU
SINet QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.132 ms 0 - 2 MB NPU
SINet QNN_DLC w8a8 Qualcomm® SA8775P 1.367 ms 0 - 36 MB NPU
SINet QNN_DLC w8a8 Qualcomm® SA8650P 1.367 ms 0 - 36 MB NPU
SINet QNN_DLC w8a8 Qualcomm® SA8255P 1.367 ms 0 - 36 MB NPU
SINet QNN_DLC w8a8 Qualcomm® QCS8450 1.357 ms 0 - 51 MB NPU
SINet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 1.183 ms 0 - 3 MB NPU
SINet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 1.295 ms 0 - 0 MB NPU
SINet QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 0.613 ms 0 - 36 MB NPU
SINet QNN_DLC w8a8 Qualcomm® SA8295P 1.745 ms 0 - 35 MB NPU
SINet QNN_DLC w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.465 ms 0 - 38 MB NPU
SINet QNN_DLC w8a8 Snapdragon® 8 Elite Gen 6 Mobile 0.648 ms 0 - 38 MB NPU
SINet TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.776 ms 0 - 35 MB NPU
SINet TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 0.92 ms 0 - 38 MB NPU
SINet TFLITE float Snapdragon® 8 Gen 3 Mobile 1.222 ms 0 - 47 MB NPU
SINet TFLITE float Snapdragon® 8 Gen 1 Mobile 2.311 ms 0 - 60 MB NPU
SINet TFLITE float Qualcomm® Dragonwing™ IQ-8275 1.916 ms 0 - 6 MB NPU
SINet TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.801 ms 0 - 2 MB NPU
SINet TFLITE float Qualcomm® SA8775P 2.633 ms 0 - 36 MB NPU
SINet TFLITE float Qualcomm® SA8650P 2.633 ms 0 - 36 MB NPU
SINet TFLITE float Qualcomm® SA8255P 2.633 ms 0 - 36 MB NPU
SINet TFLITE float Qualcomm® QCS8450 2.311 ms 0 - 60 MB NPU
SINet TFLITE float Qualcomm® Dragonwing™ IQ-9075 2.055 ms 2 - 7 MB NPU
SINet TFLITE float Qualcomm® Dragonwing™ Q-8750 0.92 ms 0 - 38 MB NPU
SINet TFLITE float Qualcomm® SA7255P 5.535 ms 2 - 16 MB CPU
SINet TFLITE float Qualcomm® SA8295P 2.825 ms 0 - 37 MB NPU
SINet TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.716 ms 0 - 36 MB NPU
SINet TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 1.026 ms 0 - 36 MB NPU

License

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