Instructions to use facebook/sam2-hiera-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/sam2-hiera-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="facebook/sam2-hiera-small")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("facebook/sam2-hiera-small") model = AutoModel.from_pretrained("facebook/sam2-hiera-small") - Notebooks
- Google Colab
- Kaggle
Add Transformers weights
#3
by yonigozlan HF Staff - opened
No description provided.
yonigozlan changed pull request status to open
Kalyanvasudev changed pull request status to merged