Transformers How to use Thastp/rf-detr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="Thastp/rf-detr", trust_remote_code=True) # Load model directly
from transformers import AutoModelForObjectDetection
model = AutoModelForObjectDetection.from_pretrained("Thastp/rf-detr", trust_remote_code=True, dtype="auto")