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
Commit History
Update README.md 7215bc2 verified
Create sam2_hiera_s.yaml 18f3187 verified
Haitham Khedr commited on
Upload sam2_hiera_small.pt 4868896 verified
Haitham Khedr commited on
Update README.md 3585911 verified
Haitham Khedr commited on
initial commit fdab35a verified
Haitham Khedr commited on