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
Request to reconsider SAM 3 access β personal use in LightCraft
Hello Meta team,
My request to access SAM 3 was rejected. Could you please reconsider my application or let me know whether it can be reset for review?
I would like to run SAM 3 locally on my Mac through LightCraft, an open-source photo editor, for object selection and text-prompt-based masking of my personal photos. LightCraft requires users to obtain the official model separately.
LightCraft setup documentation:
https://github.com/storytold/lightcraft/blob/main/docs/ai-masks.md#getting-the-model
I do not intend to redistribute the model. I am willing to comply with the SAM License and provide any additional information needed to review my application.
My Hugging Face username is xinghai9999.
Thank you for your time and help.