doto.gg Paint selection models

Tap-to-select models for the doto.gg Paint wall colour visualiser, which runs them in the browser with onnxruntime-web (WebGPU, with a WASM fallback). Every file is full precision (fp32): fp16 and int8 versions were tried and dropped because they made selections worse.

The app pins a commit of this repo, so a file here never changes under it: a new version means a new commit.

Folder Model Encoder Decoder Used for
mobilesam/ MobileSAM 28.2 MB 16.5 MB Phones, tablets and slower computers
sam2.1-small/ SAM 2.1 Hiera Small 138.0 MB 16.5 MB Desktops with a capable GPU

mobilesam

Original MobileSAM weights: Apache-2.0 (LICENSE). ONNX exports: MIT (LICENSE.MIT).

sam2.1-small

SAM 2.1 (Meta): Apache-2.0 (LICENSE). ONNX export by Viet-Anh Nguyen with samexporter (MIT), from https://huggingface.co/vietanhdev/segment-anything-2.1-onnx-models/resolve/main/sam2.1_hiera_small_20260221.zip (Apache-2.0).

  • encoder.onnx: SHA-256 4b71c31308ff1e49f812c10fef910f0a4011991cf4935c0a53284b79fcd1b3c3. Input image [1, 3, 1024, 1024], the photo stretched to 1024² and ImageNet-normalised. Changed from the export: its two If nodes, whose branches declare different output shapes (which onnxruntime-web rejects), are replaced by the branch a 1024² input always takes. Outputs are bit-identical to the original.
  • decoder.onnx: unchanged from the export. SHA-256 d158eb26a43d39eed23ef677d6826d17eb9eda951921f9a252fa5d36d871b57d. Returns three 256² mask candidates on the stretched 1024² frame and their predicted IoU.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support