Parasite vacuoles v4
- Held-out test set
- 209 strict hold-out fields (41 with no object)
- Baseline
- stock cpsam_v2 (same fields)
- Base model
- cpsam_v2
| v4 | stock | |
|---|---|---|
| F1 at IoU 0.5 | 0.761 | 0.377 |
| Precision | 0.769 | 0.265 |
| Recall | 0.754 | 0.656 |
| AJI | 0.582 | 0.040 |
| Dice | 0.835 | 0.091 |


Parasitophorous vacuole segmentation
Stock Cellpose-SAM (cpsam_v2) misses or misdraws many Toxoplasma parasitophorous vacuoles. In the re-score of 2026-10-11 on curated ground truth, each model is scored on the fields it never saw in training or validation (the sets differ between models), and stock cpsam_v2 on the same fields. Stock scores F1 0.364 to 0.402 at IoU 0.5, against 0.793 for v1, 0.713 for v2, 0.750 for v3, 0.761 for v4 and 0.733 for v5.
Held-out test set: 209 strict hold-out fields (41 with no object); ground-truth re-score of 2026-10-11 on curated ground truth: fields this model never saw in training or validation, pooled over all fields, IoU 0.5; the stock model scored on the same fields
Baseline: stock cpsam_v2 (same fields). Base model: cpsam_v2
Re-scored on 2026-10-11 on curated ground truth: 209 strict hold-out fields pooled, at IoU 0.5, with stock on the same fields. Earlier scores on other sets are superseded.
Also published, not the default: v5 (alternative)
How to read these scores
- Precision is the share of objects the model reported that match a reference object; low precision means false detections. Recall is the share of reference objects the model found; low recall means missed objects.
- F1 is the harmonic mean of precision and recall, so it is high only when both are. Either alone can look near-perfect: a model that reports one obvious object has high precision, and one that reports every dark blob has high recall.
- IoU (intersection over union) is the overlap between a predicted and a reference object divided by the area the two cover together. F1 at IoU 0.5 counts an object as found when that ratio reaches 0.5.
- AJI (aggregated Jaccard index) adds up the overlap of every matched pair and divides it by their combined area plus the area of unmatched objects, so merged, split and missed objects all lower it.
- Dice is twice the overlap divided by the predicted area plus the reference area.
- The grey bar is the baseline named in the column header, scored on the same test images: stock Cellpose-SAM without fine-tuning, or an earlier model where no stock model has the class.
- The held-out test set is images kept out of training and used only for scoring.
The example image
Toxoplasma vacuoles: parasitophorous vacuole segmentation. One fluorescence image of the Toxoplasma channel from an infected host-cell monolayer. Parasitophorous vacuoles are segmented by spaCR's PV model. This well is in the dataset's held-out test split and was not used to train the model.
Toxoplasma vacuoles: 125. toxoplasma_pv_v4 (round 7). Re-scored F1 0.761 on 209 strict hold-out fields, stock cpsam_v2 0.377 (model card). 136 vacuoles in the hand-curated mask; F1 0.874 at IoU 0.5 on this well
- Input
- Toxoplasma fluorescence channel, greyscale
- Image
- Anchor well plate7_K07_8, test split (held out from training)
- Licence
- CC BY 4.0
- Size
- 1994 × 1994 px, shown at 1024 px
- Figure
- With caption and checksums



























