Run detection
Load a pre-trained detection model and run inference on an image.Replace
RFDETRMedium with any other class from the model variants reference to use a different size.Run segmentation
Load a pre-trained segmentation model and run inference on an image.Replace
RFDETRSegMedium with any other segmentation class from the model variants reference to use a different size.Fine-tune on your dataset
Fine-tune a detection or segmentation model on your own labeled dataset.RF-DETR automatically detects whether your dataset is in COCO or YOLO format. See the dataset formats guide for details.
Next steps
Run detection
Learn all the options for running detection models on images, video, and streams.
Run segmentation
Run segmentation models for pixel-level instance predictions.
Train overview
Full guide to fine-tuning RF-DETR on a custom dataset.
Model variants
All available model sizes with benchmarks and class names.