Skip to content

Commit e591171

Browse files
authored
docs: update docs and benchmarks for FastSAM model (#1151)
## Description Adds missing benchmarks for FastSAM models and polishes the docs for it. ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> N/A ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 8b30a1e commit e591171

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

docs/docs/02-benchmarks/inference-time.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ Nano Seg uses a fixed resolution of 312×312.
243243
| YOLO26L_SEG (XNNPACK) | 680 | 608 | 582 |
244244
| YOLO26X_SEG (XNNPACK) | 1410 | 1338 | 1191 |
245245
| RF_DETR_NANO_SEG (XNNPACK) | 549 | 330 | 428 |
246-
| FASTSAM_S (XNNPACK) | - | 30 | 286 |
247-
| FASTSAM_X (XNNPACK) | - | 2520 | 1993 |
246+
| FASTSAM_S (XNNPACK) | 184 | 30 | 286 |
247+
| FASTSAM_X (XNNPACK) | 1886 | 2520 | 1993 |
248248
| FASTSAM_S (Core ML) | - | 51 | - |
249249
| FASTSAM_X (Core ML) | - | 72 | - |
250250

docs/docs/02-benchmarks/memory-usage.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ with higher resolutions.
130130
## Instance Segmentation
131131

132132
:::note
133-
Data presented in the following sections is based on inference with forward_640 method.
133+
Data presented in the following sections is based on inference with 640x640 input.
134134
:::
135135

136136
| Model / Device | iPhone 17 Pro [MB] | OnePlus 12 [MB] |
@@ -141,6 +141,10 @@ Data presented in the following sections is based on inference with forward_640
141141
| YOLO26L_SEG (XNNPACK) | 1024 | 680 |
142142
| YOLO26X_SEG (XNNPACK) | 1450 | 1410 |
143143
| RF_DETR_NANO_SEG (XNNPACK) | 603 | 620 |
144+
| FASTSAM_S (XNNPACK FP32) | 535 | 567 |
145+
| FASTSAM_X (XNNPACK FP32) | 760 | 792 |
146+
| FASTSAM_S (Core ML FP16) | 523 | - |
147+
| FASTSAM_X (Core ML FP16) | 684 | - |
144148

145149
## Text to Image
146150

docs/docs/03-hooks/02-computer-vision/useInstanceSegmentation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ try {
179179
}
180180
```
181181

182+
For detailed API Reference for `selectByPoint`, `selectByBox`, and `selectByText` see their respective documentation pages:
183+
184+
- [`selectByPoint` API Reference](../../06-api-reference/functions/selectByPoint.md)
185+
- [`selectByBox` API Reference](../../06-api-reference/functions/selectByBox.md)
186+
- [`selectByText` API Reference](../../06-api-reference/functions/selectByText.md)
187+
182188
:::tip
183189
Use FastSAM-S for faster performance on simple images with non-overlapping
184190
instances and FastSAM-X for better accuracy on complex scenes with many

0 commit comments

Comments
 (0)