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