Skip to main content

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!

Release files for autodistill-rfdetr 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autodistill-rfdetr 0.1.0
File Size Uploaded
autodistill_rfdetr-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autodistill-rfdetr 0.1.0
File Interpreter ABI Platform
autodistill_rfdetr-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / autodistill_rfdetr-0.1.0.tar.gz

Download URL autodistill_rfdetr-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d5ffbefb10ccc692e0db2490db4b28619977e7b93f64603d0120ed5c366d8192
BLAKE2b-256 checksum
How to use checksums
62f3090ff8fdf76c99ec29631011f2f0e4129a8f734439ab3b0c9f874076e824
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / autodistill_rfdetr-0.1.0-py3-none-any.whl

Download URL autodistill_rfdetr-0.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69ad20088e03d8800b9482c05a2eac97217909447521920f77befd66fa3d6869
BLAKE2b-256 checksum
How to use checksums
0dc78132fc434c09def146c7775e943ff99cb11f43a95931a119e15e2b39941a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page