Ir para o conteúdo
ModelListadosExterno
Browse files

Microsam Vit T Lm Onnx

Promptable micro-sam vittlm (TinyViT encoder, via MobileSAM) exported to ONNX for client-side inference with onnxruntime-web + WebGPU, used by the JAX Image Tools viewer (jit-ui#90) SAM segment tool. This is the tiny...

TipoOtherVersãoDecoderCnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
13,5–15,7 MB
Versão
vDecoder
Atualizado
1 de nov. de 2026
Fonte
Hugging Face

Descrição da fonte

micro-sam ViT-T (light microscopy) — ONNX (browser/WebGPU)

Promptable micro-sam vit_t_lm (TinyViT encoder, via MobileSAM) exported to ONNX for client-side inference with onnxruntime-web + WebGPU, used by the JAX Image Tools viewer (jit-ui#90) SAM segment tool. This is the tiny sibling of microsam-vit-b-lm-onnx — ~12x smaller encoder, ideal for fast in-browser segmentation.

Two graphs (SAM v1 I/O):

filein → outrun
encoder.fp16.onnx (fp16, ~14 MB)image (1,3,1024,1024) fp32 → embedding (1,256,64,64) fp32once per image
decoder.onnx (fp32, ~16 MB)embedding + box/point prompts → mask (resized to orig size)per prompt
  • Image preprocessing (resize long side → 1024, SAM normalize, pad) is done on the client; the encoder is pure tensor I/O. fp16 keeps fp32 I/O.
  • fp16 produced with onnxruntime.transformers.float16.
  • Box prompt = two points labelled 2/3; positive/negative points 1/0.

Export tooling: the sam-js project (export/export_sam_onnx.py --microsam vit_t_lm). Base model: micro-sam vit_t_lm (TinyViT / MobileSAM, Apache-2.0); underlying architecture Segment Anything (Apache-2.0). See micro-sam for model license.

Fontes

1 fonte
Hugging FacePrimárioVersão c42078ad2671c7dd75b1e676091922cf6cb98fa4
huggingface.co/Ballon999/microsam-vit-t-lm-onnx/tree/c42078ad2671c7dd75b1e676091922cf6cb98fa4

Verificado 1 de nov.

Download files

Artefatos de modelo

2 artefatos

decoder.onnx

onnx · 15,7 MB · SHA-256 73cdbd767afd…e8ff · Hugging Face

Download file

encoder.fp16.onnx

onnx · FP16 (unverified) · 13,5 MB · SHA-256 26a0b681034e…8e01 · Hugging Face

Download file

Trechos de fonte

2 trechos

--- license: cc-by-4.0 tags: - segment-anything - micro-sam - mobile-sam - onnx - webgpu - microscopy - image-segmentation library_name: onnxruntime --- # micro-sam ViT-T (light microscopy) — ONNX (browser/WebGPU) Promptable [micro-sam](https://github.com/computational-cell-analytics/micro-sam) `vit_t_lm` (TinyViT encoder, via [MobileSAM](https://github.com/ChaoningZhang/MobileSAM)) exported to ONNX for client-side inference with **onnxruntime-web + WebGPU**, used by the JAX Image Tools viewer (jit-ui#90) SAM segment tool. This is the **tiny** sibling of `microsam-vit-b-lm-onnx` — ~12x smaller encoder, ideal for fast in-browser segmentation. Two graphs (SAM v1 I/O): | file | in → out | run | |---|---|---| | `encoder.fp16.onnx` (fp16, ~14 MB) | image `(1,3,1024,1024)` fp32 → embedding `(1,256,64,64)` fp32 | once per image | | `decoder.onnx` (fp32, ~16 MB) | embedding + box/point prompts → mask (resized to orig size) | per prompt | - Image preprocessing (resize long side → 1024, SAM normalize, pad) is done on the client; the encoder is pure tensor I/O. fp16 keeps fp32 I/O. - fp16 produced with `onnxruntime.transformers.float16`. - Box prompt = two points labelled `2`/`3`; positive/negative points `1`/`0`. Export tooling: the `sam-js` project (`export/export_sam_onnx.py --microsam vit_t_lm`). Base model: micro-sam `vit_t_lm` (TinyViT / MobileSAM, Apache-2.0); underlying architecture Segment Anything (Apache-2.0). See micro-sam for model license.

Source context: 0 downloads · 0 likes · Pipeline image-segmentation · Library onnxruntime · Repo Ballon999/microsam-vit-t-lm-onnx