Skip to content

autodistill/autodistill-rfdetr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Autodistill RF-DETR Module

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.

Installation

To use the RF-DETR target model, you will need to install the following dependency:

pip3 install autodistill-rfdetr

Quickstart

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)

License

Autodistill RF-DETR is licensed under an Apache 2.0 license. RF-DETR is licensed under an Apache 2.0 license.

πŸ† Contributing

We love your input! Please see the core Autodistill contributing guide to get started. Thank you πŸ™ to all our contributors!