Run this model with HF Jobs
Run facebook/sam-vit-huge on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/facebook/sam-vit-huge. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/facebook/sam-vit-huge on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
RankSEG Integration: Optimize SAM masks by replacing thresholding
#13 opened 11 months ago
by
statmlben
MarCognity-AI for Segment Anything
#12 opened about 1 year ago
by
elly99
Update code snippet
#11 opened almost 2 years ago
by
qubvel-hf
Broken Pipeline for mask generation task
🔥 1
#10 opened over 2 years ago
by
taher30
Need transform update
#8 opened about 3 years ago
by
payamahv
Usage code needs reviewing
👍 5
#4 opened over 3 years ago
by
mvetter