Transformers How to use distill-io/detr-7 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="distill-io/detr-7") # Load model directly
from transformers import AutoImageProcessor, AutoModel
processor = AutoImageProcessor.from_pretrained("distill-io/detr-7")
model = AutoModel.from_pretrained("distill-io/detr-7")