# rf-detr | Roboflow | Knowledge Base | Instagit

RF-DETR is a real-time object detection and segmentation model architecture developed by Roboflow, SOTA on COCO, designed for fine-tuning. [ICLR 2026] 

GitHub Stars: 9.4k

Repository: https://github.com/roboflow/rf-detr

---

## Articles

### [RF-DETR Model Variants: Detection, Segmentation, and Keypoint Architectures Explained](/roboflow/rf-detr/what-are-the-different-rfdetr-model-variants-available)

Explore RF-DETR model variants for object detection, segmentation, and keypoint detection. Discover seventeen powerful architectures to enhance your computer vision projects.

- Tags: deep-dive
- Published: 2026-09-08

### [Safe Loading in RF-DETR: How and When to Use trust_checkpoint](/roboflow/rf-detr/what-is-safe-loading-in-rfdetr-and-when-to-use-trust-checkpoint)

Learn about RF-DETR's safe loading mechanism to prevent code execution from malicious checkpoints. Discover when to use trust_checkpoint=True for secure model loading.

- Tags: how-to-guide
- Published: 2026-09-08

### [How RF-DETR Infers the Model Class from a Checkpoint](/roboflow/rf-detr/how-does-rfdetr-infer-model-class-from-checkpoint)

Discover how RF-DETR infers the model class from a checkpoint by examining hyper_parameters, model_cfg, and model_name for automatic reconstruction.

- Tags: deep-dive
- Published: 2026-09-08

### [How to Load a Trained RF-DETR Model from a Checkpoint: Complete Guide](/roboflow/rf-detr/how-to-load-trained-rfdetr-model-from-checkpoint)

Learn to load a trained RF-DETR model from checkpoint using `load_from_checkpoint`. Effortlessly handle .ckpt and .pth files and interpolate embeddings for any resolution.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Export RF-DETR Models to OpenVINO Format: A Complete Developer Guide](/roboflow/rf-detr/how-to-export-rfdetr-model-to-openvino-format)

Easily export RF-DETR models to OpenVINO IR format with a single command no ONNX needed. Streamline your object detection workflow for edge devices.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Export an RF-DETR Model to CoreML Format: A Complete Guide](/roboflow/rf-detr/how-to-export-rfdetr-model-to-coreml-format)

Export your RF-DETR model to CoreML format with ease. Follow our guide to convert your model for Apple devices using simple API calls or CLI commands.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Export RF-DETR Models to TFLite Format: A Complete Guide](/roboflow/rf-detr/how-to-export-rfdetr-model-to-tflite-format)

Easily export RF-DETR models to TFLite format using the export() method. Optimize edge deployment with INT8 or FP16 quantization. Get the complete guide now.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Export an RF-DETR Model to TensorRT Format](/roboflow/rf-detr/how-to-export-rfdetr-model-to-tensorrt-format)

Easily export your RF-DETR model to TensorRT format. Learn how to convert trained detection models into optimized TensorRT engines using Roboflow's built-in pipeline.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Export RF-DETR Model to ONNX Format](/roboflow/rf-detr/how-to-export-rfdetr-model-to-onnx-format)

Export RF-DETR models to ONNX format easily. Use the dedicated export pipeline with the export_onnx function for portable ONNX models. Get started now.

- Tags: how-to-guide
- Published: 2026-09-08

### [RF-DETR Training Hyperparameters: Complete Guide to TrainConfig and Model Optimization](/roboflow/rf-detr/what-are-key-training-hyperparameters-for-rfdetr)

Master RF-DETR training hyperparameters with our guide to TrainConfig. Optimize learning rates, batch sizing, and EMA for peak model performance. Learn how to fine-tune your object detection models.

- Tags: deep-dive
- Published: 2026-09-08

### [RF-DETR Model Architecture Parameters: Complete Configuration Guide](/roboflow/rf-detr/what-are-configurable-parameters-for-rfdetr-model-architecture)

Explore RF-DETR model architecture parameters with this comprehensive guide. Understand and control hyperparameters for vision transformer backbones, decoders, attention, and heads.

- Tags: api-reference
- Published: 2026-09-08

