How to use ksyint/sam0222 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="ksyint/sam0222")
# Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("ksyint/sam0222") model = AutoModelForMaskGeneration.from_pretrained("ksyint/sam0222")
The community tab is the place to discuss and collaborate with the HF community!