BGNet: Optimized for Qualcomm Devices

BGNet or Boundary-Guided Network, is a model designed for camouflaged object detection. It leverages edge semantics to enhance the representation learning process, making it more effective at identifying objects that blend into their surroundings

This is based on the implementation of BGNet 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

Due to licensing restrictions, we cannot distribute pre-exported model assets for this model. 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

See our repository for BGNet on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.semantic_segmentation

Model Stats:

  • Model checkpoint: BGNet
  • Input resolution: 416x416
  • Number of parameters: 77.8M
  • Model size (float): 297 MB

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
BGNet ONNX float Snapdragon® X Elite 19.133 ms 154 - 154 MB NPU
BGNet ONNX float Snapdragon® 8 Gen 3 Mobile 13.733 ms 3 - 249 MB NPU
BGNet ONNX float Qualcomm® QCS8550 (Proxy) 18.77 ms 0 - 161 MB NPU
BGNet ONNX float Qualcomm® QCS9075 34.55 ms 2 - 7 MB NPU
BGNet ONNX float Snapdragon® 8 Elite For Galaxy Mobile 10.969 ms 3 - 176 MB NPU
BGNet ONNX float Snapdragon® 8 Elite Gen 5 Mobile 9.206 ms 1 - 182 MB NPU
BGNet ONNX w8a16 Snapdragon® X Elite 12.075 ms 78 - 78 MB NPU
BGNet ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 8.779 ms 2 - 352 MB NPU
BGNet ONNX w8a16 Qualcomm® QCS6490 2710.461 ms 327 - 384 MB CPU
BGNet ONNX w8a16 Qualcomm® QCS8550 (Proxy) 11.98 ms 0 - 561 MB NPU
BGNet ONNX w8a16 Qualcomm® QCS9075 14.447 ms 1 - 4 MB NPU
BGNet ONNX w8a16 Qualcomm® QCM6690 1254.75 ms 267 - 282 MB CPU
BGNet ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 6.96 ms 2 - 214 MB NPU
BGNet ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 1251.117 ms 220 - 231 MB CPU
BGNet ONNX w8a16 Snapdragon® 8 Elite Gen 5 Mobile 5.159 ms 0 - 214 MB NPU
BGNet ONNX w8a8 Snapdragon® X Elite 6.222 ms 78 - 78 MB NPU
BGNet ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 4.466 ms 0 - 281 MB NPU
BGNet ONNX w8a8 Qualcomm® QCS6490 446.974 ms 49 - 158 MB CPU
BGNet ONNX w8a8 Qualcomm® QCS8550 (Proxy) 6.373 ms 0 - 83 MB NPU
BGNet ONNX w8a8 Qualcomm® QCS9075 7.517 ms 0 - 4 MB NPU
BGNet ONNX w8a8 Qualcomm® QCM6690 395.944 ms 52 - 68 MB CPU
BGNet ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 3.796 ms 0 - 177 MB NPU
BGNet ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 328.101 ms 28 - 40 MB CPU
BGNet ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 3.095 ms 0 - 178 MB NPU
BGNet QNN_DLC float Snapdragon® X Elite 20.02 ms 2 - 2 MB NPU
BGNet QNN_DLC float Snapdragon® 8 Gen 3 Mobile 14.126 ms 0 - 310 MB NPU
BGNet QNN_DLC float Qualcomm® QCS8275 (Proxy) 115.222 ms 2 - 238 MB NPU
BGNet QNN_DLC float Qualcomm® QCS8550 (Proxy) 19.65 ms 2 - 4 MB NPU
BGNet QNN_DLC float Qualcomm® SA8775P 31.764 ms 2 - 237 MB NPU
BGNet QNN_DLC float Qualcomm® QCS9075 37.248 ms 2 - 6 MB NPU
BGNet QNN_DLC float Qualcomm® QCS8450 (Proxy) 39.088 ms 0 - 260 MB NPU
BGNet QNN_DLC float Qualcomm® SA7255P 115.222 ms 2 - 238 MB NPU
BGNet QNN_DLC float Qualcomm® SA8295P 34.339 ms 2 - 195 MB NPU
BGNet QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 11.059 ms 2 - 234 MB NPU
BGNet QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 8.697 ms 2 - 245 MB NPU
BGNet QNN_DLC w8a16 Snapdragon® X Elite 12.967 ms 1 - 1 MB NPU
BGNet QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 9.094 ms 0 - 393 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® QCS6490 61.717 ms 1 - 4 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® QCS8275 (Proxy) 36.589 ms 1 - 259 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® QCS8550 (Proxy) 12.406 ms 1 - 3 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® SA8775P 12.83 ms 1 - 260 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® QCS9075 15.088 ms 1 - 4 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® QCM6690 200.187 ms 1 - 362 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® QCS8450 (Proxy) 20.716 ms 1 - 377 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® SA7255P 36.589 ms 1 - 259 MB NPU
BGNet QNN_DLC w8a16 Qualcomm® SA8295P 20.431 ms 1 - 258 MB NPU
BGNet QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 6.88 ms 1 - 251 MB NPU
BGNet QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 23.422 ms 1 - 340 MB NPU
BGNet QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 5.914 ms 1 - 258 MB NPU
BGNet QNN_DLC w8a8 Snapdragon® X Elite 6.449 ms 0 - 0 MB NPU
BGNet QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 4.419 ms 0 - 318 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® QCS6490 26.543 ms 2 - 5 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® QCS8275 (Proxy) 17.966 ms 1 - 212 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® QCS8550 (Proxy) 6.205 ms 1 - 2 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® SA8775P 6.601 ms 1 - 214 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® QCS9075 7.502 ms 1 - 3 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® QCM6690 112.998 ms 1 - 290 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® QCS8450 (Proxy) 9.531 ms 0 - 318 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® SA7255P 17.966 ms 1 - 212 MB NPU
BGNet QNN_DLC w8a8 Qualcomm® SA8295P 10.032 ms 1 - 214 MB NPU
BGNet QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 3.577 ms 0 - 211 MB NPU
BGNet QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 11.111 ms 1 - 285 MB NPU
BGNet QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 2.843 ms 1 - 215 MB NPU
BGNet TFLITE float Snapdragon® 8 Gen 3 Mobile 14.439 ms 1 - 457 MB NPU
BGNet TFLITE float Qualcomm® QCS8275 (Proxy) 113.713 ms 1 - 301 MB NPU
BGNet TFLITE float Qualcomm® QCS8550 (Proxy) 19.606 ms 1 - 4 MB NPU
BGNet TFLITE float Qualcomm® SA8775P 31.741 ms 1 - 303 MB NPU
BGNet TFLITE float Qualcomm® QCS9075 34.936 ms 1 - 159 MB NPU
BGNet TFLITE float Qualcomm® QCS8450 (Proxy) 37.065 ms 1 - 415 MB NPU
BGNet TFLITE float Qualcomm® SA7255P 113.713 ms 1 - 301 MB NPU
BGNet TFLITE float Qualcomm® SA8295P 32.914 ms 1 - 261 MB NPU
BGNet TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 11.381 ms 0 - 300 MB NPU
BGNet TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 8.535 ms 1 - 311 MB NPU

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/BGNet