File size: 1,129 Bytes
1ea733e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Varroa: three YOLOv8-P2 ASRM variants

Standalone package for training the three current ASRM architectures on the Varroa
dataset. It is isolated from LEVIR-Ship and from the original Varroa project.

Cases:

- `p2_asrm_fusion`
- `input_asrm_auxiliary`
- `input_asrm_guided_p2`

The notebook follows `Varroa/YOLO_custom/HF_YOLO_version_workflow.ipynb`:
`gt_one`, infected images only, class token 3 mapped to class 1, fixed conversion
split seed 42, pretrained `yolov8n.pt`, image size 640, batch 16, 100 epochs,
patience 20, workers 4 and training seeds 42/43.

The raw archive retains the original train/val/test layout. `prepare_dataset.py`
deduplicates the positive CSV records and creates a reproducible 70/15/15 Ultralytics
layout. All cases and training seeds use that same converted dataset.

Outputs:

- `test_metrics.json` per case/seed;
- `comparison_varroa_asrm.csv` with raw runs;
- `comparison_varroa_asrm_aggregate.csv` with mean/std over seeds.

Version 2 exposes an auxiliary attention map but has no auxiliary loss, so its
detection path is intentionally equivalent to the P2 baseline during this experiment.