### [How to Use the Auto-Batch Feature for RF-DETR Training](/roboflow/rf-detr/how-to-use-auto-batch-feature-for-rfdetr-training)

Unlock efficient RF-DETR training with auto-batch. Effortlessly set batch_size='auto' to optimize micro-batch size and gradient accumulation for your GPU, maximizing performance.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Enable EMA (Exponential Moving Average) During RF-DETR Training](/roboflow/rf-detr/how-to-enable-ema-during-rfdetr-training)

Easily enable Exponential Moving Average EMA for RF-DETR training by setting use_ema=True. Learn how RF-DETR automatically manages EMA weights during training.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Use Mixed Precision Training with RF-DETR: FP16 Acceleration Guide](/roboflow/rf-detr/how-to-use-mixed-precision-training-with-rfdetr)

Accelerate RF-DETR training with FP16 mixed precision. Enable this feature via your YAML config and leverage PyTorch AMP for faster object detection.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Specify Augmentation Backends for RF-DETR Training](/roboflow/rf-detr/how-to-specify-augmentation-backends-for-rfdetr-training)

Learn how to specify augmentation backends for RF-DETR training. Choose from Albumentations, Torchvision, or Kornia via the augmentation_backend parameter to boost preprocessing performance.

- Tags: how-to-guide
- Published: 2026-09-08

### [RF-DETR Dataset Formats for Training: COCO and YOLO Support Explained](/roboflow/rf-detr/what-dataset-formats-does-rfdetr-support-for-training)

Learn how RF-DETR automatically detects and trains on COCO and YOLO dataset formats by inspecting your directory for specific annotation files. Streamline your object detection workflow.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Train RF-DETR with a Custom Dataset: A Complete Guide](/roboflow/rf-detr/how-to-train-rfdetr-with-custom-dataset)

Learn how to train RF-DETR with your own data. Follow our guide for a quick one-line start or gain full control with PyTorch Lightning for custom dataset training.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Use Inplace Inference for Memory Optimization in RF-DETR](/roboflow/rf-detr/how-to-use-inplace-inference-for-memory-optimization-in-rfdetr)

Optimize RF-DETR memory by 50% using inplace inference. Learn how this destructive but efficient technique clears model weights for inference-only deployments. Reduce footprint significantly.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Optimize RF-DETR Inference with torch.compile: A Complete Guide](/roboflow/rf-detr/how-to-optimize-rfdetr-inference-with-torch-compile)

Optimize RF-DETR inference with torch.compile by setting compile=True. Achieve maximum GPU performance with this easy guide. Learn how to speed up your object detection models today.

- Tags: how-to-guide
- Published: 2026-09-08

### [RF-DETR Resolution Constraints: Valid Input Sizes for Training and Inference](/roboflow/rf-detr/what-are-the-resolution-constraints-for-rfdetr)

Discover RF-DETR resolution constraints. Learn valid input sizes for training and inference, ensuring your images are square and divisible by 32 or 24 for optimal performance.

- Tags: api-reference
- Published: 2026-09-08

### [How to Change the Resolution for RF-DETR Inference: 3 Methods Explained](/roboflow/rf-detr/how-to-change-resolution-for-rfdetr-inference)

Learn how to change the resolution for RF-DETR inference with 3 effective methods. Optimize your object detection models by adjusting the resolution parameter in ModelConfig for better performance.

- Tags: how-to-guide
- Published: 2026-09-08

### [RF-DETR Architecture Explained: Modular DETR Implementation with DINO v2 Backbone](/roboflow/rf-detr/what-is-the-architecture-of-rfdetr)

Explore the RF-DETR architecture, a modular DETR implementation with a DINO v2 backbone and Hungarian matching for efficient end-to-end object detection, as seen in roboflow/rf-detr.

- Tags: architecture
- Published: 2026-09-08

### [How to Use RFDETR for Object Detection: A Complete Guide with Code Examples](/roboflow/rf-detr/how-to-use-rfdetr-for-object-detection)

Learn how to use RFDETR for object detection with our comprehensive guide. Explore unified Python API and code examples for efficient object detection.

- Tags: how-to-guide
- Published: 2026-09-08

