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")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("facebook/sam3") model = AutoModel.from_pretrained("facebook/sam3")
Thank you for your work! I would like to ask whether, for images, SAM3 supports first using a text prompt and then refining the current result with point prompts?
· Sign up or log in to comment