Downloads · 30 days
0
Xuban/LibreRFDETRTinys-visdrone
LibreRFDETRTinys-visdrone is a object detection model from Xuban. Use it when you need objects located in an image. It is set up for libreyolo. The card lists the license as cc-by-nc-sa-3.0.
RF-DETR with the TinyFormer small-object modules grafted on (arXiv:2605.25046), trained on VisDrone2019-DET at 640 px. Size s, 44.96 M params, 10 VisDrone aerial classes.
Downloads · 30 days
0
Access
Public
Updated Jul 13, 2026
Repo size
179 MB
Likes
0
Public
Click a slice to open those files.
.pt179 MB · 100%
From the Hugging Face model README
RF-DETR with the TinyFormer small-object modules grafted on
(arXiv:2605.25046), trained on
VisDrone2019-DET at 640 px. Size s, 44.96 M params, 10 VisDrone
aerial classes.
Stock RF-DETR detection models decode from a single stride-16 level. At 640 input that is a 40x40 grid, so a 12-pixel pedestrian gets less than one cell. This variant adds three things:
F2 = SDE2(I)). Detail is re-extracted from pixels, because
upsampled ViT features cannot recover what patchification destroyed.Research preview. Trained on VisDrone2019-DET, which is licensed CC BY-NC-SA 3.0, so these weights are for non-commercial use only and are not covered by LibreYOLO's permissive license. The checkpoint detects the 10 VisDrone aerial classes, not COCO.
Controlled A/B: both arms warm-started from the same stock RF-DETR COCO
checkpoint, identical 60-epoch recipe, best.pt selected by overall mAP in both.
The only variable is the architecture.
| model | AP | AP50 | AP_small | AP_med | AP_large | params |
|---|---|---|---|---|---|---|
| stock rfdetr-s (control) | 25.93 | 45.68 | 15.12 | 39.44 | 63.46 | 32.11 M |
| rfdetr_so-s (this model) | 27.08 | 46.41 | 16.67 | 39.82 | 61.52 | 44.96 M |
| delta | +1.15 | +0.73 | +1.55 | +0.38 | -1.94 | +40% |
+1.55 AP_small (+10.3% relative) with the textbook size signature: it wins on small and medium objects and gives back ~2 points on large ones. It reallocates capacity toward fine scales. For aerial/drone imagery that is a good trade; for a general detector it is a real cost.
The curve is the actual evidence. The variant starts 2.1 AP_small behind (it carries 3.45 M randomly-initialised parameters and three feature levels the pretrained decoder has never seen), crosses the baseline around epoch 22, and keeps climbing for 20 more epochs after the baseline has flatlined (the baseline never exceeded 15.22 in 60 epochs). The gain is not "more parameters converge faster" - they converge slower - it is a ceiling the single-level baseline cannot reach at all.
Per-epoch metric history: results.csv.
MultiScaleProjector, which builds
each pyramid scale with a full C2f over four ViT features. The paper's cheap
SPB gets the same pyramid for ~2 M, which would cut overhead to +13%. A
slim v2 is planned; prefer it when it lands.The rfdetr_so family is not in the LibreYOLO release, so this checkpoint
does not auto-download. Get the model code from the experiment repo:
git clone https://github.com/LibreYOLO/rf-detr-tinyobjects-v1
pip install "libreyolo[rfdetr]"
from librfdetr_tiny import LibreRFDETRTiny
model = LibreRFDETRTiny("LibreRFDETRTinys-visdrone.pt")
results = model.predict("drone.jpg", imgsz=640)
Classes (VisDrone 1..10, remapped to 0..9): pedestrian, people, bicycle,
car, van, truck, tricycle, awning-tricycle, bus, motor.
python build_visdrone.py --datasets <datasets> # official zips -> YOLO format
python train_so.py --data <datasets>/visdrone/visdrone.yaml
Full experiment, plans, per-epoch logs, the A/B chart and the threats to validity: LibreYOLO/rf-detr-tinyobjects-v1.
build_visdrone.py is
a clean-room converter written from the public annotation spec.CC BY-NC-SA 3.0 (inherited from the VisDrone training data): non-commercial use only. The model code carries its own licenses (RF-DETR lineage is Apache-2.0); see the source repositories.