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