Toxoplasma plaque-assay well detector — v4 (YOLO26n)
Detects wells in plaque-assay plate images and literature figures. v4 retrains v3 with 939 newly reviewed PMC figures (accepted boxes plus confirmed negatives), on YOLO26n (ultralytics 8.4.155). Built for spaCR.
Data
| set | images | boxes | images with no well |
|---|---|---|---|
| train | 1070 | 2455 | 580 |
| val | 254 | 673 | 123 |
| test | 129 | 297 | 84 |
v3's own train/val split is kept inside v4's, so the two stay comparable. New figures are split 70/15/15
by PMC article, and figures from an article already in v3 follow that article's set, so no paper
appears in two sets. Per-image assignment: training/split.csv.
Results — test set (never used for training or model selection)
| model | mAP50 | mAP50-95 | precision | recall | false boxes on no-well images |
|---|---|---|---|---|---|
| v3 (yolo11n) | 0.8838 | 0.763 | 0.8613 | 0.9085 | 152 |
| v4 (yolo26n) | 0.9457 | 0.8341 | 0.8912 | 0.944 | 49 |
Stock YOLO has no plaque-well class, so the baseline here is v3 rather than untrained weights. Best validation mAP50-95 at epoch 28.
Contents
weights/best.pt,weights/last.pttraining/results.csv— per-epoch train box/cls/dfl loss, validation losses, precision, recall, mAP50, mAP50-95training/args.yaml,training/split.csv, training plotsqc/*_test_perimage.csv— per-image TP/FP/FN, precision, recall, F1 at IoU 0.5 (conf 0.25), for v4 and v3qc/test_metrics.json,qc/comparison_vs_v3.csv
Environment
| ultralytics | 8.4.155 |
| model | yolo26n |
| torch | 2.10.0+cu128 |
| GPU | NVIDIA GeForce RTX 3090 Ti |
Use
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
m = YOLO(hf_hub_download("einarolafsson/toxoplasma-plaque-well-detector-yolo26", "weights/best.pt"))
boxes = m.predict("plate.png", conf=0.25)[0].boxes.xyxy
spaCR · PyPI · conda-forge · Training data: einarolafsson/toxoplasma-plaque-well-detector-dataset