Instructions to use facebook/sam-vit-huge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/sam-vit-huge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="facebook/sam-vit-huge")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("facebook/sam-vit-huge") model = AutoModelForMaskGeneration.from_pretrained("facebook/sam-vit-huge", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature87aecf0
-
Adding `safetensors` variant of this model (#9)
- Adding `safetensors` variant of this model (e43f8ccc1689d78095a830b5a16e4e5b56fdeb65) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>6758797
-
Update README.md (#7)
- Update README.md (f604369ac57f6953a8f3855ae8503fe4cb715882) - Update README.md (f06878b72f5a8c354ea075bbe350739e544c848d) Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>89080d6
-
Add TF weights
239af0a
-
Update config.json (#6)
- Update config.json (273baac568b34be5faa3daadcf2d40138a50afd6) Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>ed07237
-
Update README.md (#5)
- Update README.md (bd21495b6d54fbe6e6f32afde38c974770c38167)5777694
-
Update README.md
997b151 -
Update README.md
835fa4a -
Update README.md
f956ef0 -
Update README.md (#3)
- Update README.md (2a59319478ab7d21ebe451023c00d0657d607205) Co-authored-by: Arthur Zucker <ArthurZ@users.noreply.huggingface.co>f0d3fe6 -
Update README.md
6f0df79 -
Update README.md
d5c9889 -
Update README.md
446a05e -
Update README.md
53153c0 -
Update README.md
893799f -
Update README.md
f827e1b -
Update README.md (#2)
- Update README.md (977abf936e04364f556d6476ffb05e3eb02138c9) Co-authored-by: Mishig Davaadorj <mishig@users.noreply.huggingface.co>f119f3a -
Update README.md (#1)
- Update README.md (b4157e0b5e97d2cb1a6a1d8bfd2b256db9ee7fb6) Co-authored-by: Mishig Davaadorj <mishig@users.noreply.huggingface.co>2a8bda5 -
Update README.md
bdd8cba -
Update README.md
29139e0 -
Update README.md
1ccc4f3 -
Update README.md
85eb829 -
Create README.md
6bf626a -
Upload SamForMaskGeneration
a692c46 -
Upload processor
2b35cf6
-
Upload processor
6348709 -
Upload SamForMaskGeneration
99ac5c2
-
Upload SamForImageSegmentation
bf4ebd0 -
initial commit
Younes Belkadaa821219