Instructions to use facebook/sam3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/sam3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="facebook/sam3")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("facebook/sam3") model = AutoModel.from_pretrained("facebook/sam3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Requesting access for ecological research
#138
by nneal - opened
Hello - I am a graduate researcher at UW-Madison, requesting access to test this on botanical image samples. I'd be comparing this model to the LangSAM wrapper for SAM2 (https://github.com/luca-medeiros/lang-segment-anything), in case you're interested.