Instructions to use facebook/sam-vit-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/sam-vit-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="facebook/sam-vit-large")# Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("facebook/sam-vit-large") model = AutoModelForMaskGeneration.from_pretrained("facebook/sam-vit-large") - Notebooks
- Google Colab
- Kaggle
Commit ·
7d7381d
1
Parent(s): 70009d5
Adding `safetensors` variant of this model (#5)
Browse files- Adding `safetensors` variant of this model (b77d76bf2f9444fc17fbb83058c62890ccdbb2d4)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a57e1b13cd1545938dfcbc9fb26df7f60de6650237a9383382a874a623564b81
|
| 3 |
+
size 1249428136
|