qaihm-bot commited on
Commit
24d9898
·
verified ·
1 Parent(s): f1d51c1

See https://github.com/quic/ai-hub-models/releases/v0.46.1 for changelog.

Files changed (1) hide show
  1. README.md +103 -226
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  library_name: pytorch
3
- license: unknown
4
  tags:
5
  - real_time
6
  - android
@@ -10,230 +10,111 @@ pipeline_tag: image-segmentation
10
 
11
  ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/bgnet/web-assets/model_demo.png)
12
 
13
- # BGNet: Optimized for Mobile Deployment
14
- ## Segment images in real-time on device
15
-
16
 
17
  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
18
 
19
- This model is an implementation of BGNet found [here](https://github.com/thograce/bgnet).
20
-
21
-
22
- This repository provides scripts to run BGNet on Qualcomm® devices.
23
- More details on model performance across various devices, can be found
24
- [here](https://aihub.qualcomm.com/models/bgnet).
25
-
26
- **WARNING**: The model assets are not readily available for download due to licensing restrictions.
27
-
28
- ### Model Details
29
-
30
- - **Model Type:** Model_use_case.semantic_segmentation
31
- - **Model Stats:**
32
- - Model checkpoint: BGNet
33
- - Input resolution: 416x416
34
- - Number of parameters: 77.8M
35
- - Model size (float): 297 MB
36
-
37
- | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
38
- |---|---|---|---|---|---|---|---|---|
39
- | BGNet | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 112.395 ms | 1 - 255 MB | NPU | -- |
40
- | BGNet | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 114.931 ms | 2 - 199 MB | NPU | -- |
41
- | BGNet | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 37.051 ms | 1 - 381 MB | NPU | -- |
42
- | BGNet | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 38.697 ms | 2 - 233 MB | NPU | -- |
43
- | BGNet | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 19.189 ms | 1 - 3 MB | NPU | -- |
44
- | BGNet | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 20.135 ms | 2 - 4 MB | NPU | -- |
45
- | BGNet | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | ONNX | 18.84 ms | 0 - 161 MB | NPU | -- |
46
- | BGNet | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 31.423 ms | 1 - 254 MB | NPU | -- |
47
- | BGNet | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 32.299 ms | 2 - 200 MB | NPU | -- |
48
- | BGNet | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 112.395 ms | 1 - 255 MB | NPU | -- |
49
- | BGNet | float | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 114.931 ms | 2 - 199 MB | NPU | -- |
50
- | BGNet | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 32.906 ms | 1 - 226 MB | NPU | -- |
51
- | BGNet | float | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 34.016 ms | 2 - 169 MB | NPU | -- |
52
- | BGNet | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 31.423 ms | 1 - 254 MB | NPU | -- |
53
- | BGNet | float | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 32.299 ms | 2 - 200 MB | NPU | -- |
54
- | BGNet | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 13.713 ms | 0 - 408 MB | NPU | -- |
55
- | BGNet | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_DLC | 14.488 ms | 2 - 276 MB | NPU | -- |
56
- | BGNet | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 13.63 ms | 3 - 246 MB | NPU | -- |
57
- | BGNet | float | Samsung Galaxy S25 | Snapdragon® 8 Elite For Galaxy Mobile | TFLITE | 11.113 ms | 1 - 252 MB | NPU | -- |
58
- | BGNet | float | Samsung Galaxy S25 | Snapdragon® 8 Elite For Galaxy Mobile | QNN_DLC | 11.619 ms | 2 - 201 MB | NPU | -- |
59
- | BGNet | float | Samsung Galaxy S25 | Snapdragon® 8 Elite For Galaxy Mobile | ONNX | 11.025 ms | 3 - 175 MB | NPU | -- |
60
- | BGNet | float | Snapdragon 8 Elite Gen 5 QRD | Snapdragon® 8 Elite Gen 5 Mobile | TFLITE | 8.347 ms | 1 - 264 MB | NPU | -- |
61
- | BGNet | float | Snapdragon 8 Elite Gen 5 QRD | Snapdragon® 8 Elite Gen 5 Mobile | QNN_DLC | 8.84 ms | 2 - 209 MB | NPU | -- |
62
- | BGNet | float | Snapdragon 8 Elite Gen 5 QRD | Snapdragon® 8 Elite Gen 5 Mobile | ONNX | 10.864 ms | 3 - 183 MB | NPU | -- |
63
- | BGNet | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 20.675 ms | 2 - 2 MB | NPU | -- |
64
- | BGNet | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 19.138 ms | 154 - 154 MB | NPU | -- |
65
-
66
-
67
-
68
-
69
- ## Installation
70
-
71
-
72
- Install the package via pip:
73
- ```bash
74
- # NOTE: 3.10 <= PYTHON_VERSION < 3.14 is supported.
75
- pip install pysodmetrics==1.5.1 --no-deps
76
- pip install "qai-hub-models[bgnet]"
77
- ```
78
-
79
-
80
- ## Configure Qualcomm® AI Hub Workbench to run this model on a cloud-hosted device
81
-
82
- Sign-in to [Qualcomm® AI Hub Workbench](https://workbench.aihub.qualcomm.com/) with your
83
- Qualcomm® ID. Once signed in navigate to `Account -> Settings -> API Token`.
84
-
85
- With this API token, you can configure your client to run models on the cloud
86
- hosted devices.
87
- ```bash
88
- qai-hub configure --api_token API_TOKEN
89
- ```
90
- Navigate to [docs](https://workbench.aihub.qualcomm.com/docs/) for more information.
91
-
92
-
93
-
94
- ## Demo off target
95
-
96
- The package contains a simple end-to-end demo that downloads pre-trained
97
- weights and runs this model on a sample input.
98
-
99
- ```bash
100
- python -m qai_hub_models.models.bgnet.demo
101
- ```
102
-
103
- The above demo runs a reference implementation of pre-processing, model
104
- inference, and post processing.
105
-
106
- **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
107
- environment, please add the following to your cell (instead of the above).
108
- ```
109
- %run -m qai_hub_models.models.bgnet.demo
110
- ```
111
-
112
-
113
- ### Run model on a cloud-hosted device
114
-
115
- In addition to the demo, you can also run the model on a cloud-hosted Qualcomm®
116
- device. This script does the following:
117
- * Performance check on-device on a cloud-hosted device
118
- * Downloads compiled assets that can be deployed on-device for Android.
119
- * Accuracy check between PyTorch and on-device outputs.
120
-
121
- ```bash
122
- python -m qai_hub_models.models.bgnet.export
123
- ```
124
-
125
-
126
-
127
- ## How does this work?
128
-
129
- This [export script](https://aihub.qualcomm.com/models/bgnet/qai_hub_models/models/BGNet/export.py)
130
- leverages [Qualcomm® AI Hub](https://aihub.qualcomm.com/) to optimize, validate, and deploy this model
131
- on-device. Lets go through each step below in detail:
132
-
133
- Step 1: **Compile model for on-device deployment**
134
-
135
- To compile a PyTorch model for on-device deployment, we first trace the model
136
- in memory using the `jit.trace` and then call the `submit_compile_job` API.
137
-
138
- ```python
139
- import torch
140
-
141
- import qai_hub as hub
142
- from qai_hub_models.models.bgnet import Model
143
-
144
- # Load the model
145
- torch_model = Model.from_pretrained()
146
-
147
- # Device
148
- device = hub.Device("Samsung Galaxy S25")
149
-
150
- # Trace model
151
- input_shape = torch_model.get_input_spec()
152
- sample_inputs = torch_model.sample_inputs()
153
-
154
- pt_model = torch.jit.trace(torch_model, [torch.tensor(data[0]) for _, data in sample_inputs.items()])
155
-
156
- # Compile model on a specific device
157
- compile_job = hub.submit_compile_job(
158
- model=pt_model,
159
- device=device,
160
- input_specs=torch_model.get_input_spec(),
161
- )
162
-
163
- # Get target model to run on-device
164
- target_model = compile_job.get_target_model()
165
-
166
- ```
167
-
168
-
169
- Step 2: **Performance profiling on cloud-hosted device**
170
-
171
- After compiling models from step 1. Models can be profiled model on-device using the
172
- `target_model`. Note that this scripts runs the model on a device automatically
173
- provisioned in the cloud. Once the job is submitted, you can navigate to a
174
- provided job URL to view a variety of on-device performance metrics.
175
- ```python
176
- profile_job = hub.submit_profile_job(
177
- model=target_model,
178
- device=device,
179
- )
180
-
181
- ```
182
-
183
- Step 3: **Verify on-device accuracy**
184
-
185
- To verify the accuracy of the model on-device, you can run on-device inference
186
- on sample input data on the same cloud hosted device.
187
- ```python
188
- input_data = torch_model.sample_inputs()
189
- inference_job = hub.submit_inference_job(
190
- model=target_model,
191
- device=device,
192
- inputs=input_data,
193
- )
194
- on_device_output = inference_job.download_output_data()
195
-
196
- ```
197
- With the output of the model, you can compute like PSNR, relative errors or
198
- spot check the output with expected output.
199
-
200
- **Note**: This on-device profiling and inference requires access to Qualcomm®
201
- AI Hub Workbench. [Sign up for access](https://myaccount.qualcomm.com/signup).
202
-
203
-
204
-
205
- ## Run demo on a cloud-hosted device
206
-
207
- You can also run the demo on-device.
208
-
209
- ```bash
210
- python -m qai_hub_models.models.bgnet.demo --eval-mode on-device
211
- ```
212
-
213
- **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
214
- environment, please add the following to your cell (instead of the above).
215
- ```
216
- %run -m qai_hub_models.models.bgnet.demo -- --eval-mode on-device
217
- ```
218
-
219
-
220
- ## Deploying compiled model to Android
221
-
222
-
223
- The models can be deployed using multiple runtimes:
224
- - TensorFlow Lite (`.tflite` export): [This
225
- tutorial](https://www.tensorflow.org/lite/android/quickstart) provides a
226
- guide to deploy the .tflite model in an Android application.
227
-
228
-
229
- - QNN (`.so` export ): This [sample
230
- app](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/sample_app.html)
231
- provides instructions on how to use the `.so` shared library in an Android application.
232
-
233
-
234
- ## View on Qualcomm® AI Hub
235
- Get more details on BGNet's performance across various devices [here](https://aihub.qualcomm.com/models/bgnet).
236
- Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
237
 
238
 
239
 
@@ -241,10 +122,6 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
241
  * [BGNet: Boundary-Guided Camouflaged Object Detection (IJCAI 2022)](https://arxiv.org/abs/2207.00794)
242
  * [Source Model Implementation](https://github.com/thograce/bgnet)
243
 
244
-
245
-
246
  ## Community
247
  * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
248
  * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
249
-
250
-
 
1
  ---
2
  library_name: pytorch
3
+ license: other
4
  tags:
5
  - real_time
6
  - android
 
10
 
11
  ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/bgnet/web-assets/model_demo.png)
12
 
13
+ # BGNet: Optimized for Qualcomm Devices
 
 
14
 
15
  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
16
 
17
+ This is based on the implementation of BGNet found [here](https://github.com/thograce/bgnet).
18
+ This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/bgnet) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
19
+
20
+ Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.
21
+
22
+ ## Getting Started
23
+ Due to licensing restrictions, we cannot distribute pre-exported model assets for this model.
24
+ Use the [Qualcomm® AI Hub Models](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/bgnet) Python library to compile and export the model with your own:
25
+ - Custom weights (e.g., fine-tuned checkpoints)
26
+ - Custom input shapes
27
+ - Target device and runtime configurations
28
+
29
+ See our repository for [BGNet on GitHub](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/bgnet) for usage instructions.
30
+
31
+
32
+ ## Model Details
33
+
34
+ **Model Type:** Model_use_case.semantic_segmentation
35
+
36
+ **Model Stats:**
37
+ - Model checkpoint: BGNet
38
+ - Input resolution: 416x416
39
+ - Number of parameters: 77.8M
40
+ - Model size (float): 297 MB
41
+
42
+ ## Performance Summary
43
+ | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
44
+ |---|---|---|---|---|---|---
45
+ | BGNet | ONNX | float | Snapdragon® X Elite | 19.133 ms | 154 - 154 MB | NPU
46
+ | BGNet | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 13.733 ms | 3 - 249 MB | NPU
47
+ | BGNet | ONNX | float | Qualcomm® QCS8550 (Proxy) | 18.77 ms | 0 - 161 MB | NPU
48
+ | BGNet | ONNX | float | Qualcomm® QCS9075 | 34.55 ms | 2 - 7 MB | NPU
49
+ | BGNet | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 10.969 ms | 3 - 176 MB | NPU
50
+ | BGNet | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 9.206 ms | 1 - 182 MB | NPU
51
+ | BGNet | ONNX | w8a16 | Snapdragon® X Elite | 12.075 ms | 78 - 78 MB | NPU
52
+ | BGNet | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 8.779 ms | 2 - 352 MB | NPU
53
+ | BGNet | ONNX | w8a16 | Qualcomm® QCS6490 | 2710.461 ms | 327 - 384 MB | CPU
54
+ | BGNet | ONNX | w8a16 | Qualcomm® QCS8550 (Proxy) | 11.98 ms | 0 - 561 MB | NPU
55
+ | BGNet | ONNX | w8a16 | Qualcomm® QCS9075 | 14.447 ms | 1 - 4 MB | NPU
56
+ | BGNet | ONNX | w8a16 | Qualcomm® QCM6690 | 1254.75 ms | 267 - 282 MB | CPU
57
+ | BGNet | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 6.96 ms | 2 - 214 MB | NPU
58
+ | BGNet | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 1251.117 ms | 220 - 231 MB | CPU
59
+ | BGNet | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 5.159 ms | 0 - 214 MB | NPU
60
+ | BGNet | ONNX | w8a8 | Snapdragon® X Elite | 6.222 ms | 78 - 78 MB | NPU
61
+ | BGNet | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 4.466 ms | 0 - 281 MB | NPU
62
+ | BGNet | ONNX | w8a8 | Qualcomm® QCS6490 | 446.974 ms | 49 - 158 MB | CPU
63
+ | BGNet | ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 6.373 ms | 0 - 83 MB | NPU
64
+ | BGNet | ONNX | w8a8 | Qualcomm® QCS9075 | 7.517 ms | 0 - 4 MB | NPU
65
+ | BGNet | ONNX | w8a8 | Qualcomm® QCM6690 | 395.944 ms | 52 - 68 MB | CPU
66
+ | BGNet | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 3.796 ms | 0 - 177 MB | NPU
67
+ | BGNet | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 328.101 ms | 28 - 40 MB | CPU
68
+ | BGNet | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 3.095 ms | 0 - 178 MB | NPU
69
+ | BGNet | QNN_DLC | float | Snapdragon® X Elite | 20.02 ms | 2 - 2 MB | NPU
70
+ | BGNet | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 14.126 ms | 0 - 310 MB | NPU
71
+ | BGNet | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 115.222 ms | 2 - 238 MB | NPU
72
+ | BGNet | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 19.65 ms | 2 - 4 MB | NPU
73
+ | BGNet | QNN_DLC | float | Qualcomm® SA8775P | 31.764 ms | 2 - 237 MB | NPU
74
+ | BGNet | QNN_DLC | float | Qualcomm® QCS9075 | 37.248 ms | 2 - 6 MB | NPU
75
+ | BGNet | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 39.088 ms | 0 - 260 MB | NPU
76
+ | BGNet | QNN_DLC | float | Qualcomm® SA7255P | 115.222 ms | 2 - 238 MB | NPU
77
+ | BGNet | QNN_DLC | float | Qualcomm® SA8295P | 34.339 ms | 2 - 195 MB | NPU
78
+ | BGNet | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 11.059 ms | 2 - 234 MB | NPU
79
+ | BGNet | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 8.697 ms | 2 - 245 MB | NPU
80
+ | BGNet | QNN_DLC | w8a16 | Snapdragon® X Elite | 12.967 ms | 1 - 1 MB | NPU
81
+ | BGNet | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 9.094 ms | 0 - 393 MB | NPU
82
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® QCS6490 | 61.717 ms | 1 - 4 MB | NPU
83
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® QCS8275 (Proxy) | 36.589 ms | 1 - 259 MB | NPU
84
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® QCS8550 (Proxy) | 12.406 ms | 1 - 3 MB | NPU
85
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® SA8775P | 12.83 ms | 1 - 260 MB | NPU
86
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® QCS9075 | 15.088 ms | 1 - 4 MB | NPU
87
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® QCM6690 | 200.187 ms | 1 - 362 MB | NPU
88
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® QCS8450 (Proxy) | 20.716 ms | 1 - 377 MB | NPU
89
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® SA7255P | 36.589 ms | 1 - 259 MB | NPU
90
+ | BGNet | QNN_DLC | w8a16 | Qualcomm® SA8295P | 20.431 ms | 1 - 258 MB | NPU
91
+ | BGNet | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 6.88 ms | 1 - 251 MB | NPU
92
+ | BGNet | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 23.422 ms | 1 - 340 MB | NPU
93
+ | BGNet | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 5.914 ms | 1 - 258 MB | NPU
94
+ | BGNet | QNN_DLC | w8a8 | Snapdragon® X Elite | 6.449 ms | 0 - 0 MB | NPU
95
+ | BGNet | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 4.419 ms | 0 - 318 MB | NPU
96
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® QCS6490 | 26.543 ms | 2 - 5 MB | NPU
97
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® QCS8275 (Proxy) | 17.966 ms | 1 - 212 MB | NPU
98
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® QCS8550 (Proxy) | 6.205 ms | 1 - 2 MB | NPU
99
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® SA8775P | 6.601 ms | 1 - 214 MB | NPU
100
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® QCS9075 | 7.502 ms | 1 - 3 MB | NPU
101
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® QCM6690 | 112.998 ms | 1 - 290 MB | NPU
102
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® QCS8450 (Proxy) | 9.531 ms | 0 - 318 MB | NPU
103
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® SA7255P | 17.966 ms | 1 - 212 MB | NPU
104
+ | BGNet | QNN_DLC | w8a8 | Qualcomm® SA8295P | 10.032 ms | 1 - 214 MB | NPU
105
+ | BGNet | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 3.577 ms | 0 - 211 MB | NPU
106
+ | BGNet | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 11.111 ms | 1 - 285 MB | NPU
107
+ | BGNet | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 2.843 ms | 1 - 215 MB | NPU
108
+ | BGNet | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 14.439 ms | 1 - 457 MB | NPU
109
+ | BGNet | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 113.713 ms | 1 - 301 MB | NPU
110
+ | BGNet | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 19.606 ms | 1 - 4 MB | NPU
111
+ | BGNet | TFLITE | float | Qualcomm® SA8775P | 31.741 ms | 1 - 303 MB | NPU
112
+ | BGNet | TFLITE | float | Qualcomm® QCS9075 | 34.936 ms | 1 - 159 MB | NPU
113
+ | BGNet | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 37.065 ms | 1 - 415 MB | NPU
114
+ | BGNet | TFLITE | float | Qualcomm® SA7255P | 113.713 ms | 1 - 301 MB | NPU
115
+ | BGNet | TFLITE | float | Qualcomm® SA8295P | 32.914 ms | 1 - 261 MB | NPU
116
+ | BGNet | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 11.381 ms | 0 - 300 MB | NPU
117
+ | BGNet | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 8.535 ms | 1 - 311 MB | NPU
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
 
120
 
 
122
  * [BGNet: Boundary-Guided Camouflaged Object Detection (IJCAI 2022)](https://arxiv.org/abs/2207.00794)
123
  * [Source Model Implementation](https://github.com/thograce/bgnet)
124
 
 
 
125
  ## Community
126
  * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
127
  * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).