Instructions to use facebook/sam-vit-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/sam-vit-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="facebook/sam-vit-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("facebook/sam-vit-base") model = AutoModelForMaskGeneration.from_pretrained("facebook/sam-vit-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature70c1a07
-
Adding `safetensors` variant of this model (#5)
- Adding `safetensors` variant of this model (bdccba0edd5be41d39e2d1ab417fc9c536508544) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>d0d9250
-
Update README.md (#2)
- Update README.md (0b40a4fdabc45afbaa0b6278d743eeb621d2f9ba) - Update README.md (f6d135382339e4c0dfde18a7c079a536dc2e1e92) Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>b5fc599
-
Add TF weights
bf6e013
-
Update README.md (#1)
- Update README.md (3b5939ceab4e75f5f40b9092544f96e06f4b1c80)aec582a
-
Update README.md
a7c34ea
-
Update README.md
91d4ca2 -
Create README.md
d451a11 -
Upload processor
02a33af -
Upload model
01a63de -
initial commit
Younes Belkada3d25a77