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