This repository contains the code supporting the RF-DETR target model for use with Autodistill.
RF-DETR is a real-time, transformer-based object detection model developed by Roboflow and released under the Apache 2.0 license.
RF-DETR-N outperforms YOLO11-N by 10 mAP points on the Microsoft COCO benchmark while running faster at inference. On RF100-VL, RF-DETR achieves state-of-the-art results, with RF-DETR-M beating YOLO11-M by an average of 5 mAP points across aerial datasets including drone, satellite, and radar.
Read the full Autodistill documentation.
To use the RF-DETR target model, you will need to install the following dependency:
pip3 install autodistill-rfdetr
from autodistill_rfdetr import RFDETR
target_model = RFDETR("base")
# train a model
target_model.train("./labeled_data/data.yaml", epochs=200)
# run inference on the new model
pred = target_model.predict("./labeled_data/train/images/dog-7.jpg", conf=0.01)
Autodistill RF-DETR is licensed under an Apache 2.0 license. RF-DETR is licensed under an Apache 2.0 license.
We love your input! Please see the core Autodistill contributing guide to get started. Thank you π to all our contributors!