Transformers How to use distill-io/detr-6 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="distill-io/detr-6") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("distill-io/detr-6")
model = AutoModelForObjectDetection.from_pretrained("distill-io/detr-6")