AFO — rfdetr-base @ 640
rfdetr-base fine-tuned from COCO-pretrained weights on AFO, a maritime search-and-rescue dataset of 3,641 drone images with 39,991 hand-annotated objects. Six classes.
Produced by the reproducible benchmark at github.com/Panicum/afo-benchmark under the protocol in BENCHMARK.md. Every number below is measured on the official test split with one shared pycocotools evaluator, so it is comparable to every other row of that leaderboard — and to nothing else.
Results on the AFO test split
| metric | value |
|---|---|
| mAP50-95 | 0.4080 |
| mAP50 | 0.7279 |
| mAP50-95 @ maxDets=100 | 0.4077 |
Per-class AP (test)
| class | AP50-95 | AP50 | test objects |
|---|---|---|---|
human | 0.2429 | 0.7125 | 6,511 |
wind/sup-board | 0.5135 | 0.9539 | 634 |
boat | 0.4718 | 0.6952 | 143 |
bouy | 0.1021 | 0.2813 | 59 |
sailboat | 0.5491 | 0.7678 | 28 |
kayak | 0.5685 | 0.9570 | 264 |
AP by object size
| bucket | √area at reference scale | AP50-95 | test objects |
|---|---|---|---|
| tiny | < 16² | 0.2778 | 4,424 |
| small | 16²–32² | 0.3537 | 2,930 |
| medium | 32²–96² | 0.6189 | 285 |
| large | > 96² | — (no objects) | 0 |
Every image is rescaled to a fixed 640 px longest side before bucketing, because AFO images are 2.5K–4K and in native pixels the tiny bucket would hold 15 objects in the whole dataset. The scale is deliberately independent of the training resolution, so these rows are comparable across runs at different imgsz.
Training
| data | official AFO train split (2,787 images, 26,960 objects), coordinates clipped to [0,1] |
| labels | 6categories |
| selection | best val mAP50-95; test touched once, after training |
| epochs | 100 budget, patience 20 |
| batch | 8 |
| seed | 0 |
| image size | 640 |
| augmentation | framework defaults, unmodified |
| hardware | NVIDIA GeForce RTX 4090 Laptop GPU |
| wall-clock | 3.645 h |
python scripts/train_rfdetr.py --model rfdetr-base --imgsz 640
Usage
from rfdetr import RFDETRBase
model = RFDETRBase(
pretrain_weights="afo-rfdetr-base-640.pth",
resolution=640,
num_classes=6,
)
# this checkpoint rejects 640 at inference — see the note below
detections = model.predict("drone_frame.jpg", threshold=0.25, shape=(616, 616))
# detections.class_id holds 0-based indices into the class list below
Classes, in index order: human, wind/sup-board, boat, bouy, sailboat, kayak. The bouy spelling is a typo in the original dataset release and is kept so class indices stay correct.
This checkpoint was trained at 640 but its predict() rejects 640 as an input shape (the backbone requires a multiple of its window size), so every number on this card was measured at 616 — pass that shape to reproduce them.
Limitations
- The dataset is heavily imbalanced. Treat the per-class table as the real result; mAP averages over classes with very different support.
- One run, one seed. No variance estimate — differences under roughly 1 mAP point against another row should not be read as real.
- Val-to-test gap is large by design. The test split is drawn from videos absent from train and val, so these numbers describe generalisation to unseen scenes, not unseen frames.
- Trained on imagery resized to a 1280 px longest side; see BENCHMARK.md §1.
License
CC BY-NC-SA 3.0, inherited from the training data. AFO is released under CC BY-NC-SA 3.0, so these weights are non-commercial use only and derivatives must carry the same licence.
Citation
@article{gasienica2021afo,
title = {An ensemble deep learning method with optimized weights
for drone-based water rescue and surveillance},
author = {G{\k{a}}sienica-J{\'o}zkowy, Jan and Knapik, Mateusz and Cyganek, Bogus{\l}aw},
journal = {Integrated Computer-Aided Engineering},
volume = {28},
number = {3},
pages = {221--235},
year = {2021},
doi = {10.3233/ICA-210649}
}