LibreSAM Promptable Segmentation
Collection
Promptable segmentation (LibreSAM tier): point and box prompts, encode once and prompt many. Image inference; video is out of scope in v1. โข 8 items โข Updated
How to use LibreYOLO/LibreMobileSAM with LibreYOLO:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
LibreMobileSAM is the MobileSAM TinyViT checkpoint converted to LibreYOLO's
native checkpoint schema for the LibreSAM promptable segmentation tier.
LibreMobileSAM.pt: LibreYOLO schema-wrapped PyTorch checkpoint.LICENSE: Apache-2.0 license text.NOTICE: upstream MobileSAM and TinyViT attribution.from libreyolo import LibreMobileSAM
model = LibreMobileSAM()
results = model("image.jpg", points=[[[500, 375]]], labels=[[1]])
mobilesamtinysegment1024This checkpoint is intended for LibreYOLO's promptable segmentation API. It is
not loaded through the LibreYOLO() detector factory.