Update README.md 58081d3 verified
Hiep Tran commited on
How to use Roboflow/rf-detr-large with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="Roboflow/rf-detr-large") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("Roboflow/rf-detr-large")
model = AutoModelForObjectDetection.from_pretrained("Roboflow/rf-detr-large")