YOLO26s Drone Detector
YOLO26s model for detecting drones in ground-to-air and air-to-air views.
Trained with bird / airplane / helicopter as extra classes to reduce false alarms; use only drone at inference.
- Demo: Hugging Face Space
- Code: GitHub
Click an image to open it in the file viewer.
Model Info
| Model | YOLO26s, 9.9M params, input 1280 |
| Classes | 0 drone, 1 bird, 2 airplane, 3 helicopter |
| Files | yolo26s-drone-1280.pt (20.4 MB), yolo26s-drone-1280.onnx (38.7 MB, needs NMS) |
| Recommended conf | 0.40 |
Usage
from ultralytics import YOLO
model = YOLO("yolo26s-drone-1280.pt")
results = model.predict("image.jpg", imgsz=1280, conf=0.40, classes=[0]) # drone only
Training
Pre-trained on seraphim @640 for 80 epochs, then main training @1280 for 100 epochs (best: epoch 93, batch 30 on 3 GPUs).
| Dataset | View | Train | Val |
|---|---|---|---|
| DUT Anti-UAV | ground-to-air | 5,192 | 2,597 |
| Det-Fly | air-to-air | 9,223 | 2,007 |
| AOT | air-to-air (bird/airplane/helicopter/empty sky only) | 7,893 | 1,688 |
| AOD-4 | mixed | 5,942 | 1,058 |
| seraphim | mixed | 10,000 | 2,000 |
Split by sequence, deduplicated (md5 + pHash), test-set leakage removed. The recommended conf is the max drone F1 point on the validation set; no test data was used for training or threshold selection.
Results (drone, conf 0.40)
| Eval set | Precision | Recall | F1 | AP50 |
|---|---|---|---|---|
| Val (9,350 images) | 0.936 | 0.849 | 0.891 | 0.893 |
| Anti-UAV300 test (ground-to-air) | 0.956 | 0.655 | 0.777 | 0.801 |
| DUT Anti-UAV test (ground-to-air) | 0.989 | 0.957 | 0.973 | 0.977 |
| Det-Fly test scenes (air-to-air) | 0.869 | 0.552 | 0.675 | 0.633 |
| AOT held-out test (air-to-air) | - | 0.000 | - | 0.000 |
- No false alarms: 0 drone predictions on 1,626 AOT bird / airplane / helicopter / empty-sky frames.
- AOT held-out drones are all < 16 px, and the AOT training split has no drones (all AOT drone flights are test-only). The model finds some of them but labels them
airplane, so AOT drone recall is 0. Do not expect it to work on tiny drones in AOT-like footage. - Other weak points: drones of 16-32 px (Anti-UAV300 AP50 0.345) and cluttered air-to-air backgrounds (Det-Fly).
- ~125 ms per image at 1280 on a desktop CPU (PyTorch).
License
- Model: AGPL-3.0 (Ultralytics YOLO26)
- Training data keeps its own terms: seraphim, AOD-4 (CC BY 4.0), AOT (CDLA-Permissive 1.0), DUT Anti-UAV, Det-Fly (terms not stated; check with the authors before commercial use)
- Example images: seraphim (CC BY 4.0), Det-Fly