Segment an object by clicking
SlimSAM · Interactive segmentation · Image + Keypoints → Pixel mask
- Parameters
- 9.7M
- Operations
- 5,533
- Nodes drawn
- 128
- Runs on
- ONNX Runtime Web
- Built as
- Vision transformer, Transformer decoder
What you can edit
- Tensor
mask_decoder.iou_prediction_head.proj_out.bias[1:4]- Range
- Each bias can move up to ±8 from the shipped value, counted across all applied edits.
- How
- Describe the change to WS on the model page; it proposes deltas on these biases only. The Weight map sweeps two of them at once. The decoder produces three masks and three raw quality scores. Adding to one bias favors that mask in ranking. The highest-scored mask is shown. These biases cannot reshape individual candidates.
3 editable values
- Mask 1 score
- Mask 2 score
- Mask 3 score
Parts in this model
- Concatenation165
- Dense layer97
- Quantization93
- Layer normalization33
- Reshape and transpose26
- Residual connection26
- Upsample22
- Multi-head attention20
- Softmax19
- GELU14
- ReLU12
- Embedding3
- Convolution3
- Gating multiply2
- Transposed convolution2
Counted over the nodes kept in the structure file; summarized modules count as their parts.
Source
Exported from the ONNX file the app runs.
slimsam/encoder-cce23c7b.onnxsha256 cce23c7b2e5d…opset 13slimsam/decoder-cb90b279.onnxsha256 cb90b279f549…opset 13
Derived from
Size
9,718,844 parameters, 343 nodes in the structure file.