v0.48.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.48.0 for changelog.
README.md
CHANGED
|
@@ -14,7 +14,7 @@ pipeline_tag: image-segmentation
|
|
| 14 |
The Fast Segment Anything Model (FastSAM) is a novel, real-time CNN-based solution for the Segment Anything task. This task is designed to segment any object within an image based on various possible user interaction prompts. The model performs competitively despite significantly reduced computation, making it a practical choice for a variety of vision tasks.
|
| 15 |
|
| 16 |
This is based on the implementation of FastSam-S found [here](https://github.com/CASIA-IVA-Lab/FastSAM).
|
| 17 |
-
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/
|
| 18 |
|
| 19 |
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.
|
| 20 |
|
|
@@ -27,23 +27,23 @@ Below are pre-exported model assets ready for deployment.
|
|
| 27 |
|
| 28 |
| Runtime | Precision | Chipset | SDK Versions | Download |
|
| 29 |
|---|---|---|---|---|
|
| 30 |
-
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/fastsam_s/releases/v0.
|
| 31 |
-
| QNN_DLC | float | Universal | QAIRT 2.43 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/fastsam_s/releases/v0.
|
| 32 |
-
| TFLITE | float | Universal | QAIRT 2.43, TFLite 2.17.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/fastsam_s/releases/v0.
|
| 33 |
|
| 34 |
For more device-specific assets and performance metrics, visit **[FastSam-S on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/fastsam_s)**.
|
| 35 |
|
| 36 |
|
| 37 |
### Option 2: Export with Custom Configurations
|
| 38 |
|
| 39 |
-
Use the [Qualcomm® AI Hub Models](https://github.com/
|
| 40 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 41 |
- Custom input shapes
|
| 42 |
- Target device and runtime configurations
|
| 43 |
|
| 44 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 45 |
|
| 46 |
-
See our repository for [FastSam-S on GitHub](https://github.com/
|
| 47 |
|
| 48 |
## Model Details
|
| 49 |
|
|
@@ -59,35 +59,35 @@ See our repository for [FastSam-S on GitHub](https://github.com/quic/ai-hub-mode
|
|
| 59 |
## Performance Summary
|
| 60 |
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 61 |
|---|---|---|---|---|---|---
|
| 62 |
-
| FastSam-S | ONNX | float | Snapdragon®
|
| 63 |
-
| FastSam-S | ONNX | float | Snapdragon®
|
| 64 |
-
| FastSam-S | ONNX | float |
|
| 65 |
-
| FastSam-S | ONNX | float | Qualcomm®
|
| 66 |
-
| FastSam-S | ONNX | float |
|
| 67 |
-
| FastSam-S | ONNX | float | Snapdragon® 8 Elite
|
| 68 |
-
| FastSam-S | ONNX | float | Snapdragon®
|
| 69 |
-
| FastSam-S | QNN_DLC | float | Snapdragon®
|
| 70 |
-
| FastSam-S | QNN_DLC | float | Snapdragon®
|
| 71 |
-
| FastSam-S | QNN_DLC | float |
|
| 72 |
-
| FastSam-S | QNN_DLC | float | Qualcomm®
|
| 73 |
-
| FastSam-S | QNN_DLC | float | Qualcomm®
|
| 74 |
-
| FastSam-S | QNN_DLC | float | Qualcomm®
|
| 75 |
-
| FastSam-S | QNN_DLC | float | Qualcomm®
|
| 76 |
-
| FastSam-S | QNN_DLC | float | Qualcomm®
|
| 77 |
-
| FastSam-S | QNN_DLC | float | Qualcomm®
|
| 78 |
-
| FastSam-S | QNN_DLC | float |
|
| 79 |
-
| FastSam-S | QNN_DLC | float | Snapdragon® 8 Elite
|
| 80 |
-
| FastSam-S | QNN_DLC | float | Snapdragon®
|
| 81 |
-
| FastSam-S | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 5.
|
| 82 |
-
| FastSam-S | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 37.
|
| 83 |
-
| FastSam-S | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 6.
|
| 84 |
-
| FastSam-S | TFLITE | float | Qualcomm® SA8775P | 10.
|
| 85 |
-
| FastSam-S | TFLITE | float | Qualcomm® QCS9075 | 10.
|
| 86 |
-
| FastSam-S | TFLITE | float | Qualcomm® QCS8450 (Proxy) |
|
| 87 |
-
| FastSam-S | TFLITE | float | Qualcomm® SA7255P | 37.
|
| 88 |
-
| FastSam-S | TFLITE | float | Qualcomm® SA8295P | 13.
|
| 89 |
-
| FastSam-S | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 3.
|
| 90 |
-
| FastSam-S | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.
|
| 91 |
|
| 92 |
## License
|
| 93 |
* The license for the original implementation of FastSam-S can be found
|
|
|
|
| 14 |
The Fast Segment Anything Model (FastSAM) is a novel, real-time CNN-based solution for the Segment Anything task. This task is designed to segment any object within an image based on various possible user interaction prompts. The model performs competitively despite significantly reduced computation, making it a practical choice for a variety of vision tasks.
|
| 15 |
|
| 16 |
This is based on the implementation of FastSam-S found [here](https://github.com/CASIA-IVA-Lab/FastSAM).
|
| 17 |
+
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/main/qai_hub_models/models/fastsam_s) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
|
| 18 |
|
| 19 |
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.
|
| 20 |
|
|
|
|
| 27 |
|
| 28 |
| Runtime | Precision | Chipset | SDK Versions | Download |
|
| 29 |
|---|---|---|---|---|
|
| 30 |
+
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/fastsam_s/releases/v0.48.0/fastsam_s-onnx-float.zip)
|
| 31 |
+
| QNN_DLC | float | Universal | QAIRT 2.43 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/fastsam_s/releases/v0.48.0/fastsam_s-qnn_dlc-float.zip)
|
| 32 |
+
| TFLITE | float | Universal | QAIRT 2.43, TFLite 2.17.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/fastsam_s/releases/v0.48.0/fastsam_s-tflite-float.zip)
|
| 33 |
|
| 34 |
For more device-specific assets and performance metrics, visit **[FastSam-S on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/fastsam_s)**.
|
| 35 |
|
| 36 |
|
| 37 |
### Option 2: Export with Custom Configurations
|
| 38 |
|
| 39 |
+
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/main/qai_hub_models/models/fastsam_s) Python library to compile and export the model with your own:
|
| 40 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 41 |
- Custom input shapes
|
| 42 |
- Target device and runtime configurations
|
| 43 |
|
| 44 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 45 |
|
| 46 |
+
See our repository for [FastSam-S on GitHub](https://github.com/qualcomm/ai-hub-models/blob/main/qai_hub_models/models/fastsam_s) for usage instructions.
|
| 47 |
|
| 48 |
## Model Details
|
| 49 |
|
|
|
|
| 59 |
## Performance Summary
|
| 60 |
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 61 |
|---|---|---|---|---|---|---
|
| 62 |
+
| FastSam-S | ONNX | float | Snapdragon® X2 Elite | 4.363 ms | 20 - 20 MB | NPU
|
| 63 |
+
| FastSam-S | ONNX | float | Snapdragon® X Elite | 8.549 ms | 19 - 19 MB | NPU
|
| 64 |
+
| FastSam-S | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 5.931 ms | 14 - 281 MB | NPU
|
| 65 |
+
| FastSam-S | ONNX | float | Qualcomm® QCS8550 (Proxy) | 8.004 ms | 0 - 27 MB | NPU
|
| 66 |
+
| FastSam-S | ONNX | float | Qualcomm® QCS9075 | 13.117 ms | 12 - 15 MB | NPU
|
| 67 |
+
| FastSam-S | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 4.494 ms | 10 - 234 MB | NPU
|
| 68 |
+
| FastSam-S | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 3.367 ms | 1 - 211 MB | NPU
|
| 69 |
+
| FastSam-S | QNN_DLC | float | Snapdragon® X2 Elite | 4.493 ms | 5 - 5 MB | NPU
|
| 70 |
+
| FastSam-S | QNN_DLC | float | Snapdragon® X Elite | 7.947 ms | 5 - 5 MB | NPU
|
| 71 |
+
| FastSam-S | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 5.537 ms | 0 - 209 MB | NPU
|
| 72 |
+
| FastSam-S | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 38.657 ms | 1 - 182 MB | NPU
|
| 73 |
+
| FastSam-S | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 7.431 ms | 5 - 7 MB | NPU
|
| 74 |
+
| FastSam-S | QNN_DLC | float | Qualcomm® SA8775P | 11.284 ms | 1 - 188 MB | NPU
|
| 75 |
+
| FastSam-S | QNN_DLC | float | Qualcomm® QCS9075 | 10.876 ms | 5 - 15 MB | NPU
|
| 76 |
+
| FastSam-S | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 15.035 ms | 3 - 210 MB | NPU
|
| 77 |
+
| FastSam-S | QNN_DLC | float | Qualcomm® SA7255P | 38.657 ms | 1 - 182 MB | NPU
|
| 78 |
+
| FastSam-S | QNN_DLC | float | Qualcomm® SA8295P | 13.854 ms | 0 - 176 MB | NPU
|
| 79 |
+
| FastSam-S | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 4.314 ms | 5 - 190 MB | NPU
|
| 80 |
+
| FastSam-S | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 3.123 ms | 3 - 192 MB | NPU
|
| 81 |
+
| FastSam-S | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 5.094 ms | 3 - 120 MB | NPU
|
| 82 |
+
| FastSam-S | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 37.678 ms | 5 - 81 MB | NPU
|
| 83 |
+
| FastSam-S | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 6.802 ms | 4 - 7 MB | NPU
|
| 84 |
+
| FastSam-S | TFLITE | float | Qualcomm® SA8775P | 10.641 ms | 4 - 85 MB | NPU
|
| 85 |
+
| FastSam-S | TFLITE | float | Qualcomm® QCS9075 | 10.583 ms | 4 - 39 MB | NPU
|
| 86 |
+
| FastSam-S | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 13.983 ms | 4 - 231 MB | NPU
|
| 87 |
+
| FastSam-S | TFLITE | float | Qualcomm® SA7255P | 37.678 ms | 5 - 81 MB | NPU
|
| 88 |
+
| FastSam-S | TFLITE | float | Qualcomm® SA8295P | 13.113 ms | 1 - 192 MB | NPU
|
| 89 |
+
| FastSam-S | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 3.835 ms | 4 - 98 MB | NPU
|
| 90 |
+
| FastSam-S | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.889 ms | 0 - 201 MB | NPU
|
| 91 |
|
| 92 |
## License
|
| 93 |
* The license for the original implementation of FastSam-S can be found
|