Instructions to use MirilAI/WALDO41-YOLOv26 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- YOLOv26
How to use MirilAI/WALDO41-YOLOv26 with YOLOv26:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- ultralytics
How to use MirilAI/WALDO41-YOLOv26 with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("MirilAI/WALDO41-YOLOv26", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
WALDO 4.1 · YOLOv26
Faster than the previous generation at every size.
A100 · FP16 · batch 32 · warm (model loaded, start-up excluded) · box selection included
WALDO detects twelve classes of object in aerial images: light vehicles, people, bikes, buses, trucks, boats, buildings, utility poles, shipping containers, storage tanks, excavators and solar panels. It works on drone, aircraft and satellite imagery, and it finds objects only a few pixels across.
WALDO 4.1 is a family of four YOLOv26 models, N, S, M and L. We trained them from scratch with our own training harness. They have no NMS step, because the network selects its final boxes itself. Each size is available as our own checkpoint, as an Ultralytics checkpoint and as ONNX, under the MIT licence.
| N | S | M | L | |
|---|---|---|---|---|
| AP small (main metric) | 0.371 | 0.414 | 0.455 | 0.468 |
| mAP50-95, all objects | 0.437 | 0.482 | 0.519 | 0.518 |
| GFLOPs at 640 px | 6.6 | 24.4 | 69.2 | 148.8 |
| Parameters | 2.4 M | 9.4 M | 26.0 M | 54.7 M |
| A100 ms per image, warm | 0.70 | 1.18 | 2.23 | 3.45 |
| Our YOLOv8 of the same size, ms | 1.32 | 1.71 | 2.53 | 3.54 |
| Ultralytics | pt | pt | pt | pt |
| ONNX | onnx | onnx | onnx | onnx |
| Our own checkpoint | pt | pt | pt | pt |
AP small is the accuracy on objects up to 32 × 32 pixels. It is our main metric, because WALDO is built to find small objects. All scores are on the frozen 710-image WALDO 4.0 validation set, with one scorer for every model. Times are per image on one A100 in FP16 at batch 32, with the model loaded and warmed up, and include box selection. Each time is the median of 200 runs after 30 untimed ones.
Choosing a size
L has the highest AP small (0.468). M is close behind (0.455) at less than half the compute of L. S runs faster than our YOLOv8-N at batch 32 and has a higher AP small (0.414 against 0.378). N is the smallest model.
At the same size, our WALDO 4.0 YOLOv8 models still score higher on AP small, by 0.006 to 0.023. They started from pretrained weights, while these models started from random initialisation. The YOLOv26 models use 54 to 73 % of the compute of the YOLOv8 model of the same size, and they run faster in batch. WALDO 4.2 will train the same networks from our own pretrained weights.
Obnubilated
Obnubilated is our training-time augmentation library, and its name appears in every file name in this repository. The word means to darken or obscure, as a cloud does.
Aerial images change with the time of day, the weather and the camera. Obnubilated imitates these changes in the training images. We estimate the 3D shape of each training photo once, before training. During training, the photo can then be relit with a different sun position and colour, and the shadows of buildings and trees move with the light. Obnubilated can also add fog and haze that get thicker with distance and vary across the frame. Finally, it can add camera effects: exposure and colour shifts, sensor noise, blur, motion blur, JPEG compression, lower resolution and colour fringing. The labels are the same in every version of an image, because only its appearance changes.
All YOLOv26 models are trained with Obnubilated, including the WALDO 4.0 preview. In WALDO 4.1, about half of the training samples get a new random version each epoch, and the augmentation is switched off for the last 10 epochs. The WALDO 4.0 YOLOv8 models come in two variants per size, Standard (with ordinary colour jitter) and Obnubilated. The comparisons on this page use the Obnubilated variant. Obnubilated is not used at inference.
Examples
The pictures in this section are full-resolution aerial photos that were not in the training data. The boxes are the model's output at the confidence threshold shown in each picture, without edits.
Large photos and small objects
A drone photo is often 5472 × 3648 pixels. Resized to a single 640-pixel input, most small objects are lost. Cut into 640-pixel tiles with SAHI, the same photo gives the same model enough detail to find them.
Counting
A single photo can hold several hundred detections.
Drone delivery: is the drop zone clear?
Before a delivery drone descends, WALDO can check the landing area for people, vehicles and utility poles. Zone A is a lawn with no detections, so it is clear. Zone B is a driveway with parked cars, so it is not. A person still makes the final decision.
From boxes to outlines
Each WALDO box can be used as a prompt for SAM 2.1, which returns the outline of the object. Filled with the class colours, the outlines make a per-pixel class map. Where outlines overlap, the smaller object is drawn on top. The outlines come from SAM 2.1 (Meta, Apache 2.0).
Classes and sizes
Same picture, four sizes
The four sizes on the same crop. Each panel shows that model's detections and its box count.
YOLOv26-L against YOLOv8-L
The same crop processed by both large models, each with its own boxes and count. The YOLOv8 models have their own page.
Gallery
The same twelve pictures, processed by each model size. Light vehicle boxes are blue and person boxes are red; the class picture above shows every colour. Click a picture to open it at full size.
YOLOv26-L
YOLOv26-L · confidence ≥ 0.4 (car park 0.55) · SAHI slicing
YOLOv26-M
YOLOv26-M · confidence ≥ 0.4 (car park 0.55) · SAHI slicing
YOLOv26-S
YOLOv26-S · confidence ≥ 0.4 (car park 0.55) · SAHI slicing
YOLOv26-N
YOLOv26-N · confidence ≥ 0.4 (car park 0.55) · SAHI slicing
Benchmark charts
The benchmark report describes the method and lists every number: WALDO-4.1-benchmark.pdf (5 pages).
AP small against compute. Each YOLOv26 size is close to the YOLOv8 model of the same letter and uses 54 to 73 % of its GFLOPs.
AP small against speed on one A100, in FP16 at batch 32 with warm models and box selection included. Each YOLOv26 size is faster than the YOLOv8 model of the same letter.
AP by object size for every model. On tiny objects, up to 16 pixels, the YOLOv26 S and M match or beat their YOLOv8 counterparts.
AP per class at the same model size.
Validation AP during training. Each released file is the epoch with the best AP small. The larger models reach their best before epoch 300, and we are investigating why.
About this release
WALDO 4.1 contains twelve-class P2 detectors built with yolo-drone-v26b, our own PyTorch implementation of YOLOv26.
It is our second YOLOv26 release and the first with all four sizes. Each model was trained from scratch for 300 epochs
at 640 px, with YOLOv8-style mosaic and scale augmentation, Obnubilated, repeat-factor sampling for rare classes and
near-duplicate pruning. The WALDO 4.0 YOLOv26 preview (N and S, September 2026) is still available at
MirilAI/WALDO40-YOLOv26.
The training images are the WALDO 4.0 set, which is the same imagery as WALDO 3.0. The gains come from a rebuilt data pipeline, with labels cleaned again, near-duplicates removed, rare classes sampled more often and one frozen validation set for every release, and from our own YOLOv26-compatible training harness. WALDO 4.2 will retrain these networks from our own pretrained weights, and WALDO 5.0 will add new data.
Checkpoints
| Size | File | Best checkpoint epoch | mAP50-95 | mAP50 | mAP75 | AP-small | SHA-256 |
|---|---|---|---|---|---|---|---|
| N | weights/waldo41-yolov26n-p2-obnubilated.pt |
279 | 0.4366 | 0.6449 | 0.4885 | 0.3712 | 6c6650585d8b7171300e6224766e3cd7032c512928fe1343b355ee28046828f3 |
| S | weights/waldo41-yolov26s-p2-obnubilated.pt |
185 | 0.4817 | 0.7016 | 0.5488 | 0.4138 | 4959f89fae242bbb3233b84e8d09b9f9f16cd2f64503ae829d7fc37843c15fc9 |
| M | weights/waldo41-yolov26m-p2-obnubilated.pt |
167 | 0.5186 | 0.7348 | 0.5907 | 0.4553 | 26b322f4ac96164f3ea288297cda86bf3ba11534a1c32ed609faecc33e7c5010 |
| L | weights/waldo41-yolov26l-p2-obnubilated.pt |
131 | 0.5181 | 0.7405 | 0.5940 | 0.4681 | 5ee55e29f315ac1add8f69887cafc0b5f482bcf10d1cfb5a6c4d5ad7b14acf05 |
Each file is the checkpoint with the best validation AP small, so its epoch can be earlier than the last one (300). The metrics are the training run's own validation at that epoch, on the frozen 710-image WALDO 4.0 validation set, from a single seed. The files contain only what inference needs: the model and EMA weights, the architecture, the class names and the input size. Training settings, optimizer state and logs are not included.
Benchmark method
Every model in this table was scored with the same pipeline:
- the same 710 validation images;
- a square 640-pixel input, resized and padded as the trainer does;
- each family's own box selection, end-to-end for YOLOv26, and NMS at IoU 0.7 with confidence 0.001 and at most 300 boxes for YOLOv8;
- the trainer's metric code, COCO 101-point AP per class averaged over the 12 classes, with AP small covering boxes up to 32² pixels on the 640 canvas.
This pipeline reproduces each training run's own validation exactly. The numbers on the
YOLOv8 card come from Ultralytics' val, which uses a 672-pixel
rectangular input by default, and that accounts for most of the 0.005 to 0.01 difference. With a square 640-pixel
input, the two agree within 0.002.
| Model | Parameters (M) | GFLOPs at 640 | AP (mAP50-95) | AP50 | AP-small | A100 ms per image, FP16, batch 32 |
|---|---|---|---|---|---|---|
| YOLOv26-N Obnubilated, WALDO 4.1 (this release) | 2.41 | 6.6 | 0.437 | 0.645 | 0.371 | 0.70 |
| YOLOv26-S Obnubilated, WALDO 4.1 (this release) | 9.43 | 24.4 | 0.482 | 0.702 | 0.414 | 1.18 |
| YOLOv26-M Obnubilated, WALDO 4.1 (this release) | 25.99 | 69.2 | 0.519 | 0.735 | 0.455 | 2.23 |
| YOLOv26-L Obnubilated, WALDO 4.1 (this release) | 54.73 | 148.8 | 0.518 | 0.741 | 0.468 | 3.45 |
| YOLOv26-S Obnubilated, WALDO 4.0 preview | 9.43 | 24.4 | 0.462 | 0.678 | 0.404 | — |
| YOLOv8-N Obnubilated | 2.93 | 12.2 | 0.445 | 0.662 | 0.378 | 1.32 |
| YOLOv8-S Obnubilated | 10.64 | 36.7 | 0.506 | 0.729 | 0.437 | 1.71 |
| YOLOv8-M Obnubilated | 25.06 | 98.0 | 0.538 | 0.759 | 0.475 | 2.53 |
| YOLOv8-L Obnubilated | 42.85 | 204.8 | 0.546 | 0.772 | 0.485 | 3.54 |
| YOLOv8-N Standard | 2.93 | 12.2 | 0.448 | 0.660 | 0.397 | 1.29 |
| YOLOv8-S Standard | 10.64 | 36.7 | 0.493 | 0.713 | 0.431 | 1.69 |
| YOLOv8-M Standard | 25.06 | 98.0 | 0.533 | 0.756 | 0.476 | 2.55 |
| YOLOv8-L Standard | 42.85 | 204.8 | 0.540 | 0.763 | 0.474 | 3.55 |
GFLOPs come from one FLOP counter for all models, on a 1 × 3 × 640 × 640 input. Parameters are those used at inference; the YOLOv26 files also contain a branch that is only used in training. Times were measured on one A100-SXM4-40GB with PyTorch 2.8.0 and Ultralytics 8.4.37 for both families (fused models, eager mode, no TensorRT), in FP16, and include each family's box selection (NMS for YOLOv8 and the built-in top-300 selection for YOLOv26). Each model was loaded on the GPU and run 30 times before timing, and each figure is the median of the next 200 runs over two passes.
Against WALDO 4.0 YOLOv8 Obnubilated of the same size: N 0.371 against 0.378 AP small, with 54% of its GFLOPs; S 0.414 against 0.437 AP small, with 66% of its GFLOPs; M 0.455 against 0.475 AP small, with 71% of its GFLOPs; L 0.468 against 0.485 AP small, with 73% of its GFLOPs. Against the WALDO 4.0 YOLOv26-S preview, the 4.1 S gains +0.010 AP small at the same size. These are single-seed results, so differences of about 0.005 are within noise.
WALDO 4.0 YOLOv26 preview
The first YOLOv26 N and S (September 2026) are still available at MirilAI/WALDO40-YOLOv26. They were trained without mosaic, with our own placement augmentation, on the unpruned training images.
Classes
Class IDs, the class name stored in the files, and the name we use for each:
| ID | In the files | Name | ID | In the files | Name |
|---|---|---|---|---|---|
| 0 | LightVehicle |
Light vehicle | 6 | Container |
Shipping container |
| 1 | Person |
Person | 7 | Truck |
Truck |
| 2 | Building |
Building | 8 | Gastank |
Storage tank |
| 3 | UPole |
Utility pole | 9 | Digger |
Excavator |
| 4 | Boat |
Boat | 10 | Solarpanels |
Solar panels |
| 5 | Bike |
Bike | 11 | Bus |
Bus |
Run it
Each size is available in three formats: the checkpoint from our training harness (weights/), a standard Ultralytics
YOLO26-P2 checkpoint (ultralytics/) and ONNX (onnx/). For the same 640 × 640 input, all three give the same
detections; we checked this on 50 validation images.
| Size | Format | File | SHA-256 |
|---|---|---|---|
| N | ONNX (FP32, 640 x 640, batch 1) | onnx/waldo41-yolov26n-p2-obnubilated.onnx |
6b311d31ce545e1c03fb82b1c92486763362a4b82cba597d5700def51e6beb58 |
| N | Ultralytics checkpoint | ultralytics/waldo41-yolov26n-p2-obnubilated.pt |
cc85cfca58d7e25427930b656578326d4c47c1838b71d8f1fe19a71d1335b7a7 |
| S | ONNX (FP32, 640 x 640, batch 1) | onnx/waldo41-yolov26s-p2-obnubilated.onnx |
03026e4b13f90cc2bac6d6d6ff422f921c67d78b6bb67ae00c32723d97de7aaf |
| S | Ultralytics checkpoint | ultralytics/waldo41-yolov26s-p2-obnubilated.pt |
a41994463f5c6b411501cd34d26f183dac6bd12affd8b464b1f5e35e15c15d38 |
| M | ONNX (FP32, 640 x 640, batch 1) | onnx/waldo41-yolov26m-p2-obnubilated.onnx |
ac25a883230db1a010b4e479fba638f16a9f5af149df38fe69b38a03e798d730 |
| M | Ultralytics checkpoint | ultralytics/waldo41-yolov26m-p2-obnubilated.pt |
1e3680e2ccd2026a8d253af67ddb7cf67dfd1f5585008483f5022277eabc81d3 |
| L | ONNX (FP32, 640 x 640, batch 1) | onnx/waldo41-yolov26l-p2-obnubilated.onnx |
672a2189d50079db7fcb3a5365c2a07b467f8dde3d83466f2b4e4f497b74117f |
| L | Ultralytics checkpoint | ultralytics/waldo41-yolov26l-p2-obnubilated.pt |
40578e65219cae2929053ad8a4f0e2485e5c4e85f8868ceacaf78d7ab9b6d9c6 |
To get started with Ultralytics:
pip install ultralytics huggingface_hub
python inference.py image.jpg --size s # the Ultralytics checkpoint
python inference.py image.jpg --size s --format onnx # ONNX; also needs: pip install onnxruntime
from ultralytics import YOLO
model = YOLO("ultralytics/waldo41-yolov26s-p2-obnubilated.pt")
results = model.predict("image.jpg", imgsz=640, conf=0.25, nms=False)
Use nms=False with the .pt files. It selects the model's NMS-free head, which produced the published scores. Recent
Ultralytics releases otherwise use the auxiliary head with NMS. The ONNX files have the NMS-free head built in.
USAGE.md explains how to run the ONNX files with ONNX Runtime alone (tools/onnx_predict.py) and how to convert a
checkpoint yourself (tools/convert_v26b_to_ultralytics.py).
Ultralytics resizes images with OpenCV, and our training and runtime use Pillow. On full-size images this moves about 3 % of the boxes, by a median of 0.3 px.
The files were tested with Ultralytics 8.4.37 and 8.4.218. The weights, ONNX files and tools are released under the MIT licence. Ultralytics is separate software with its own licence. A pip package for running the native checkpoints is in preparation.
Training configuration
| Setting | Value |
|---|---|
| Schedule | 300 epochs at 640 px; P2 detection head; global batch 64; mixed precision; EMA (decay 0.9998, τ 2000); seed 3407. |
| Optimizer | SGD (learning rate 0.01, momentum 0.937, weight decay 0.0005) combined with a Muon component (weight 0.2), and a 3-epoch warm-up. |
| Spatial augmentation | four-image mosaic at p = 1.0, switched off for the last 10 epochs; random scale and translate; horizontal flip 0.5; no vertical flip. |
| Appearance | Obnubilated natural-aerial-2026-09 (version 0.3.1) on half of the training requests, with one environment per mosaic and the camera effects applied once to the final canvas; off for the last 10 epochs. |
| Sampling | repeat-factor sampling with threshold 0.1, which mildly oversamples the rare classes. |
| Data | the WALDO 4.0 training images, with near-duplicates pruned; validation on the frozen 710-image WALDO 4.0 split, byte-identical for every WALDO 4.x model |
| Hardware | one Lambda cloud node of 8 × A100-SXM4-40GB, PyTorch 2.8.0. Per size: N 2 GPUs, 32 x 1; S 2 GPUs, 16 x 2; M 2 GPUs, 8 x 4; L 4 GPUs, 8 x 2 (GPUs, microbatch per GPU × accumulation steps). |
| Initialisation | from scratch. No converted or third-party pretrained detector weights were used. |
Compute
We trained all four WALDO 4.1 models, and ran the speed benchmarks on this page, on a Lambda cloud node with eight NVIDIA A100 GPUs. Thanks to Lambda for a great service.
Licence
The checkpoints, ONNX files and tools are released under the MIT licence.










































































