Instructions to use facebook/sam2.1-hiera-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/sam2.1-hiera-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="facebook/sam2.1-hiera-large")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("facebook/sam2.1-hiera-large") model = AutoModel.from_pretrained("facebook/sam2.1-hiera-large") - Notebooks
- Google Colab
- Kaggle
Update Readme
#2 opened 12 months ago
by
Soodoo
Backend worker did not respond in given time
1
#1 opened over 1 year ago
by
payamahv