Instructions to use CollectionStudio/sam2-hiera-base-plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CollectionStudio/sam2-hiera-base-plus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="CollectionStudio/sam2-hiera-base-plus")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("CollectionStudio/sam2-hiera-base-plus") model = AutoModel.from_pretrained("CollectionStudio/sam2-hiera-base-plus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
5e8b907 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d0bb7f236400a49669ffdd1be617959a8b1d1065081789d7bbff88eded3a8071
size 323493298
|