Skip to main content

RF-DETR model for use with Autodistill

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autodistill_rfdetr-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autodistill_rfdetr-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file autodistill_rfdetr-0.1.0.tar.gz.

File metadata

  • Download URL: autodistill_rfdetr-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for autodistill_rfdetr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5ffbefb10ccc692e0db2490db4b28619977e7b93f64603d0120ed5c366d8192
MD5 663b5d28eb0446023454b11a6431810a
BLAKE2b-256 62f3090ff8fdf76c99ec29631011f2f0e4129a8f734439ab3b0c9f874076e824

See more details on using hashes here.

File details

Details for the file autodistill_rfdetr-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autodistill_rfdetr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69ad20088e03d8800b9482c05a2eac97217909447521920f77befd66fa3d6869
MD5 6a6b376eeaf3eb38ff3f2e396886e6c9
BLAKE2b-256 0dc78132fc434c09def146c7775e943ff99cb11f43a95931a119e15e2b39941a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page