ONNX Model Zoo

microsoft/segment-anything-model-webnn

By microsoft · ↓ 0 · ♥ 2 · Updated 2024-06-03

What's in this repo

This page lists the files in microsoft/segment-anything-model-webnn, including sam_vit_b-decoder-int8.onnx, sam_vit_b-encoder-int8.onnx, sam_vit_b_01ec64.decoder-fp16.onnx and more.

  • 5 ONNX models (.onnx files)
  • 7 files, including 5 .onnx, 1 .md
  • Last updated 2024-06-03

ONNX files

File Size Download
sam_vit_b-decoder-int8.onnx — Download
sam_vit_b-encoder-int8.onnx — Download
sam_vit_b_01ec64.decoder-fp16.onnx — Download
sam_vit_b_01ec64.decoder.onnx — Download
sam_vit_b_01ec64.encoder-fp16.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Model summary

This Segment Anything Model has been optimized to work with WebNN. This model is licensed under the Apache-2.0 License. For terms of use, please visit the Code of Conduct. If you comply with the license and terms of use, you have the rights described therin. By using this Model, you accept the terms.

Segment-Anything-WebNN is meant to be used with the corresponding sample here.

Model changes

Segment-Anything-Model-WebNN is an ONNX version of the Segment Anything Model, and is optimized for WebNN by using static input shapes and eliminates operators that are not in use.

Please find the original Segment Anything Model here.

Model info

onnx text-to-image region:us
↓ 0 ♥ 2

Created: 2024-06-03

Updated: 2024-06-03

View on Hugging Face

Files (7)

.gitattributes
README.md
sam_vit_b-decoder-int8.onnx ONNX
sam_vit_b-encoder-int8.onnx ONNX
sam_vit_b_01ec64.decoder-fp16.onnx ONNX
sam_vit_b_01ec64.decoder.onnx ONNX
sam_vit_b_01ec64.encoder-fp16.onnx ONNX

Related models