LibreSAM2small / README.md
Xuban's picture
Rehost SAM-2.1 Hiera Small weights
6c26f79 verified
|
Raw
History Blame Contribute Delete
1.08 kB
metadata
license: apache-2.0
library_name: transformers
pipeline_tag: mask-generation
tags:
  - libreyolo
  - sam2
  - promptable-segmentation
  - image-segmentation
base_model: facebook/sam2.1-hiera-small

LibreSAM2small

SAM-2.1 Hiera Small rehosted for LibreYOLO's LibreSAM promptable segmentation tier.

Source

Derived from facebook/sam2.1-hiera-small at commit ee5bba1d82bb8749febdf90f45e84b687142ba03 and the Apache-2.0 facebookresearch/sam2 source release.

Modifications

Learned parameters are unchanged. The upstream Transformers-compatible snapshot files are mirrored here for LibreYOLO distribution. This repository adds LibreYOLO model-card packaging plus LICENSE and NOTICE files for Apache-2.0 redistribution.

Usage

from libreyolo import LibreSAM

model = LibreSAM("sam2-small")
result = model("image.jpg", points=[500, 375], labels=[1])

License

Apache License 2.0. See LICENSE and NOTICE.