RF-DETR-Seg
Roboflow's real-time instance segmentation on a DINOv2 backbone, COCO's 80 classes, Apache-2.0 from nano to 2XL.
Commercial use OK for size nano: code Apache-2.0, weights Apache-2.0. Measured on our RTX 4090: 12.5 ms median, 887 MiB VRAM peak. We scored it 40.1 mask AP on COCO val2017. PyTorch weights, 128 MB.
Commercial use OK for size small: code Apache-2.0, weights Apache-2.0. Measured on our RTX 4090: 12.9 ms median, 998 MiB VRAM peak. We scored it 43.0 mask AP on COCO val2017. PyTorch weights, 129 MB.
Commercial use OK for size medium: code Apache-2.0, weights Apache-2.0. Measured on our RTX 4090: 13.7 ms median, 1.1 GiB VRAM peak. We scored it 44.8 mask AP on COCO val2017. PyTorch weights, 136 MB.
Commercial use OK for size large: code Apache-2.0, weights Apache-2.0. Measured on our RTX 4090: 13.5 ms median, 1.4 GiB VRAM peak. We scored it 46.3 mask AP on COCO val2017. PyTorch weights, 138 MB.
Commercial use OK for size xlarge: code Apache-2.0, weights Apache-2.0. Measured on our RTX 4090: 15.2 ms median, 1.8 GiB VRAM peak. We scored it 48.3 mask AP on COCO val2017. PyTorch weights, 146 MB.
Commercial use OK for size 2xlarge: code Apache-2.0, weights Apache-2.0. Measured on our RTX 4090: 16.4 ms median, 2.5 GiB VRAM peak. We scored it 49.6 mask AP on COCO val2017. PyTorch weights, 148 MB.
License
Commercial use OK
Commercial use OK
Commercial use OK
Commercial use OK
Commercial use OK
Commercial use OK
- Code
- Apache-2.0checked 26 Oct 2026
- Weights
- Apache-2.0all sizes, checked 26 Oct 2026
On our RTX 4090, measured
12.5ms median
p90 13.1 ms, fp16, batch 1, 312x312
- VRAM peak
- 887 MiB
- Status
- Runs as is
Environment, 27 Oct 2026
NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, rfdetr==1.11.2. Baseline 847 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.
Accuracy
40.1mask APmeasured
COCO val2017, mask AP, 5,000 images, fp16, pycocotools==2.0.11 · 26 Oct 2026
Paper 40.3 COCO AP50:95 (mask)README, segmentation benchmark table (Roboflow's own pycocotools run on all 5,000 val2017 images)
12.9ms median
p90 13.9 ms, fp16, batch 1, 384x384
- VRAM peak
- 998 MiB
- Status
- Runs as is
Environment, 28 Oct 2026
NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, rfdetr==1.11.2. Baseline 847 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.
Accuracy
43.0mask APmeasured
COCO val2017, mask AP, 5,000 images, fp16, pycocotools==2.0.11 · 26 Oct 2026
Paper 43.1 COCO AP50:95 (mask)README, segmentation benchmark table (Roboflow's own pycocotools run on all 5,000 val2017 images)
13.7ms median
p90 14.0 ms, fp16, batch 1, 432x432
- VRAM peak
- 1.1 GiB
- Status
- Runs as is
Environment, 27 Oct 2026
NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, rfdetr==1.11.2. Baseline 848 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.
Accuracy
44.8mask APmeasured
COCO val2017, mask AP, 5,000 images, fp16, pycocotools==2.0.11 · 26 Oct 2026
Paper 45.3 COCO AP50:95 (mask)README, segmentation benchmark table (Roboflow's own pycocotools run on all 5,000 val2017 images)
13.5ms median
p90 14.6 ms, fp16, batch 1, 504x504
- VRAM peak
- 1.4 GiB
- Status
- Runs as is
Environment, 27 Oct 2026
NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, rfdetr==1.11.2. Baseline 848 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.
Accuracy
46.3mask APmeasured
COCO val2017, mask AP, 5,000 images, fp16, pycocotools==2.0.11 · 26 Oct 2026
Paper 47.1 COCO AP50:95 (mask)README, segmentation benchmark table (Roboflow's own pycocotools run on all 5,000 val2017 images)
15.2ms median
p90 16.4 ms, fp16, batch 1, 624x624
- VRAM peak
- 1.8 GiB
- Status
- Runs as is
Environment, 27 Oct 2026
NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, rfdetr==1.11.2. Baseline 848 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.
Accuracy
48.3mask APmeasured
COCO val2017, mask AP, 5,000 images, fp16, pycocotools==2.0.11 · 26 Oct 2026
Paper 48.8 COCO AP50:95 (mask)README, segmentation benchmark table (Roboflow's own pycocotools run on all 5,000 val2017 images)
16.4ms median
p90 17.8 ms, fp16, batch 1, 768x768
- VRAM peak
- 2.5 GiB
- Status
- Runs as is
Environment, 27 Oct 2026
NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, rfdetr==1.11.2. Baseline 848 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.
Accuracy
49.6mask APmeasured
COCO val2017, mask AP, 5,000 images, fp16, pycocotools==2.0.11 · 26 Oct 2026
Paper 49.9 COCO AP50:95 (mask)README, segmentation benchmark table (Roboflow's own pycocotools run on all 5,000 val2017 images)
Weights
Outputs on the shared test photos
Same photos and one score threshold for every model of this task. Failures are marked.
Sizes
| Size | Latency | VRAM | Accuracy | Weights | Runs | License |
|---|---|---|---|---|---|---|
| nano | 12.5 ms312x312 | 887 MiB | 40.1 mask AP, measured40.3 COCO AP50:95 (mask) paper | 128 MB | As is | Commercial OK |
| small | 12.9 ms384x384 | 998 MiB | 43.0 mask AP, measured43.1 COCO AP50:95 (mask) paper | 129 MB | As is | Commercial OK |
| medium | 13.7 ms432x432 | 1.1 GiB | 44.8 mask AP, measured45.3 COCO AP50:95 (mask) paper | 136 MB | As is | Commercial OK |
| large | 13.5 ms504x504 | 1.4 GiB | 46.3 mask AP, measured47.1 COCO AP50:95 (mask) paper | 138 MB | As is | Commercial OK |
| xlarge | 15.2 ms624x624 | 1.8 GiB | 48.3 mask AP, measured48.8 COCO AP50:95 (mask) paper | 146 MB | As is | Commercial OK |
| 2xlarge | 16.4 ms768x768 | 2.5 GiB | 49.6 mask AP, measured49.9 COCO AP50:95 (mask) paper | 148 MB | As is | Commercial OK |