Transformers How to use merve/rf-detr-segmentation with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-segmentation", model="merve/rf-detr-segmentation") # Load model directly
from transformers import AutoImageProcessor, RfDetrForInstanceSegmentation
processor = AutoImageProcessor.from_pretrained("merve/rf-detr-segmentation")
model = RfDetrForInstanceSegmentation.from_pretrained("merve/rf-detr-segmentation")