initial commit 904acd3 verified
Jake Writer commited on
How to use JobHarvest/sam3 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("mask-generation", model="JobHarvest/sam3") # Load model directly
from transformers import AutoProcessor, AutoModel
processor = AutoProcessor.from_pretrained("JobHarvest/sam3")
model = AutoModel.from_pretrained("JobHarvest/sam3")