Transformers How to use hf-tiny-model-private/tiny-random-DetaForObjectDetection with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="hf-tiny-model-private/tiny-random-DetaForObjectDetection") # Load model directly
from transformers import AutoModelForObjectDetection
model = AutoModelForObjectDetection.from_pretrained("hf-tiny-model-private/tiny-random-DetaForObjectDetection", dtype="auto")