aaniksahaa commited on
Commit
d032ac4
·
verified ·
1 Parent(s): 30baee2

macs_v2 runs from bayzid-system-2 2026-10-24_22:51

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-entropy/budget-5/seed-1/log.txt +107 -0
  2. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-entropy/budget-5/seed-1/result.json +776 -0
  3. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-entropy/budget-5/seed-1/rounds.csv +8 -0
  4. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-1/log.txt +108 -0
  5. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-1/result.json +785 -0
  6. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-1/rounds.csv +8 -0
  7. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt +108 -0
  8. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json +785 -0
  9. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-1/rounds.csv +8 -0
  10. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/log.txt +108 -0
  11. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/result.json +785 -0
  12. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/rounds.csv +8 -0
  13. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt +104 -0
  14. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json +785 -0
  15. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv +8 -0
  16. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-1/log.txt +103 -0
  17. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-1/result.json +785 -0
  18. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-1/rounds.csv +8 -0
  19. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-1/log.txt +103 -0
  20. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-1/result.json +785 -0
  21. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-1/rounds.csv +8 -0
  22. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-2/log.txt +108 -0
  23. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-2/result.json +785 -0
  24. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-2/rounds.csv +8 -0
  25. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-random/budget-5/seed-1/log.txt +103 -0
  26. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-random/budget-5/seed-1/result.json +785 -0
  27. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-random/budget-5/seed-1/rounds.csv +8 -0
  28. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt +105 -0
  29. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json +652 -0
  30. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-1/rounds.csv +8 -0
  31. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt +105 -0
  32. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json +652 -0
  33. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv +8 -0
  34. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-2/log.txt +107 -0
  35. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-2/result.json +662 -0
  36. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-2/rounds.csv +8 -0
  37. macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-entropy/budget-5/seed-1/log.txt +108 -0
  38. macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-entropy/budget-5/seed-1/result.json +667 -0
  39. macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-entropy/budget-5/seed-1/rounds.csv +8 -0
  40. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt +148 -0
  41. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json +647 -0
  42. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-1/rounds.csv +8 -0
  43. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt +107 -0
  44. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json +662 -0
  45. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv +8 -0
  46. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-random/budget-5/seed-1/log.txt +98 -0
  47. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-random/budget-5/seed-1/result.json +647 -0
  48. macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-random/budget-5/seed-1/rounds.csv +8 -0
  49. macs_v2_r26/runs/mitochondria/multiclass/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt +103 -0
  50. macs_v2_r26/runs/mitochondria/multiclass/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json +647 -0
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-entropy/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [03:49:50][ 0s][START] target=dhanyasi-P14-mouse-cerebellum variant=macs-v11-norestart-acq-entropy budget=5.0% seed=1 | {"task": "membrane", "target": "dhanyasi-P14-mouse-cerebellum", "variant": "macs-v11-norestart-acq-entropy", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "entropy", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [03:49:50][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [03:49:51][ 0s][DATA] dhanyasi-P14-mouse-cerebellum: train=8649 val=1922 test=2883 patches
4
+ [03:49:53][ 2s][CALIB] source-val temperatures: c-elegans=2.58, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, oct-sfl=2.64, snemi=3.55, mouse-brain=4.07
5
+ [03:49:53][ 3s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [03:50:00][ 9s][WEIGHTS] mixture: c-elegans=0.051, flywire=0.156, berghia=0.010, microns=0.417, oct-glia=0.040, oct-sfl=0.054, snemi=0.107, mouse-brain=0.165 | eff.sources=5.34 | MMD2 mix=0.0662 uniform=0.1039
7
+ [03:50:00][ 9s][WEIGHTS] per-source: c-elegans=0.183, flywire=0.001, berghia=0.071, microns=0.290, oct-glia=0.195, oct-sfl=0.144, snemi=0.112, mouse-brain=0.004 | min-MMD source (NeuroADDA rule) = microns
8
+ [03:51:14][ 84s][TEACHERS] target-val Dice: c-elegans=0.413, flywire=0.107, berghia=0.158, microns=0.223, oct-glia=0.110, oct-sfl=0.291, snemi=0.297, mouse-brain=0.448
9
+ [03:51:14][ 84s][TEACHERS] ensemble target-val Dice: mixture=0.210, mixture@raw=0.220, mixture@logit=0.189, per_source=0.193, per_source@raw=0.209, per_source@logit=0.156, uniform=0.192, uniform@raw=0.210, uniform@logit=0.154
10
+ [03:51:14][ 84s][WEIGHTS] using mixture: c-elegans=0.051, flywire=0.156, berghia=0.010, microns=0.417, oct-glia=0.040, oct-sfl=0.054, snemi=0.107, mouse-brain=0.165
11
+ [03:51:14][ 84s][INIT] student initialised from teacher microns (weight 0.417)
12
+ [03:51:18][ 88s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [03:51:19][ 88s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [03:55:24][ 333s][KD] soft labels for 6000 patches from 8 teachers in 245s
15
+ [03:58:22][ 512s][KD] epoch 1/5 | patches=6000 | loss=0.5816 | 179s
16
+ [04:01:21][ 691s][KD] epoch 2/5 | patches=6000 | loss=0.4493 | 179s
17
+ [04:04:20][ 870s][KD] epoch 3/5 | patches=6000 | loss=0.4312 | 179s
18
+ [04:07:19][ 1048s][KD] epoch 4/5 | patches=6000 | loss=0.4244 | 179s
19
+ [04:10:18][ 1227s][KD] epoch 5/5 | patches=6000 | loss=0.4237 | 179s
20
+ [04:10:24][ 1233s][ROUND0] before any target label: val_dice=0.1287 val_vi=0.5096
21
+ [04:10:24][ 1233s][AL] patches=8649 (pool 8647 after dropping blank; free blank negatives: True) | budget=432 (5.0%) | rounds=6 | per_round=72 | acquisition=entropy | first_round=stratified
22
+ [04:11:06][ 1276s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': -0.5377973366328569, 'auroc_top20_error': 0.224696484375}
23
+ [04:12:28][ 1358s][AL] round 1: stratified cold start: 36 patches from the membrane-rich half (ensemble prevalence >= 0.184) + 36 from the membrane-poor half of 2000 candidates
24
+ [04:12:42][ 1372s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.548, uniform=0.270, top1=0.481, top2=0.492, top3=0.499 -> using mixture
25
+ [04:12:45][ 1374s][WEIGHTS] round 1: student kept (labeled Dice 0.242 vs best teacher mouse-brain 0.481); distilling the corrected ensemble into it
26
+ [04:12:45][ 1374s][WEIGHTS] round 1: teacher Dice on 72 labeled patches + 2 blank (1139017 fg px): c-elegans=0.423, flywire=0.157, berghia=0.194, microns=0.305, oct-glia=0.168, oct-sfl=0.436, snemi=0.411, mouse-brain=0.481 | weights: c-elegans=0.079, flywire=0.017, berghia=0.002, microns=0.200, oct-glia=0.005, oct-sfl=0.095, snemi=0.147, mouse-brain=0.456
27
+ [04:16:49][ 1619s][KD] soft labels for 6000 patches from 8 teachers in 245s
28
+ [04:19:48][ 1798s][KD] epoch 1/2 | patches=6000 | loss=0.5616 | 179s
29
+ [04:22:47][ 1977s][KD] epoch 2/2 | patches=6000 | loss=0.5540 | 179s
30
+ [04:24:09][ 2059s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 82s
31
+ [04:24:16][ 2066s][FT] round 1/6 epoch 1/5 | patches=74 | loss=1.3421
32
+ [04:24:23][ 2073s][FT] round 1/6 epoch 2/5 | patches=74 | loss=1.3098
33
+ [04:24:30][ 2079s][FT] round 1/6 epoch 3/5 | patches=74 | loss=1.2440
34
+ [04:24:37][ 2086s][FT] round 1/6 epoch 4/5 | patches=74 | loss=1.2534
35
+ [04:24:43][ 2093s][FT] round 1/6 epoch 5/5 | patches=74 | loss=1.2370
36
+ [04:24:49][ 2099s][AL] round 1/6 | labeled=72 | selection_seconds=124.6000 round_seconds=859.5000 restart_student_dice=0.2421 restart_teacher_dice=0.4806 val_dice=0.6204 val_vi=0.6482 val_ece=0.0404
37
+ [04:25:31][ 2141s][AL] round 2: 824/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [04:25:56][ 2166s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.388, uniform=0.184, top1=0.368, top2=0.399, top3=0.425 -> using top3
39
+ [04:25:56][ 2166s][WEIGHTS] round 2: teacher Dice on 144 labeled patches + 2 blank (1961159 fg px): c-elegans=0.312, flywire=0.118, berghia=0.162, microns=0.220, oct-glia=0.106, oct-sfl=0.316, snemi=0.360, mouse-brain=0.368 | weights: c-elegans=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.108, snemi=0.335, mouse-brain=0.557
40
+ [04:26:16][ 2186s][CONS] round 2: on the 72 new patches student Dice=0.507 vs ensemble 0.287 -> pseudo-labels from the student | consistency x0.02
41
+ [04:26:28][ 2197s][FT] round 2/6 epoch 1/5 | patches=146 | loss=1.1134
42
+ [04:26:38][ 2208s][FT] round 2/6 epoch 2/5 | patches=146 | loss=0.9894
43
+ [04:26:50][ 2219s][FT] round 2/6 epoch 3/5 | patches=146 | loss=0.9750
44
+ [04:27:00][ 2230s][FT] round 2/6 epoch 4/5 | patches=146 | loss=0.9333
45
+ [04:27:11][ 2241s][FT] round 2/6 epoch 5/5 | patches=146 | loss=0.9466
46
+ [04:27:17][ 2247s][AL] round 2/6 | labeled=144 | selection_seconds=42.1000 round_seconds=142.0000 pseudo_student_dice=0.5069 pseudo_ensemble_dice=0.2872 consistency_scale=0.0230 val_dice=0.5836 val_vi=0.6030 val_ece=0.0512
47
+ [04:27:59][ 2289s][AL] round 3: 1378/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [04:30:53][ 2463s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.380, flywire=0.188, berghia=0.176, microns=0.335, oct-glia=0.214, oct-sfl=0.499, snemi=0.431, mouse-brain=0.452 | blended with labeled Dice at 0.50
49
+ [04:33:37][ 2626s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.455, uniform=0.218, top1=0.465, top2=0.474, top3=0.473 -> using top3
50
+ [04:33:37][ 2626s][WEIGHTS] round 3: teacher Dice on 216 labeled patches + 2 blank (3836186 fg px): c-elegans=0.368, flywire=0.136, berghia=0.159, microns=0.249, oct-glia=0.137, oct-sfl=0.363, snemi=0.372, mouse-brain=0.465 | weights: c-elegans=0.085, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.000, snemi=0.186, mouse-brain=0.729
51
+ [04:33:47][ 2636s][CONS] round 3: on the 72 new patches student Dice=0.584 vs ensemble 0.653 -> pseudo-labels from the ensemble | consistency x1.00
52
+ [04:34:01][ 2651s][FT] round 3/6 epoch 1/5 | patches=218 | loss=1.4325
53
+ [04:34:16][ 2666s][FT] round 3/6 epoch 2/5 | patches=218 | loss=1.4260
54
+ [04:34:32][ 2681s][FT] round 3/6 epoch 3/5 | patches=218 | loss=1.2945
55
+ [04:34:47][ 2696s][FT] round 3/6 epoch 4/5 | patches=218 | loss=1.2789
56
+ [04:35:02][ 2712s][FT] round 3/6 epoch 5/5 | patches=218 | loss=1.2626
57
+ [04:35:08][ 2718s][AL] round 3/6 | labeled=216 | selection_seconds=42.1000 round_seconds=464.8000 pseudo_student_dice=0.5842 pseudo_ensemble_dice=0.6535 consistency_scale=1.0000 val_dice=0.6468 val_vi=0.5581 val_ece=0.0517
58
+ [04:35:50][ 2760s][AL] round 4: 1289/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [04:36:36][ 2806s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.434, uniform=0.133, top1=0.451, top2=0.451, top3=0.450 -> using top3
60
+ [04:36:36][ 2806s][WEIGHTS] round 4: teacher Dice on 288 labeled patches + 2 blank (4894951 fg px): c-elegans=0.358, flywire=0.098, berghia=0.171, microns=0.172, oct-glia=0.055, oct-sfl=0.259, snemi=0.338, mouse-brain=0.451 | weights: c-elegans=0.092, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.000, snemi=0.158, mouse-brain=0.750
61
+ [04:36:56][ 2826s][CONS] round 4: on the 72 new patches student Dice=0.644 vs ensemble 0.369 -> pseudo-labels from the student | consistency x0.48
62
+ [04:37:15][ 2845s][FT] round 4/6 epoch 1/5 | patches=290 | loss=0.9723
63
+ [04:37:34][ 2864s][FT] round 4/6 epoch 2/5 | patches=290 | loss=0.9621
64
+ [04:37:54][ 2883s][FT] round 4/6 epoch 3/5 | patches=290 | loss=0.9220
65
+ [04:38:13][ 2903s][FT] round 4/6 epoch 4/5 | patches=290 | loss=0.9362
66
+ [04:38:33][ 2922s][FT] round 4/6 epoch 5/5 | patches=290 | loss=0.9013
67
+ [04:38:39][ 2929s][AL] round 4/6 | labeled=288 | selection_seconds=42.1000 round_seconds=204.8000 pseudo_student_dice=0.6440 pseudo_ensemble_dice=0.3688 consistency_scale=0.4800 val_dice=0.6459 val_vi=0.5368 val_ece=0.0249
68
+ [04:39:21][ 2971s][AL] round 5: 1384/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
69
+ [04:42:25][ 3155s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.388, flywire=0.168, berghia=0.173, microns=0.320, oct-glia=0.212, oct-sfl=0.460, snemi=0.435, mouse-brain=0.471 | blended with labeled Dice at 0.50
70
+ [04:45:20][ 3329s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.473, uniform=0.222, top1=0.462, top2=0.473, top3=0.472 -> using mixture
71
+ [04:45:20][ 3329s][WEIGHTS] round 5: teacher Dice on 360 labeled patches + 2 blank (6110421 fg px): c-elegans=0.380, flywire=0.136, berghia=0.177, microns=0.254, oct-glia=0.133, oct-sfl=0.368, snemi=0.396, mouse-brain=0.462 | weights: c-elegans=0.069, flywire=0.018, berghia=0.002, microns=0.161, oct-glia=0.005, oct-sfl=0.065, snemi=0.170, mouse-brain=0.510
72
+ [04:45:41][ 3350s][CONS] round 5: on the 72 new patches student Dice=0.607 vs ensemble 0.484 -> pseudo-labels from the student | consistency x0.36
73
+ [04:46:04][ 3374s][FT] round 5/6 epoch 1/5 | patches=362 | loss=0.8871
74
+ [04:46:28][ 3397s][FT] round 5/6 epoch 2/5 | patches=362 | loss=0.8923
75
+ [04:46:51][ 3421s][FT] round 5/6 epoch 3/5 | patches=362 | loss=0.8688
76
+ [04:47:14][ 3444s][FT] round 5/6 epoch 4/5 | patches=362 | loss=0.8893
77
+ [04:47:38][ 3467s][FT] round 5/6 epoch 5/5 | patches=362 | loss=0.8411
78
+ [04:47:44][ 3473s][AL] round 5/6 | labeled=360 | selection_seconds=42.1000 round_seconds=538.7000 pseudo_student_dice=0.6073 pseudo_ensemble_dice=0.4837 consistency_scale=0.3580 val_dice=0.6549 val_vi=0.5238 val_ece=0.0051
79
+ [04:48:26][ 3515s][AL] round 6: 1422/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
80
+ [04:51:36][ 3705s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.400, flywire=0.171, berghia=0.184, microns=0.326, oct-glia=0.207, oct-sfl=0.477, snemi=0.435, mouse-brain=0.478 | blended with labeled Dice at 0.50
81
+ [04:54:35][ 3885s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.480, uniform=0.220, top1=0.469, top2=0.481, top3=0.481 -> using mixture
82
+ [04:54:35][ 3885s][WEIGHTS] round 6: teacher Dice on 432 labeled patches + 2 blank (7377505 fg px): c-elegans=0.392, flywire=0.135, berghia=0.185, microns=0.255, oct-glia=0.129, oct-sfl=0.373, snemi=0.403, mouse-brain=0.469 | weights: c-elegans=0.074, flywire=0.017, berghia=0.002, microns=0.153, oct-glia=0.004, oct-sfl=0.064, snemi=0.173, mouse-brain=0.513
83
+ [04:54:56][ 3906s][CONS] round 6: on the 72 new patches student Dice=0.659 vs ensemble 0.462 -> pseudo-labels from the student | consistency x0.53
84
+ [04:55:24][ 3933s][FT] round 6/6 epoch 1/5 | patches=434 | loss=0.8836
85
+ [04:55:51][ 3961s][FT] round 6/6 epoch 2/5 | patches=434 | loss=0.8524
86
+ [04:56:19][ 3988s][FT] round 6/6 epoch 3/5 | patches=434 | loss=0.8450
87
+ [04:56:47][ 4016s][FT] round 6/6 epoch 4/5 | patches=434 | loss=0.8465
88
+ [04:57:14][ 4044s][FT] round 6/6 epoch 5/5 | patches=434 | loss=0.8346
89
+ [04:57:20][ 4050s][AL] round 6/6 | labeled=432 | selection_seconds=42.2000 round_seconds=570.5000 pseudo_student_dice=0.6586 pseudo_ensemble_dice=0.4617 consistency_scale=0.5290 val_dice=0.6593 val_vi=0.5305 val_ece=0.0107
90
+ [04:57:31][ 4060s][CONS] final consolidation: pseudo-labels refreshed from the student
91
+ [04:57:58][ 4088s][FT] final 1/10 epoch 1/1 | patches=434 | loss=0.8176
92
+ [04:58:26][ 4116s][FT] final 2/10 epoch 1/1 | patches=434 | loss=0.8093
93
+ [04:58:54][ 4143s][FT] final 3/10 epoch 1/1 | patches=434 | loss=0.7822
94
+ [04:59:22][ 4171s][FT] final 4/10 epoch 1/1 | patches=434 | loss=0.7432
95
+ [04:59:49][ 4199s][FT] final 5/10 epoch 1/1 | patches=434 | loss=0.7414
96
+ [05:00:17][ 4227s][FT] final 6/10 epoch 1/1 | patches=434 | loss=0.6925
97
+ [05:00:45][ 4255s][FT] final 7/10 epoch 1/1 | patches=434 | loss=0.6934
98
+ [05:01:12][ 4282s][FT] final 8/10 epoch 1/1 | patches=434 | loss=0.6712
99
+ [05:01:41][ 4310s][FT] final 9/10 epoch 1/1 | patches=434 | loss=0.6439
100
+ [05:02:08][ 4338s][FT] final 10/10 epoch 1/1 | patches=434 | loss=0.6502
101
+ [05:02:14][ 4344s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=287.9000 val_dice=0.6657 val_vi=0.5277 val_ece=0.0145
102
+ [05:02:14][ 4344s][WEIGHTS] final: c-elegans=0.074, flywire=0.017, berghia=0.002, microns=0.153, oct-glia=0.004, oct-sfl=0.064, snemi=0.173, mouse-brain=0.513
103
+ [05:04:29][ 4479s][TEST] raw student (no EMA, no TTA): patch_dice=0.6755 patch_vi=0.4444
104
+ [05:04:45][ 4495s][TEST] final model without TTA: patch_dice=0.6755 patch_vi=0.4444
105
+ [05:04:45][ 4495s][RESOURCES] {"phases": {"setup": {"seconds": 1.57, "peak_cpu_rss_mb": 2160.6, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 85.57, "peak_cpu_rss_mb": 4184.1, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 1139.29, "peak_cpu_rss_mb": 5957.0, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4598.0, "kd_epochs": 5}, "active_learning": {"seconds": 3110.53, "peak_cpu_rss_mb": 5957.0, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4642.0, "rounds": 6}, "inference": {"seconds": 150.79, "peak_cpu_rss_mb": 5957.0, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4644.0, "patches": 2883, "images": 3, "patches_per_second": 19.1, "seconds_per_image": 50.263}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5957.0, "total_seconds": 4487.8}
106
+ [05:04:45][ 4495s][TEST] patch_dice=0.7316 patch_iou=0.6304 patch_precision=0.7851 patch_recall=0.7817 patch_vi=0.4133 image_dice=0.8190 image_iou=0.6967 image_precision=0.8642 image_recall=0.7816 image_vi=0.4620 cal_ece=0.0032 cal_nll=0.1825 cal_brier=0.0543 cal_mean_confidence=0.9228 cal_accuracy=0.9259 cal_predicted_prevalence=0.2157 cal_true_prevalence=0.2301 cal_mean_probability=0.2249
107
+ [05:04:46][ 4495s][DONE] dhanyasi-P14-mouse-cerebellum macs-v11-norestart-acq-entropy b5 s1 | test patch Dice=0.7316 VI=0.4133 | image Dice=0.8190 VI=0.4620 | 4495s
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-entropy/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,776 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "dhanyasi-P14-mouse-cerebellum",
3
+ "variant": "macs-v11-norestart-acq-entropy",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "dhanyasi-P14-mouse-cerebellum",
9
+ "variant": "macs-v11-norestart-acq-entropy",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "entropy",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "dhanyasi-P14-mouse-cerebellum",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-entropy",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "flywire",
145
+ "katz-lab-berghia-connective",
146
+ "microns_basil",
147
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
148
+ "octopus-vulgaris-vertical-lobe-sfltract",
149
+ "snemi3d",
150
+ "whole-mouse-brain"
151
+ ],
152
+ "alphas": [
153
+ 0.05083445087713844,
154
+ 0.15580217281625375,
155
+ 0.01024336472294703,
156
+ 0.4172897252912645,
157
+ 0.039642121317843636,
158
+ 0.05395053407082265,
159
+ 0.10715675218847985,
160
+ 0.1650808787152502
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "flywire",
166
+ "katz-lab-berghia-connective",
167
+ "microns_basil",
168
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
169
+ "octopus-vulgaris-vertical-lobe-sfltract",
170
+ "snemi3d",
171
+ "whole-mouse-brain"
172
+ ],
173
+ "mixture": [
174
+ 0.05083445087713844,
175
+ 0.15580217281625375,
176
+ 0.01024336472294703,
177
+ 0.4172897252912645,
178
+ 0.039642121317843636,
179
+ 0.05395053407082265,
180
+ 0.10715675218847985,
181
+ 0.1650808787152502
182
+ ],
183
+ "per_source": [
184
+ 0.18317784495730796,
185
+ 0.0008117673075475437,
186
+ 0.07130128976808368,
187
+ 0.2901325749523702,
188
+ 0.19474134185881758,
189
+ 0.1442779689307106,
190
+ 0.11165161174087061,
191
+ 0.003905600484291838
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.04944686886108997,
205
+ "mmd2_mixture": 0.06619593169520155,
206
+ "mmd2_uniform": 0.10385689512746193,
207
+ "mmd2_single_source": [
208
+ 0.3515701146669005,
209
+ 0.19141235024309128,
210
+ 0.2296475179170791,
211
+ 0.08478110169677128,
212
+ 0.27262177079818134,
213
+ 0.24630850341824578,
214
+ 0.1500490344627728,
215
+ 0.17311817557273296
216
+ ],
217
+ "median_squared_distance": 0.18230580278935338,
218
+ "gammas": [
219
+ 1.3713222298736392,
220
+ 2.7426444597472783,
221
+ 5.485288919494557,
222
+ 10.970577838989113,
223
+ 21.941155677978227
224
+ ],
225
+ "max_weight": 0.4172897252912645,
226
+ "entropy": 1.6749062834111577,
227
+ "effective_sources": 5.338294838847327,
228
+ "min_weight": 0.01024336472294703
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.24983786823863818,
233
+ 0.6076264103713149,
234
+ 0.31213514946535237,
235
+ 0.2194743346098349,
236
+ 0.24579617653258468,
237
+ 0.265599036130135,
238
+ 0.28252505597774746,
239
+ 0.503904484908046
240
+ ],
241
+ "standardized": [
242
+ -0.6514551732920085,
243
+ 2.0580443558260613,
244
+ -0.17968362593338755,
245
+ -0.8813954044106882,
246
+ -0.6820625306688456,
247
+ -0.5320973069785436,
248
+ -0.4039181245665406,
249
+ 1.2725678100239537
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.2901325749523702,
253
+ "entropy": 1.7283714073603158,
254
+ "effective_sources": 5.63147505732349,
255
+ "min_weight": 0.0008117673075475437
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 6.6
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4128695009061776,
265
+ 0.10650556878992745,
266
+ 0.15770951130321542,
267
+ 0.22267897752458055,
268
+ 0.11007038183068829,
269
+ 0.2906751954472746,
270
+ 0.2970256007290182,
271
+ 0.44753146510338837
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.20976392808829658,
275
+ "mixture@raw": 0.2201044151609466,
276
+ "mixture@logit": 0.18899978060037625,
277
+ "per_source": 0.193177417318676,
278
+ "per_source@raw": 0.20883301715723235,
279
+ "per_source@logit": 0.15551528847303686,
280
+ "uniform": 0.19238477463512638,
281
+ "uniform@raw": 0.2103392831498283,
282
+ "uniform@logit": 0.15367871932302002
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 1.9903231859207153,
289
+ 8.0,
290
+ 1.9153105020523071,
291
+ 2.5512874126434326,
292
+ 2.642308473587036,
293
+ 3.547258138656616,
294
+ 4.074584007263184
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.4172897252912645,
299
+ "entropy": 1.6749062834111577,
300
+ "effective_sources": 5.338294838847327,
301
+ "min_weight": 0.01024336472294703
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.2380952380952381,
305
+ "spearman_weight_taxonomy": 0.7324670207647144,
306
+ "top_source": "microns_basil",
307
+ "top_source_is_best_teacher": false
308
+ },
309
+ "init_teacher": "microns_basil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.00023124060585038732,
312
+ "kd_seconds": 1139.3,
313
+ "round0_val": {
314
+ "val_dice": 0.12873302341577902,
315
+ "val_vi": 0.5095556457765907,
316
+ "val_ece": 0.1409334247270805
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 72,
322
+ "selection_seconds": 124.6,
323
+ "round_seconds": 859.5,
324
+ "teacher_dice_labeled": [
325
+ 0.423321230947482,
326
+ 0.15747034038174015,
327
+ 0.1937080422460344,
328
+ 0.30535734387879976,
329
+ 0.16796457367489764,
330
+ 0.4355867030005887,
331
+ 0.4106488934816602,
332
+ 0.480569706780208
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 1139017,
336
+ "evidence_nonempty_patches": 61,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.24208465449533073,
340
+ "restart_teacher_dice": 0.480569706780208,
341
+ "weights": [
342
+ 0.07916149016146976,
343
+ 0.016996268628103182,
344
+ 0.0016054657774156285,
345
+ 0.19974819501005328,
346
+ 0.004803002789714615,
347
+ 0.09497730470154105,
348
+ 0.14700770716957254,
349
+ 0.4557005657621298
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.547725247586474,
354
+ "uniform": 0.2700913480165708,
355
+ "top1": 0.480569706780208,
356
+ "top2": 0.4919855915340812,
357
+ "top3": 0.4986229536904216
358
+ },
359
+ "val_dice": 0.6203974319004413,
360
+ "val_vi": 0.6482077865842528,
361
+ "val_ece": 0.04038987229168493
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 144,
366
+ "selection_seconds": 42.1,
367
+ "round_seconds": 142.0,
368
+ "teacher_dice_labeled": [
369
+ 0.3121220380549426,
370
+ 0.11784411213032195,
371
+ 0.16213463696136268,
372
+ 0.21973314935568444,
373
+ 0.10574009869144996,
374
+ 0.3155480158339058,
375
+ 0.3603575734043396,
376
+ 0.3678067279431099
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 1961159,
380
+ "evidence_nonempty_patches": 104,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.0,
385
+ 0.0,
386
+ 0.0,
387
+ 0.0,
388
+ 0.0,
389
+ 0.10788468470323365,
390
+ 0.3354200554780413,
391
+ 0.5566952598187249
392
+ ],
393
+ "ensemble_choice": "top3",
394
+ "candidate_dice": {
395
+ "mixture": 0.3879878504056142,
396
+ "uniform": 0.18391130588268922,
397
+ "top1": 0.3678067279431099,
398
+ "top2": 0.39948449736175295,
399
+ "top3": 0.4246588769388564
400
+ },
401
+ "pseudo_student_dice": 0.506870089555582,
402
+ "pseudo_ensemble_dice": 0.28715103968797784,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.023,
405
+ "val_dice": 0.5836245726576526,
406
+ "val_vi": 0.6030459611865171,
407
+ "val_ece": 0.05115153999860124
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 216,
412
+ "selection_seconds": 42.1,
413
+ "round_seconds": 464.8,
414
+ "teacher_dice_labeled": [
415
+ 0.3678614412663967,
416
+ 0.13648598384761942,
417
+ 0.15898055108815634,
418
+ 0.24919594486654167,
419
+ 0.13671349199434196,
420
+ 0.3634301167820999,
421
+ 0.37207817186759584,
422
+ 0.4654090843012749
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.38011472038533395,
426
+ 0.18782671866421538,
427
+ 0.1762019359249727,
428
+ 0.335320945586393,
429
+ 0.2141001779587749,
430
+ 0.4985947426940896,
431
+ 0.43097701284546114,
432
+ 0.4516571637763781
433
+ ],
434
+ "evidence_fg_pixels": 3836186,
435
+ "evidence_nonempty_patches": 172,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.08465750023050535,
440
+ 0.0,
441
+ 0.0,
442
+ 0.0,
443
+ 0.0,
444
+ 0.0,
445
+ 0.18614007060340373,
446
+ 0.729202429166091
447
+ ],
448
+ "ensemble_choice": "top3",
449
+ "candidate_dice": {
450
+ "mixture": 0.4550915721689207,
451
+ "uniform": 0.21818578097968497,
452
+ "top1": 0.4654090843012749,
453
+ "top2": 0.474151057114913,
454
+ "top3": 0.4729733104091749
455
+ },
456
+ "pseudo_student_dice": 0.5842168055752709,
457
+ "pseudo_ensemble_dice": 0.6534647165896713,
458
+ "pseudo_source": "ensemble",
459
+ "consistency_scale": 1.0,
460
+ "val_dice": 0.6467763653471634,
461
+ "val_vi": 0.558056933432851,
462
+ "val_ece": 0.05167226492881565
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 288,
467
+ "selection_seconds": 42.1,
468
+ "round_seconds": 204.8,
469
+ "teacher_dice_labeled": [
470
+ 0.35821635711104094,
471
+ 0.09778125362066968,
472
+ 0.17137258333636496,
473
+ 0.1724433457499402,
474
+ 0.05513871750205011,
475
+ 0.2586880798396885,
476
+ 0.3382993663944764,
477
+ 0.4506664101801657
478
+ ],
479
+ "teacher_dice_pool": null,
480
+ "evidence_fg_pixels": 4894951,
481
+ "evidence_nonempty_patches": 240,
482
+ "first_correction": false,
483
+ "restart": "",
484
+ "weights": [
485
+ 0.09163584339119596,
486
+ 0.0,
487
+ 0.0,
488
+ 0.0,
489
+ 0.0,
490
+ 0.0,
491
+ 0.1582808577862576,
492
+ 0.7500832988225464
493
+ ],
494
+ "ensemble_choice": "top3",
495
+ "candidate_dice": {
496
+ "mixture": 0.43443073868488324,
497
+ "uniform": 0.1334549874746405,
498
+ "top1": 0.4506664101801657,
499
+ "top2": 0.4506745268961577,
500
+ "top3": 0.45005077329606585
501
+ },
502
+ "pseudo_student_dice": 0.6440377318350516,
503
+ "pseudo_ensemble_dice": 0.3687653529910971,
504
+ "pseudo_source": "student",
505
+ "consistency_scale": 0.48,
506
+ "val_dice": 0.6458938731498896,
507
+ "val_vi": 0.5368060920046469,
508
+ "val_ece": 0.024876896241767484
509
+ },
510
+ {
511
+ "round": 5,
512
+ "n_labeled": 360,
513
+ "selection_seconds": 42.1,
514
+ "round_seconds": 538.7,
515
+ "teacher_dice_labeled": [
516
+ 0.38013299125106925,
517
+ 0.1355929442454303,
518
+ 0.17720215081782453,
519
+ 0.2539448023511426,
520
+ 0.13333927029771672,
521
+ 0.3683974998441432,
522
+ 0.39580615773577776,
523
+ 0.462093229389536
524
+ ],
525
+ "teacher_dice_pool": [
526
+ 0.38762516986152434,
527
+ 0.16847478642657696,
528
+ 0.17322085467147122,
529
+ 0.3200939826971463,
530
+ 0.211538626877524,
531
+ 0.4602015716310891,
532
+ 0.4350030382843811,
533
+ 0.4713753858291866
534
+ ],
535
+ "evidence_fg_pixels": 6110421,
536
+ "evidence_nonempty_patches": 310,
537
+ "first_correction": false,
538
+ "restart": "",
539
+ "weights": [
540
+ 0.06914616887588221,
541
+ 0.018372132368569834,
542
+ 0.0018311974724859205,
543
+ 0.16070128006889814,
544
+ 0.004570412095666965,
545
+ 0.06525880886321075,
546
+ 0.17048933831294702,
547
+ 0.5096306619423392
548
+ ],
549
+ "ensemble_choice": "mixture",
550
+ "candidate_dice": {
551
+ "mixture": 0.4731747180910907,
552
+ "uniform": 0.22201451964945562,
553
+ "top1": 0.462093229389536,
554
+ "top2": 0.47332982939518164,
555
+ "top3": 0.47240656144828863
556
+ },
557
+ "pseudo_student_dice": 0.6073316378424809,
558
+ "pseudo_ensemble_dice": 0.483669413330306,
559
+ "pseudo_source": "student",
560
+ "consistency_scale": 0.358,
561
+ "val_dice": 0.6548823077127274,
562
+ "val_vi": 0.5238367298145632,
563
+ "val_ece": 0.005050470148968892
564
+ },
565
+ {
566
+ "round": 6,
567
+ "n_labeled": 432,
568
+ "selection_seconds": 42.2,
569
+ "round_seconds": 570.5,
570
+ "teacher_dice_labeled": [
571
+ 0.3924474982027606,
572
+ 0.13520125388940998,
573
+ 0.18469172221338315,
574
+ 0.25488349411404726,
575
+ 0.1294684251406094,
576
+ 0.3729135753452115,
577
+ 0.40291120307243233,
578
+ 0.46865716029759097
579
+ ],
580
+ "teacher_dice_pool": [
581
+ 0.3999496986695009,
582
+ 0.17062220618934187,
583
+ 0.18388714703370632,
584
+ 0.325641113187999,
585
+ 0.20701207561780072,
586
+ 0.47749391841243344,
587
+ 0.43473254729499794,
588
+ 0.4778808675544609
589
+ ],
590
+ "evidence_fg_pixels": 7377505,
591
+ "evidence_nonempty_patches": 375,
592
+ "first_correction": false,
593
+ "restart": "",
594
+ "weights": [
595
+ 0.07373789940615798,
596
+ 0.017254401160920353,
597
+ 0.001860815823363887,
598
+ 0.15294575848580463,
599
+ 0.004145585803265005,
600
+ 0.06437149923884866,
601
+ 0.17258198504016561,
602
+ 0.513102055041474
603
+ ],
604
+ "ensemble_choice": "mixture",
605
+ "candidate_dice": {
606
+ "mixture": 0.479814058220684,
607
+ "uniform": 0.2197636441812369,
608
+ "top1": 0.46865716029759097,
609
+ "top2": 0.48056416983213823,
610
+ "top3": 0.48105135534617427
611
+ },
612
+ "pseudo_student_dice": 0.6586200443659856,
613
+ "pseudo_ensemble_dice": 0.4617141635573474,
614
+ "pseudo_source": "student",
615
+ "consistency_scale": 0.529,
616
+ "val_dice": 0.6593283705355009,
617
+ "val_vi": 0.5304568455956489,
618
+ "val_ece": 0.01068904340930946
619
+ },
620
+ {
621
+ "round": 7,
622
+ "n_labeled": 432,
623
+ "selection_seconds": 0.0,
624
+ "round_seconds": 287.9,
625
+ "final_consolidation": true,
626
+ "val_dice": 0.6656920404478153,
627
+ "val_vi": 0.5277453584741619,
628
+ "val_ece": 0.014463817565412058
629
+ }
630
+ ],
631
+ "uncertainty_quality": {
632
+ "spearman_uncertainty_error": -0.5377973366328569,
633
+ "auroc_top20_error": 0.224696484375
634
+ },
635
+ "al_seconds": 3110.5,
636
+ "source_archs": [
637
+ "unet",
638
+ "unet",
639
+ "unet",
640
+ "unet",
641
+ "unet",
642
+ "unet",
643
+ "unet",
644
+ "unet"
645
+ ],
646
+ "alphas_final": [
647
+ 0.07373789940615798,
648
+ 0.017254401160920353,
649
+ 0.001860815823363887,
650
+ 0.15294575848580463,
651
+ 0.004145585803265005,
652
+ 0.06437149923884866,
653
+ 0.17258198504016561,
654
+ 0.513102055041474
655
+ ],
656
+ "weight_stats_final": {
657
+ "max_weight": 0.513102055041474,
658
+ "entropy": 1.4060874658688964,
659
+ "effective_sources": 4.079961148192515,
660
+ "min_weight": 0.001860815823363887
661
+ },
662
+ "top_source_final": "whole-mouse-brain",
663
+ "ensemble_choice_final": "",
664
+ "restart": "kept",
665
+ "test_raw_student": {
666
+ "patch_dice": 0.675490319683645,
667
+ "patch_iou": 0.568467878690645,
668
+ "patch_precision": 0.7172071866334969,
669
+ "patch_recall": 0.7691740397507477,
670
+ "patch_vi": 0.44435762694673336,
671
+ "n_patches": 2883,
672
+ "cal_ece": 0.011123024071693167,
673
+ "cal_nll": 0.20394394839630497,
674
+ "cal_brier": 0.060213044436333046,
675
+ "cal_mean_confidence": 0.9296774405866081,
676
+ "cal_accuracy": 0.918554416514915,
677
+ "cal_predicted_prevalence": 0.21542230315643426,
678
+ "cal_true_prevalence": 0.23013442215140478,
679
+ "cal_mean_probability": 0.22161547074418342
680
+ },
681
+ "test_notta": {
682
+ "patch_dice": 0.675490319683645,
683
+ "patch_iou": 0.568467878690645,
684
+ "patch_precision": 0.7172071866334969,
685
+ "patch_recall": 0.7691740397507477,
686
+ "patch_vi": 0.44435762694673336,
687
+ "n_patches": 2883,
688
+ "cal_ece": 0.011123024071693167,
689
+ "cal_nll": 0.20394394839630497,
690
+ "cal_brier": 0.060213044436333046,
691
+ "cal_mean_confidence": 0.9296774405866081,
692
+ "cal_accuracy": 0.918554416514915,
693
+ "cal_predicted_prevalence": 0.21542230315643426,
694
+ "cal_true_prevalence": 0.23013442215140478,
695
+ "cal_mean_probability": 0.22161547074418342
696
+ },
697
+ "test": {
698
+ "patch_dice": 0.7316377151657691,
699
+ "patch_iou": 0.6303840026333201,
700
+ "patch_precision": 0.7850571730891608,
701
+ "patch_recall": 0.7817328455606284,
702
+ "patch_vi": 0.4133368944747202,
703
+ "n_patches": 2883,
704
+ "image_dice": 0.8189727425328098,
705
+ "image_iou": 0.6966907438405338,
706
+ "image_precision": 0.8641969001002137,
707
+ "image_recall": 0.7815801609355528,
708
+ "image_vi": 0.4620376655571004,
709
+ "n_images": 3,
710
+ "cal_ece": 0.0031798602784341846,
711
+ "cal_nll": 0.18247887747829966,
712
+ "cal_brier": 0.05429650188685861,
713
+ "cal_mean_confidence": 0.9227941310674863,
714
+ "cal_accuracy": 0.9259042094823101,
715
+ "cal_predicted_prevalence": 0.21568583615157821,
716
+ "cal_true_prevalence": 0.23013442215140478,
717
+ "cal_mean_probability": 0.22487676152217542
718
+ },
719
+ "eval_seconds": 150.8,
720
+ "total_seconds": 4494.7,
721
+ "resources": {
722
+ "phases": {
723
+ "setup": {
724
+ "seconds": 1.57,
725
+ "peak_cpu_rss_mb": 2160.6,
726
+ "peak_gpu_alloc_mb": 1066.3,
727
+ "peak_gpu_reserved_mb": 1086.0
728
+ },
729
+ "features_and_weights": {
730
+ "seconds": 85.57,
731
+ "peak_cpu_rss_mb": 4184.1,
732
+ "peak_gpu_alloc_mb": 2820.1,
733
+ "peak_gpu_reserved_mb": 3212.0
734
+ },
735
+ "distillation": {
736
+ "seconds": 1139.29,
737
+ "peak_cpu_rss_mb": 5957.0,
738
+ "peak_gpu_alloc_mb": 4300.6,
739
+ "peak_gpu_reserved_mb": 4598.0,
740
+ "kd_epochs": 5
741
+ },
742
+ "active_learning": {
743
+ "seconds": 3110.53,
744
+ "peak_cpu_rss_mb": 5957.0,
745
+ "peak_gpu_alloc_mb": 4420.9,
746
+ "peak_gpu_reserved_mb": 4642.0,
747
+ "rounds": 6
748
+ },
749
+ "inference": {
750
+ "seconds": 150.79,
751
+ "peak_cpu_rss_mb": 5957.0,
752
+ "peak_gpu_alloc_mb": 2623.4,
753
+ "peak_gpu_reserved_mb": 4644.0,
754
+ "patches": 2883,
755
+ "images": 3,
756
+ "patches_per_second": 19.1,
757
+ "seconds_per_image": 50.263
758
+ }
759
+ },
760
+ "peak_gpu_alloc_mb": 4420.9,
761
+ "peak_cpu_rss_mb": 5957.0,
762
+ "total_seconds": 4487.8
763
+ },
764
+ "student_parameters": 31042369,
765
+ "teacher_parameters": [
766
+ 31042369,
767
+ 31042369,
768
+ 31042369,
769
+ 31042369,
770
+ 31042369,
771
+ 31042369,
772
+ 31042369,
773
+ 31042369
774
+ ],
775
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-entropy_b5_s1.pth"
776
+ }
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-entropy/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,72,124.6,859.5,"[0.423321230947482, 0.15747034038174015, 0.1937080422460344, 0.30535734387879976, 0.16796457367489764, 0.4355867030005887, 0.4106488934816602, 0.480569706780208]",,1139017,61,True,kept,0.24208465449533073,0.480569706780208,"[0.07916149016146976, 0.016996268628103182, 0.0016054657774156285, 0.19974819501005328, 0.004803002789714615, 0.09497730470154105, 0.14700770716957254, 0.4557005657621298]",mixture,"{'mixture': 0.547725247586474, 'uniform': 0.2700913480165708, 'top1': 0.480569706780208, 'top2': 0.4919855915340812, 'top3': 0.4986229536904216}",0.6203974319004413,0.6482077865842528,0.04038987229168493,,,,,
3
+ 2,144,42.1,142.0,"[0.3121220380549426, 0.11784411213032195, 0.16213463696136268, 0.21973314935568444, 0.10574009869144996, 0.3155480158339058, 0.3603575734043396, 0.3678067279431099]",,1961159,104,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.10788468470323365, 0.3354200554780413, 0.5566952598187249]",top3,"{'mixture': 0.3879878504056142, 'uniform': 0.18391130588268922, 'top1': 0.3678067279431099, 'top2': 0.39948449736175295, 'top3': 0.4246588769388564}",0.5836245726576526,0.6030459611865171,0.05115153999860124,0.506870089555582,0.28715103968797784,student,0.023,
4
+ 3,216,42.1,464.8,"[0.3678614412663967, 0.13648598384761942, 0.15898055108815634, 0.24919594486654167, 0.13671349199434196, 0.3634301167820999, 0.37207817186759584, 0.4654090843012749]","[0.38011472038533395, 0.18782671866421538, 0.1762019359249727, 0.335320945586393, 0.2141001779587749, 0.4985947426940896, 0.43097701284546114, 0.4516571637763781]",3836186,172,False,,,,"[0.08465750023050535, 0.0, 0.0, 0.0, 0.0, 0.0, 0.18614007060340373, 0.729202429166091]",top3,"{'mixture': 0.4550915721689207, 'uniform': 0.21818578097968497, 'top1': 0.4654090843012749, 'top2': 0.474151057114913, 'top3': 0.4729733104091749}",0.6467763653471634,0.558056933432851,0.05167226492881565,0.5842168055752709,0.6534647165896713,ensemble,1.0,
5
+ 4,288,42.1,204.8,"[0.35821635711104094, 0.09778125362066968, 0.17137258333636496, 0.1724433457499402, 0.05513871750205011, 0.2586880798396885, 0.3382993663944764, 0.4506664101801657]",,4894951,240,False,,,,"[0.09163584339119596, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1582808577862576, 0.7500832988225464]",top3,"{'mixture': 0.43443073868488324, 'uniform': 0.1334549874746405, 'top1': 0.4506664101801657, 'top2': 0.4506745268961577, 'top3': 0.45005077329606585}",0.6458938731498896,0.5368060920046469,0.024876896241767484,0.6440377318350516,0.3687653529910971,student,0.48,
6
+ 5,360,42.1,538.7,"[0.38013299125106925, 0.1355929442454303, 0.17720215081782453, 0.2539448023511426, 0.13333927029771672, 0.3683974998441432, 0.39580615773577776, 0.462093229389536]","[0.38762516986152434, 0.16847478642657696, 0.17322085467147122, 0.3200939826971463, 0.211538626877524, 0.4602015716310891, 0.4350030382843811, 0.4713753858291866]",6110421,310,False,,,,"[0.06914616887588221, 0.018372132368569834, 0.0018311974724859205, 0.16070128006889814, 0.004570412095666965, 0.06525880886321075, 0.17048933831294702, 0.5096306619423392]",mixture,"{'mixture': 0.4731747180910907, 'uniform': 0.22201451964945562, 'top1': 0.462093229389536, 'top2': 0.47332982939518164, 'top3': 0.47240656144828863}",0.6548823077127274,0.5238367298145632,0.005050470148968892,0.6073316378424809,0.483669413330306,student,0.358,
7
+ 6,432,42.2,570.5,"[0.3924474982027606, 0.13520125388940998, 0.18469172221338315, 0.25488349411404726, 0.1294684251406094, 0.3729135753452115, 0.40291120307243233, 0.46865716029759097]","[0.3999496986695009, 0.17062220618934187, 0.18388714703370632, 0.325641113187999, 0.20701207561780072, 0.47749391841243344, 0.43473254729499794, 0.4778808675544609]",7377505,375,False,,,,"[0.07373789940615798, 0.017254401160920353, 0.001860815823363887, 0.15294575848580463, 0.004145585803265005, 0.06437149923884866, 0.17258198504016561, 0.513102055041474]",mixture,"{'mixture': 0.479814058220684, 'uniform': 0.2197636441812369, 'top1': 0.46865716029759097, 'top2': 0.48056416983213823, 'top3': 0.48105135534617427}",0.6593283705355009,0.5304568455956489,0.01068904340930946,0.6586200443659856,0.4617141635573474,student,0.529,
8
+ 7,432,0.0,287.9,,,,,,,,,,,,0.6656920404478153,0.5277453584741619,0.014463817565412058,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [05:04:49][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-entropy budget=5.0% seed=1 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "variant": "macs-v11-norestart-acq-entropy", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "entropy", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [05:04:49][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [05:04:49][ 0s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [05:04:51][ 2s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, snemi=3.55, mouse-brain=4.07
5
+ [05:04:51][ 3s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [05:04:58][ 9s][WEIGHTS] mixture: c-elegans=0.099, cerebellum=0.029, flywire=0.007, berghia=0.148, microns=0.032, oct-glia=0.636, snemi=0.019, mouse-brain=0.031 | eff.sources=3.41 | MMD2 mix=0.0128 uniform=0.0970
7
+ [05:04:58][ 9s][WEIGHTS] per-source: c-elegans=0.320, cerebellum=0.017, flywire=0.001, berghia=0.175, microns=0.027, oct-glia=0.436, snemi=0.017, mouse-brain=0.007 | min-MMD source (NeuroADDA rule) = oct-glia
8
+ [05:05:53][ 65s][TEACHERS] target-val Dice: c-elegans=0.476, cerebellum=0.633, flywire=0.142, berghia=0.467, microns=0.708, oct-glia=0.845, snemi=0.229, mouse-brain=0.115
9
+ [05:05:53][ 65s][TEACHERS] ensemble target-val Dice: mixture=0.849, mixture@raw=0.847, mixture@logit=0.850, per_source=0.843, per_source@raw=0.619, per_source@logit=0.848, uniform=0.718, uniform@raw=0.677, uniform@logit=0.807
10
+ [05:05:53][ 65s][WEIGHTS] using mixture: c-elegans=0.099, cerebellum=0.029, flywire=0.007, berghia=0.148, microns=0.032, oct-glia=0.636, snemi=0.019, mouse-brain=0.031
11
+ [05:05:53][ 65s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [05:05:57][ 68s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [05:05:57][ 68s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [05:08:22][ 214s][KD] soft labels for 3584 patches from 8 teachers in 146s
15
+ [05:10:09][ 320s][KD] epoch 1/5 | patches=3584 | loss=0.5720 | 106s
16
+ [05:11:55][ 427s][KD] epoch 2/5 | patches=3584 | loss=0.4388 | 106s
17
+ [05:13:42][ 533s][KD] epoch 3/5 | patches=3584 | loss=0.4006 | 106s
18
+ [05:15:28][ 640s][KD] epoch 4/5 | patches=3584 | loss=0.3569 | 107s
19
+ [05:17:15][ 746s][KD] epoch 5/5 | patches=3584 | loss=0.3310 | 106s
20
+ [05:17:19][ 751s][ROUND0] before any target label: val_dice=0.8502 val_vi=0.1470
21
+ [05:17:19][ 751s][AL] patches=3584 (pool 2338 after dropping blank; free blank negatives: True) | budget=179 (5.0%) | rounds=6 | per_round=29 | acquisition=entropy | first_round=stratified
22
+ [05:17:32][ 763s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': 0.44560086267226684, 'auroc_top20_error': 0.593673156908451}
23
+ [05:18:54][ 845s][AL] round 1: stratified cold start: 15 patches from the membrane-rich half (ensemble prevalence >= 0.192) + 14 from the membrane-poor half of 2000 candidates
24
+ [05:19:03][ 854s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.731, uniform=0.739, top1=0.731, top2=0.731, top3=0.731 -> using uniform
25
+ [05:19:04][ 855s][WEIGHTS] round 1: student kept (labeled Dice 0.750 vs best teacher oct-glia 0.731); distilling the corrected ensemble into it
26
+ [05:19:04][ 855s][WEIGHTS] round 1: teacher Dice on 29 labeled patches + 29 blank (237130 fg px): c-elegans=0.296, cerebellum=0.619, flywire=0.196, berghia=0.330, microns=0.551, oct-glia=0.731, snemi=0.151, mouse-brain=0.234 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
27
+ [05:20:38][ 949s][KD] soft labels for 2309 patches from 8 teachers in 94s
28
+ [05:21:47][ 1018s][KD] epoch 1/2 | patches=2309 | loss=0.7212 | 69s
29
+ [05:22:55][ 1087s][KD] epoch 2/2 | patches=2309 | loss=0.6145 | 69s
30
+ [05:24:17][ 1169s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 82s
31
+ [05:24:22][ 1173s][FT] round 1/6 epoch 1/5 | patches=58 | loss=1.4306
32
+ [05:24:26][ 1177s][FT] round 1/6 epoch 2/5 | patches=58 | loss=1.3428
33
+ [05:24:30][ 1182s][FT] round 1/6 epoch 3/5 | patches=58 | loss=1.3158
34
+ [05:24:35][ 1186s][FT] round 1/6 epoch 4/5 | patches=58 | loss=1.2565
35
+ [05:24:39][ 1190s][FT] round 1/6 epoch 5/5 | patches=58 | loss=1.3613
36
+ [05:24:44][ 1195s][AL] round 1/6 | labeled=29 | selection_seconds=94.3000 round_seconds=439.9000 restart_student_dice=0.7496 restart_teacher_dice=0.7308 val_dice=0.3973 val_vi=0.1807 val_ece=0.0784
37
+ [05:24:56][ 1207s][AL] round 2: 518/2309 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [05:25:14][ 1225s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.588, uniform=0.611, top1=0.588, top2=0.587, top3=0.587 -> using uniform
39
+ [05:25:14][ 1225s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (646819 fg px): c-elegans=0.348, cerebellum=0.462, flywire=0.176, berghia=0.317, microns=0.481, oct-glia=0.588, snemi=0.179, mouse-brain=0.323 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
40
+ [05:25:30][ 1242s][CONS] round 2: on the 29 new patches student Dice=0.611 vs ensemble 0.523 -> pseudo-labels from the student | consistency x0.37
41
+ [05:25:38][ 1249s][FT] round 2/6 epoch 1/5 | patches=116 | loss=1.0340
42
+ [05:25:46][ 1257s][FT] round 2/6 epoch 2/5 | patches=116 | loss=1.0324
43
+ [05:25:54][ 1265s][FT] round 2/6 epoch 3/5 | patches=116 | loss=0.9938
44
+ [05:26:01][ 1273s][FT] round 2/6 epoch 4/5 | patches=116 | loss=0.9853
45
+ [05:26:09][ 1280s][FT] round 2/6 epoch 5/5 | patches=116 | loss=0.9211
46
+ [05:26:14][ 1285s][AL] round 2/6 | labeled=58 | selection_seconds=12.5000 round_seconds=85.6000 pseudo_student_dice=0.6108 pseudo_ensemble_dice=0.5226 consistency_scale=0.3690 val_dice=0.6369 val_vi=0.1633 val_ece=0.0094
47
+ [05:26:26][ 1297s][AL] round 3: 566/2280 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [05:29:13][ 1465s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.441, cerebellum=0.666, flywire=0.237, berghia=0.399, microns=0.581, oct-glia=0.806, snemi=0.334, mouse-brain=0.310 | blended with labeled Dice at 0.50
49
+ [05:31:51][ 1622s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.692, uniform=0.709, top1=0.692, top2=0.692, top3=0.691 -> using uniform
50
+ [05:31:51][ 1622s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (1020182 fg px): c-elegans=0.388, cerebellum=0.565, flywire=0.205, berghia=0.354, microns=0.525, oct-glia=0.692, snemi=0.257, mouse-brain=0.318 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
51
+ [05:32:07][ 1639s][CONS] round 3: on the 29 new patches student Dice=0.685 vs ensemble 0.565 -> pseudo-labels from the student | consistency x0.62
52
+ [05:32:18][ 1650s][FT] round 3/6 epoch 1/5 | patches=174 | loss=0.9333
53
+ [05:32:29][ 1661s][FT] round 3/6 epoch 2/5 | patches=174 | loss=0.9096
54
+ [05:32:41][ 1672s][FT] round 3/6 epoch 3/5 | patches=174 | loss=0.8885
55
+ [05:32:52][ 1683s][FT] round 3/6 epoch 4/5 | patches=174 | loss=0.8886
56
+ [05:33:03][ 1694s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.8893
57
+ [05:33:07][ 1698s][AL] round 3/6 | labeled=87 | selection_seconds=12.3000 round_seconds=409.1000 pseudo_student_dice=0.6845 pseudo_ensemble_dice=0.5650 consistency_scale=0.6150 val_dice=0.8477 val_vi=0.1608 val_ece=0.0074
58
+ [05:33:19][ 1710s][AL] round 4: 568/2251 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [05:36:11][ 1882s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.447, cerebellum=0.668, flywire=0.234, berghia=0.398, microns=0.567, oct-glia=0.791, snemi=0.341, mouse-brain=0.320 | blended with labeled Dice at 0.50
60
+ [05:38:54][ 2045s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.699, uniform=0.708, top1=0.698, top2=0.699, top3=0.698 -> using uniform
61
+ [05:38:54][ 2045s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (1253998 fg px): c-elegans=0.367, cerebellum=0.569, flywire=0.206, berghia=0.348, microns=0.519, oct-glia=0.698, snemi=0.259, mouse-brain=0.300 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
62
+ [05:39:10][ 2061s][CONS] round 4: on the 29 new patches student Dice=0.717 vs ensemble 0.649 -> pseudo-labels from the student | consistency x0.72
63
+ [05:39:24][ 2076s][FT] round 4/6 epoch 1/5 | patches=232 | loss=0.8830
64
+ [05:39:39][ 2090s][FT] round 4/6 epoch 2/5 | patches=232 | loss=0.8655
65
+ [05:39:53][ 2104s][FT] round 4/6 epoch 3/5 | patches=232 | loss=0.8936
66
+ [05:40:08][ 2119s][FT] round 4/6 epoch 4/5 | patches=232 | loss=0.8549
67
+ [05:40:22][ 2133s][FT] round 4/6 epoch 5/5 | patches=232 | loss=0.7787
68
+ [05:40:26][ 2138s][AL] round 4/6 | labeled=116 | selection_seconds=12.2000 round_seconds=434.8000 pseudo_student_dice=0.7174 pseudo_ensemble_dice=0.6485 consistency_scale=0.7250 val_dice=0.8907 val_vi=0.1518 val_ece=0.0106
69
+ [05:40:38][ 2149s][AL] round 5: 572/2222 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [05:43:34][ 2326s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.428, cerebellum=0.669, flywire=0.232, berghia=0.383, microns=0.566, oct-glia=0.815, snemi=0.326, mouse-brain=0.303 | blended with labeled Dice at 0.50
71
+ [05:46:21][ 2492s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.698, uniform=0.702, top1=0.698, top2=0.699, top3=0.698 -> using mixture
72
+ [05:46:21][ 2492s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (1654235 fg px): c-elegans=0.367, cerebellum=0.566, flywire=0.204, berghia=0.340, microns=0.509, oct-glia=0.698, snemi=0.254, mouse-brain=0.298 | weights: c-elegans=0.005, cerebellum=0.012, flywire=0.000, berghia=0.006, microns=0.007, oct-glia=0.968, snemi=0.000, mouse-brain=0.001
73
+ [05:46:37][ 2508s][CONS] round 5: on the 29 new patches student Dice=0.783 vs ensemble 0.496 -> pseudo-labels from the student | consistency x0.94
74
+ [05:46:55][ 2526s][FT] round 5/6 epoch 1/5 | patches=290 | loss=0.7943
75
+ [05:47:13][ 2544s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.7149
76
+ [05:47:31][ 2562s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.6657
77
+ [05:47:49][ 2580s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.7386
78
+ [05:48:07][ 2598s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.5905
79
+ [05:48:11][ 2603s][AL] round 5/6 | labeled=145 | selection_seconds=12.0000 round_seconds=460.5000 pseudo_student_dice=0.7831 pseudo_ensemble_dice=0.4959 consistency_scale=0.9440 val_dice=0.8796 val_vi=0.1516 val_ece=0.0127
80
+ [05:48:23][ 2614s][AL] round 6: 561/2193 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [05:51:24][ 2796s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.432, cerebellum=0.673, flywire=0.240, berghia=0.391, microns=0.593, oct-glia=0.838, snemi=0.311, mouse-brain=0.294 | blended with labeled Dice at 0.50
82
+ [05:54:16][ 2967s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.681, uniform=0.689, top1=0.680, top2=0.681, top3=0.680 -> using uniform
83
+ [05:54:16][ 2967s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (2203858 fg px): c-elegans=0.356, cerebellum=0.551, flywire=0.203, berghia=0.333, microns=0.501, oct-glia=0.680, snemi=0.258, mouse-brain=0.289 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
84
+ [05:54:32][ 2983s][CONS] round 6: on the 29 new patches student Dice=0.586 vs ensemble 0.339 -> pseudo-labels from the student | consistency x0.29
85
+ [05:54:53][ 3004s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.6190
86
+ [05:55:14][ 3026s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.5244
87
+ [05:55:36][ 3047s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.6222
88
+ [05:55:57][ 3068s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.4741
89
+ [05:56:18][ 3090s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.5008
90
+ [05:56:23][ 3094s][AL] round 6/6 | labeled=174 | selection_seconds=11.9000 round_seconds=487.1000 pseudo_student_dice=0.5858 pseudo_ensemble_dice=0.3394 consistency_scale=0.2860 val_dice=0.8889 val_vi=0.1497 val_ece=0.0118
91
+ [05:56:33][ 3104s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [05:56:54][ 3125s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.4606
93
+ [05:57:15][ 3146s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.4388
94
+ [05:57:36][ 3168s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.4371
95
+ [05:57:58][ 3189s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.4126
96
+ [05:58:19][ 3210s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.3581
97
+ [05:58:40][ 3231s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.3504
98
+ [05:59:01][ 3253s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.3270
99
+ [05:59:23][ 3274s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.3318
100
+ [05:59:44][ 3295s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.3389
101
+ [06:00:05][ 3317s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.3184
102
+ [06:00:10][ 3321s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=222.6000 val_dice=0.8926 val_vi=0.1435 val_ece=0.0113
103
+ [06:00:10][ 3321s][WEIGHTS] final: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
104
+ [06:00:46][ 3357s][TEST] raw student (no EMA, no TTA): patch_dice=0.8728 patch_vi=0.1771
105
+ [06:00:50][ 3362s][TEST] final model without TTA: patch_dice=0.8728 patch_vi=0.1771
106
+ [06:00:50][ 3362s][RESOURCES] {"phases": {"setup": {"seconds": 1.48, "peak_cpu_rss_mb": 2173.9, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 65.54, "peak_cpu_rss_mb": 4182.5, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 678.3, "peak_cpu_rss_mb": 5201.6, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4598.0, "kd_epochs": 5}, "active_learning": {"seconds": 2570.54, "peak_cpu_rss_mb": 5201.6, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4606.0, "rounds": 6}, "inference": {"seconds": 40.49, "peak_cpu_rss_mb": 5201.6, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4606.0, "patches": 768, "images": 6, "patches_per_second": 19.0, "seconds_per_image": 6.748}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5201.6, "total_seconds": 3356.3}
107
+ [06:00:50][ 3362s][TEST] patch_dice=0.8733 patch_iou=0.8121 patch_precision=0.8897 patch_recall=0.8868 patch_vi=0.1731 image_dice=0.8078 image_iou=0.6844 image_precision=0.7892 image_recall=0.8329 image_vi=0.1954 cal_ece=0.0053 cal_nll=0.0703 cal_brier=0.0211 cal_mean_confidence=0.9763 cal_accuracy=0.9711 cal_predicted_prevalence=0.0766 cal_true_prevalence=0.0718 cal_mean_probability=0.0757
108
+ [06:00:51][ 3362s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-entropy b5 s1 | test patch Dice=0.8733 VI=0.1731 | image Dice=0.8078 VI=0.1954 | 3362s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-entropy",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
9
+ "variant": "macs-v11-norestart-acq-entropy",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "entropy",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "octopus-vulgaris-vertical-lobe-sfltract",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-entropy",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "snemi3d",
150
+ "whole-mouse-brain"
151
+ ],
152
+ "alphas": [
153
+ 0.09888716021456875,
154
+ 0.02852231397957182,
155
+ 0.006877159468562143,
156
+ 0.147623932500446,
157
+ 0.03162958721157525,
158
+ 0.636412589592954,
159
+ 0.019031438719961654,
160
+ 0.031015818312360402
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "snemi3d",
171
+ "whole-mouse-brain"
172
+ ],
173
+ "mixture": [
174
+ 0.09888716021456875,
175
+ 0.02852231397957182,
176
+ 0.006877159468562143,
177
+ 0.147623932500446,
178
+ 0.03162958721157525,
179
+ 0.636412589592954,
180
+ 0.019031438719961654,
181
+ 0.031015818312360402
182
+ ],
183
+ "per_source": [
184
+ 0.3196471036584027,
185
+ 0.016524109438155077,
186
+ 0.0007715730533314212,
187
+ 0.17539928949217498,
188
+ 0.027481458110301667,
189
+ 0.4363205819091585,
190
+ 0.016643531248023022,
191
+ 0.007212353090452595
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.00048686699692031786,
205
+ "mmd2_mixture": 0.012755679331756475,
206
+ "mmd2_uniform": 0.09698314484068699,
207
+ "mmd2_single_source": [
208
+ 0.07244562949164945,
209
+ 0.2568973175367495,
210
+ 0.39290896557558747,
211
+ 0.05287206442937192,
212
+ 0.2649845830320105,
213
+ 0.011934176639413208,
214
+ 0.33925886828153656,
215
+ 0.26844309711822195
216
+ ],
217
+ "median_squared_distance": 0.1834397705913593,
218
+ "gammas": [
219
+ 1.3628451409095685,
220
+ 2.725690281819137,
221
+ 5.451380563638274,
222
+ 10.902761127276548,
223
+ 21.805522254553097
224
+ ],
225
+ "max_weight": 0.636412589592954,
226
+ "entropy": 1.2268812334836157,
227
+ "effective_sources": 3.4105761415276636,
228
+ "min_weight": 0.006877159468562143
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.049620160284728154,
233
+ 0.42663804362685775,
234
+ 0.8166050888075048,
235
+ 0.12600028070223912,
236
+ 0.36189803378480956,
237
+ 0.01001954120360149,
238
+ 0.42572157074448214,
239
+ 0.5321462950254623
240
+ ],
241
+ "standardized": [
242
+ -1.1548909896059252,
243
+ 0.32630755724364063,
244
+ 1.8583797643241364,
245
+ -0.8548147110811022,
246
+ 0.07196204012648774,
247
+ -1.3104708228948398,
248
+ 0.3227069898393355,
249
+ 0.740820172048267
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363205819091585,
253
+ "entropy": 1.3076009419864412,
254
+ "effective_sources": 3.6972930433455575,
255
+ "min_weight": 0.0007715730533314212
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.6
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.47571341080584045,
265
+ 0.6329400594773938,
266
+ 0.1419064245794933,
267
+ 0.4669233743357945,
268
+ 0.7079863797747427,
269
+ 0.8450584862058909,
270
+ 0.22902171788078127,
271
+ 0.11473171105409108
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8488016622672679,
275
+ "mixture@raw": 0.8468775415451569,
276
+ "mixture@logit": 0.8498181877900208,
277
+ "per_source": 0.8430718482924652,
278
+ "per_source@raw": 0.6192917168334541,
279
+ "per_source@logit": 0.8479512124278182,
280
+ "uniform": 0.7183086201637726,
281
+ "uniform@raw": 0.6771618878909939,
282
+ "uniform@logit": 0.8065091143369424
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 3.547258138656616,
294
+ 4.074584007263184
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.636412589592954,
299
+ "entropy": 1.2268812334836157,
300
+ "effective_sources": 3.4105761415276636,
301
+ "min_weight": 0.006877159468562143
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.5952380952380953,
305
+ "spearman_weight_taxonomy": 0.6257415691925263,
306
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
307
+ "top_source_is_best_teacher": true
308
+ },
309
+ "init_teacher": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.34765625,
312
+ "kd_seconds": 678.3,
313
+ "round0_val": {
314
+ "val_dice": 0.8502116365713305,
315
+ "val_vi": 0.1469760206899403,
316
+ "val_ece": 0.06606864095266592
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 94.3,
323
+ "round_seconds": 439.9,
324
+ "teacher_dice_labeled": [
325
+ 0.29568020341690904,
326
+ 0.6193671974528233,
327
+ 0.19588368058977745,
328
+ 0.33035580668548686,
329
+ 0.5508702113809155,
330
+ 0.7308332381787659,
331
+ 0.15051414530012766,
332
+ 0.23402934928630323
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 237130,
336
+ "evidence_nonempty_patches": 23,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.749598658200551,
340
+ "restart_teacher_dice": 0.7308332381787659,
341
+ "weights": [
342
+ 0.125,
343
+ 0.125,
344
+ 0.125,
345
+ 0.125,
346
+ 0.125,
347
+ 0.125,
348
+ 0.125,
349
+ 0.125
350
+ ],
351
+ "ensemble_choice": "uniform",
352
+ "candidate_dice": {
353
+ "mixture": 0.7308488562528247,
354
+ "uniform": 0.7388948429036649,
355
+ "top1": 0.7308332381787659,
356
+ "top2": 0.7311335062716425,
357
+ "top3": 0.7306909902224555
358
+ },
359
+ "val_dice": 0.39731069928710405,
360
+ "val_vi": 0.18067060453166736,
361
+ "val_ece": 0.07838129414619284
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 12.5,
367
+ "round_seconds": 85.6,
368
+ "teacher_dice_labeled": [
369
+ 0.3476127955077974,
370
+ 0.4623686045382735,
371
+ 0.1755232866300641,
372
+ 0.31664754608108453,
373
+ 0.48104076607485885,
374
+ 0.5880462888045375,
375
+ 0.1790241268093611,
376
+ 0.32257295870994507
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 646819,
380
+ "evidence_nonempty_patches": 51,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.125,
385
+ 0.125,
386
+ 0.125,
387
+ 0.125,
388
+ 0.125,
389
+ 0.125,
390
+ 0.125,
391
+ 0.125
392
+ ],
393
+ "ensemble_choice": "uniform",
394
+ "candidate_dice": {
395
+ "mixture": 0.5883446508492198,
396
+ "uniform": 0.6113743713600025,
397
+ "top1": 0.5880462888045375,
398
+ "top2": 0.5871022090819282,
399
+ "top3": 0.587255051506554
400
+ },
401
+ "pseudo_student_dice": 0.6107994294456149,
402
+ "pseudo_ensemble_dice": 0.5225904590692428,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.369,
405
+ "val_dice": 0.6369395682370388,
406
+ "val_vi": 0.16326645853342284,
407
+ "val_ece": 0.009399857270229506
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 12.3,
413
+ "round_seconds": 409.1,
414
+ "teacher_dice_labeled": [
415
+ 0.3880088072732191,
416
+ 0.565341164182688,
417
+ 0.20471024332465787,
418
+ 0.35380388386182804,
419
+ 0.5253267179901164,
420
+ 0.6915026222402474,
421
+ 0.2565538563065365,
422
+ 0.3179727238418305
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.4412735330757333,
426
+ 0.6659325718988698,
427
+ 0.2372073842200266,
428
+ 0.39943171418340423,
429
+ 0.5811530177876038,
430
+ 0.8057331885912369,
431
+ 0.33433901329823956,
432
+ 0.3096649357020063
433
+ ],
434
+ "evidence_fg_pixels": 1020182,
435
+ "evidence_nonempty_patches": 80,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.125,
440
+ 0.125,
441
+ 0.125,
442
+ 0.125,
443
+ 0.125,
444
+ 0.125,
445
+ 0.125,
446
+ 0.125
447
+ ],
448
+ "ensemble_choice": "uniform",
449
+ "candidate_dice": {
450
+ "mixture": 0.6919442120407975,
451
+ "uniform": 0.7091946157908361,
452
+ "top1": 0.6915026222402474,
453
+ "top2": 0.6921985279311229,
454
+ "top3": 0.6912061210138836
455
+ },
456
+ "pseudo_student_dice": 0.6845415260994039,
457
+ "pseudo_ensemble_dice": 0.5650033092900414,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.615,
460
+ "val_dice": 0.8476713037914542,
461
+ "val_vi": 0.1607710772373184,
462
+ "val_ece": 0.007436648340219965
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 116,
467
+ "selection_seconds": 12.2,
468
+ "round_seconds": 434.8,
469
+ "teacher_dice_labeled": [
470
+ 0.3669914562867691,
471
+ 0.5693699554122069,
472
+ 0.2055175935989612,
473
+ 0.347743730912508,
474
+ 0.5187721250757013,
475
+ 0.6984750534228014,
476
+ 0.2589420340565617,
477
+ 0.3004582926329548
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.44670708753866184,
481
+ 0.667642860577924,
482
+ 0.23361163069008736,
483
+ 0.39822489431136593,
484
+ 0.5667288786894037,
485
+ 0.7912791062085153,
486
+ 0.3405437241505429,
487
+ 0.32008342376085336
488
+ ],
489
+ "evidence_fg_pixels": 1253998,
490
+ "evidence_nonempty_patches": 108,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.125,
495
+ 0.125,
496
+ 0.125,
497
+ 0.125,
498
+ 0.125,
499
+ 0.125,
500
+ 0.125,
501
+ 0.125
502
+ ],
503
+ "ensemble_choice": "uniform",
504
+ "candidate_dice": {
505
+ "mixture": 0.6988568524984016,
506
+ "uniform": 0.7081510561372487,
507
+ "top1": 0.6984750534228014,
508
+ "top2": 0.6991990657433986,
509
+ "top3": 0.6983183514463073
510
+ },
511
+ "pseudo_student_dice": 0.717398226943492,
512
+ "pseudo_ensemble_dice": 0.6485005341745833,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.725,
515
+ "val_dice": 0.8906511127825961,
516
+ "val_vi": 0.15183013964667516,
517
+ "val_ece": 0.010564493907424609
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 145,
522
+ "selection_seconds": 12.0,
523
+ "round_seconds": 460.5,
524
+ "teacher_dice_labeled": [
525
+ 0.3668099150383525,
526
+ 0.5657863433890937,
527
+ 0.20371422005742845,
528
+ 0.3401057868287816,
529
+ 0.508806826757005,
530
+ 0.6980405494858268,
531
+ 0.254115069915782,
532
+ 0.2978415150971249
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.4282138051931642,
536
+ 0.668509289478364,
537
+ 0.23248299174518863,
538
+ 0.38337992924291425,
539
+ 0.5661442227675124,
540
+ 0.8152971118400434,
541
+ 0.32553445749354537,
542
+ 0.3033784254312041
543
+ ],
544
+ "evidence_fg_pixels": 1654235,
545
+ "evidence_nonempty_patches": 137,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.005480660578475023,
550
+ 0.011561692285882852,
551
+ 7.460818807273828e-05,
552
+ 0.006264338487527958,
553
+ 0.007252225134167767,
554
+ 0.9681622203186412,
555
+ 0.0003417725105441578,
556
+ 0.0008624824966881743
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.6984906391263901,
561
+ "uniform": 0.7020901946833366,
562
+ "top1": 0.6980405494858268,
563
+ "top2": 0.6987377441865222,
564
+ "top3": 0.6979569026901176
565
+ },
566
+ "pseudo_student_dice": 0.7831485684638488,
567
+ "pseudo_ensemble_dice": 0.4959069721765298,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.944,
570
+ "val_dice": 0.8796156527618478,
571
+ "val_vi": 0.15158004082917956,
572
+ "val_ece": 0.012681466394150536
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 174,
577
+ "selection_seconds": 11.9,
578
+ "round_seconds": 487.1,
579
+ "teacher_dice_labeled": [
580
+ 0.356145961605246,
581
+ 0.551214355755117,
582
+ 0.2025672126275297,
583
+ 0.3327589734690903,
584
+ 0.5010580750877105,
585
+ 0.6802621501411376,
586
+ 0.25820683333981315,
587
+ 0.28948928888955194
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.431692128592248,
591
+ 0.6726023749138484,
592
+ 0.24020601597533023,
593
+ 0.3911778628654421,
594
+ 0.5933084714965258,
595
+ 0.8380355437195518,
596
+ 0.31126908803516595,
597
+ 0.2935730368159814
598
+ ],
599
+ "evidence_fg_pixels": 2203858,
600
+ "evidence_nonempty_patches": 166,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.125,
605
+ 0.125,
606
+ 0.125,
607
+ 0.125,
608
+ 0.125,
609
+ 0.125,
610
+ 0.125,
611
+ 0.125
612
+ ],
613
+ "ensemble_choice": "uniform",
614
+ "candidate_dice": {
615
+ "mixture": 0.6807795554829543,
616
+ "uniform": 0.68870702244862,
617
+ "top1": 0.6802621501411376,
618
+ "top2": 0.6810272289642794,
619
+ "top3": 0.6801802090041148
620
+ },
621
+ "pseudo_student_dice": 0.5857522693305887,
622
+ "pseudo_ensemble_dice": 0.33939174177213893,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.286,
625
+ "val_dice": 0.8888998968722844,
626
+ "val_vi": 0.14966503109444784,
627
+ "val_ece": 0.011809566908036034
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 174,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 222.6,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.8925997424783859,
636
+ "val_vi": 0.1434862563966719,
637
+ "val_ece": 0.01128403642853145
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.44560086267226684,
642
+ "auroc_top20_error": 0.593673156908451
643
+ },
644
+ "al_seconds": 2570.5,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.125,
657
+ 0.125,
658
+ 0.125,
659
+ 0.125,
660
+ 0.125,
661
+ 0.125,
662
+ 0.125,
663
+ 0.125
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.125,
667
+ "entropy": 2.0794415416798357,
668
+ "effective_sources": 7.999999999999998,
669
+ "min_weight": 0.125
670
+ },
671
+ "top_source_final": "c-elegans-dauer-stage",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.8727808053306628,
676
+ "patch_iou": 0.8096397365891068,
677
+ "patch_precision": 0.884013050033685,
678
+ "patch_recall": 0.8888230542795013,
679
+ "patch_vi": 0.1771062671777847,
680
+ "n_patches": 768,
681
+ "cal_ece": 0.006959328183459772,
682
+ "cal_nll": 0.07563690589200811,
683
+ "cal_brier": 0.02189482180963423,
684
+ "cal_mean_confidence": 0.9771665425389284,
685
+ "cal_accuracy": 0.9702072143554688,
686
+ "cal_predicted_prevalence": 0.07643890380859375,
687
+ "cal_true_prevalence": 0.07175954182942708,
688
+ "cal_mean_probability": 0.07524883666029399
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.8727808053306628,
692
+ "patch_iou": 0.8096397365891068,
693
+ "patch_precision": 0.884013050033685,
694
+ "patch_recall": 0.8888230542795013,
695
+ "patch_vi": 0.1771062671777847,
696
+ "n_patches": 768,
697
+ "cal_ece": 0.006959328183459772,
698
+ "cal_nll": 0.07563690589200811,
699
+ "cal_brier": 0.02189482180963423,
700
+ "cal_mean_confidence": 0.9771665425389284,
701
+ "cal_accuracy": 0.9702072143554688,
702
+ "cal_predicted_prevalence": 0.07643890380859375,
703
+ "cal_true_prevalence": 0.07175954182942708,
704
+ "cal_mean_probability": 0.07524883666029399
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.8733466141713727,
708
+ "patch_iou": 0.8120811888493558,
709
+ "patch_precision": 0.889693337909526,
710
+ "patch_recall": 0.8867975267013571,
711
+ "patch_vi": 0.17312031856958507,
712
+ "n_patches": 768,
713
+ "image_dice": 0.8077534707124677,
714
+ "image_iou": 0.684351592405526,
715
+ "image_precision": 0.7892406397670163,
716
+ "image_recall": 0.8329104380944133,
717
+ "image_vi": 0.19538874245769558,
718
+ "n_images": 6,
719
+ "cal_ece": 0.005300650660982887,
720
+ "cal_nll": 0.0702677819857817,
721
+ "cal_brier": 0.02107877091438942,
722
+ "cal_mean_confidence": 0.9763216560626121,
723
+ "cal_accuracy": 0.9711151123046875,
724
+ "cal_predicted_prevalence": 0.07657623291015625,
725
+ "cal_true_prevalence": 0.07175954182942708,
726
+ "cal_mean_probability": 0.0756733806638027
727
+ },
728
+ "eval_seconds": 40.5,
729
+ "total_seconds": 3361.6,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.48,
734
+ "peak_cpu_rss_mb": 2173.9,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 65.54,
740
+ "peak_cpu_rss_mb": 4182.5,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 678.3,
746
+ "peak_cpu_rss_mb": 5201.6,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4598.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2570.54,
753
+ "peak_cpu_rss_mb": 5201.6,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4606.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 40.49,
760
+ "peak_cpu_rss_mb": 5201.6,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4606.0,
763
+ "patches": 768,
764
+ "images": 6,
765
+ "patches_per_second": 19.0,
766
+ "seconds_per_image": 6.748
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5201.6,
771
+ "total_seconds": 3356.3
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy_b5_s1.pth"
785
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,29,94.3,439.9,"[0.29568020341690904, 0.6193671974528233, 0.19588368058977745, 0.33035580668548686, 0.5508702113809155, 0.7308332381787659, 0.15051414530012766, 0.23402934928630323]",,237130,23,True,kept,0.749598658200551,0.7308332381787659,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.7308488562528247, 'uniform': 0.7388948429036649, 'top1': 0.7308332381787659, 'top2': 0.7311335062716425, 'top3': 0.7306909902224555}",0.39731069928710405,0.18067060453166736,0.07838129414619284,,,,,
3
+ 2,58,12.5,85.6,"[0.3476127955077974, 0.4623686045382735, 0.1755232866300641, 0.31664754608108453, 0.48104076607485885, 0.5880462888045375, 0.1790241268093611, 0.32257295870994507]",,646819,51,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.5883446508492198, 'uniform': 0.6113743713600025, 'top1': 0.5880462888045375, 'top2': 0.5871022090819282, 'top3': 0.587255051506554}",0.6369395682370388,0.16326645853342284,0.009399857270229506,0.6107994294456149,0.5225904590692428,student,0.369,
4
+ 3,87,12.3,409.1,"[0.3880088072732191, 0.565341164182688, 0.20471024332465787, 0.35380388386182804, 0.5253267179901164, 0.6915026222402474, 0.2565538563065365, 0.3179727238418305]","[0.4412735330757333, 0.6659325718988698, 0.2372073842200266, 0.39943171418340423, 0.5811530177876038, 0.8057331885912369, 0.33433901329823956, 0.3096649357020063]",1020182,80,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6919442120407975, 'uniform': 0.7091946157908361, 'top1': 0.6915026222402474, 'top2': 0.6921985279311229, 'top3': 0.6912061210138836}",0.8476713037914542,0.1607710772373184,0.007436648340219965,0.6845415260994039,0.5650033092900414,student,0.615,
5
+ 4,116,12.2,434.8,"[0.3669914562867691, 0.5693699554122069, 0.2055175935989612, 0.347743730912508, 0.5187721250757013, 0.6984750534228014, 0.2589420340565617, 0.3004582926329548]","[0.44670708753866184, 0.667642860577924, 0.23361163069008736, 0.39822489431136593, 0.5667288786894037, 0.7912791062085153, 0.3405437241505429, 0.32008342376085336]",1253998,108,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6988568524984016, 'uniform': 0.7081510561372487, 'top1': 0.6984750534228014, 'top2': 0.6991990657433986, 'top3': 0.6983183514463073}",0.8906511127825961,0.15183013964667516,0.010564493907424609,0.717398226943492,0.6485005341745833,student,0.725,
6
+ 5,145,12.0,460.5,"[0.3668099150383525, 0.5657863433890937, 0.20371422005742845, 0.3401057868287816, 0.508806826757005, 0.6980405494858268, 0.254115069915782, 0.2978415150971249]","[0.4282138051931642, 0.668509289478364, 0.23248299174518863, 0.38337992924291425, 0.5661442227675124, 0.8152971118400434, 0.32553445749354537, 0.3033784254312041]",1654235,137,False,,,,"[0.005480660578475023, 0.011561692285882852, 7.460818807273828e-05, 0.006264338487527958, 0.007252225134167767, 0.9681622203186412, 0.0003417725105441578, 0.0008624824966881743]",mixture,"{'mixture': 0.6984906391263901, 'uniform': 0.7020901946833366, 'top1': 0.6980405494858268, 'top2': 0.6987377441865222, 'top3': 0.6979569026901176}",0.8796156527618478,0.15158004082917956,0.012681466394150536,0.7831485684638488,0.4959069721765298,student,0.944,
7
+ 6,174,11.9,487.1,"[0.356145961605246, 0.551214355755117, 0.2025672126275297, 0.3327589734690903, 0.5010580750877105, 0.6802621501411376, 0.25820683333981315, 0.28948928888955194]","[0.431692128592248, 0.6726023749138484, 0.24020601597533023, 0.3911778628654421, 0.5933084714965258, 0.8380355437195518, 0.31126908803516595, 0.2935730368159814]",2203858,166,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6807795554829543, 'uniform': 0.68870702244862, 'top1': 0.6802621501411376, 'top2': 0.6810272289642794, 'top3': 0.6801802090041148}",0.8888998968722844,0.14966503109444784,0.011809566908036034,0.5857522693305887,0.33939174177213893,student,0.286,
8
+ 7,174,0.0,222.6,,,,,,,,,,,,0.8925997424783859,0.1434862563966719,0.01128403642853145,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [00:56:03][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-laplace budget=5.0% seed=1 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [00:56:03][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [00:56:04][ 1s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [00:56:22][ 19s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, snemi=3.55, mouse-brain=4.07
5
+ [00:56:56][ 53s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 34s
6
+ [00:57:02][ 59s][WEIGHTS] mixture: c-elegans=0.099, cerebellum=0.029, flywire=0.007, berghia=0.148, microns=0.032, oct-glia=0.636, snemi=0.019, mouse-brain=0.031 | eff.sources=3.41 | MMD2 mix=0.0128 uniform=0.0970
7
+ [00:57:02][ 59s][WEIGHTS] per-source: c-elegans=0.320, cerebellum=0.017, flywire=0.001, berghia=0.175, microns=0.027, oct-glia=0.436, snemi=0.017, mouse-brain=0.007 | min-MMD source (NeuroADDA rule) = oct-glia
8
+ [00:57:57][ 114s][TEACHERS] target-val Dice: c-elegans=0.476, cerebellum=0.633, flywire=0.142, berghia=0.467, microns=0.708, oct-glia=0.845, snemi=0.229, mouse-brain=0.115
9
+ [00:57:57][ 114s][TEACHERS] ensemble target-val Dice: mixture=0.849, mixture@raw=0.847, mixture@logit=0.850, per_source=0.843, per_source@raw=0.619, per_source@logit=0.848, uniform=0.718, uniform@raw=0.677, uniform@logit=0.807
10
+ [00:57:57][ 114s][WEIGHTS] using mixture: c-elegans=0.099, cerebellum=0.029, flywire=0.007, berghia=0.148, microns=0.032, oct-glia=0.636, snemi=0.019, mouse-brain=0.031
11
+ [00:57:57][ 114s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [00:58:01][ 117s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [00:58:01][ 117s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [01:00:26][ 263s][KD] soft labels for 3584 patches from 8 teachers in 145s
15
+ [01:02:13][ 369s][KD] epoch 1/5 | patches=3584 | loss=0.5717 | 106s
16
+ [01:03:59][ 476s][KD] epoch 2/5 | patches=3584 | loss=0.4387 | 106s
17
+ [01:05:46][ 582s][KD] epoch 3/5 | patches=3584 | loss=0.4024 | 106s
18
+ [01:07:32][ 689s][KD] epoch 4/5 | patches=3584 | loss=0.3575 | 107s
19
+ [01:09:19][ 796s][KD] epoch 5/5 | patches=3584 | loss=0.3323 | 107s
20
+ [01:09:23][ 800s][ROUND0] before any target label: val_dice=0.4068 val_vi=0.1562
21
+ [01:09:23][ 800s][AL] patches=3584 (pool 2338 after dropping blank; free blank negatives: True) | budget=179 (5.0%) | rounds=6 | per_round=29 | acquisition=laplace | first_round=stratified
22
+ [01:09:49][ 825s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': -0.42973054159052243, 'auroc_top20_error': 0.01460704062277854}
23
+ [01:11:11][ 907s][AL] round 1: stratified cold start: 15 patches from the membrane-rich half (ensemble prevalence >= 0.192) + 14 from the membrane-poor half of 2000 candidates
24
+ [01:11:20][ 917s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.731, uniform=0.739, top1=0.731, top2=0.731, top3=0.731 -> using uniform
25
+ [01:11:21][ 917s][WEIGHTS] round 1: student kept (labeled Dice 0.724 vs best teacher oct-glia 0.731); distilling the corrected ensemble into it
26
+ [01:11:21][ 917s][WEIGHTS] round 1: teacher Dice on 29 labeled patches + 29 blank (237130 fg px): c-elegans=0.296, cerebellum=0.619, flywire=0.196, berghia=0.330, microns=0.551, oct-glia=0.731, snemi=0.151, mouse-brain=0.234 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
27
+ [01:12:55][ 1012s][KD] soft labels for 2309 patches from 8 teachers in 94s
28
+ [01:14:04][ 1080s][KD] epoch 1/2 | patches=2309 | loss=0.7251 | 69s
29
+ [01:15:13][ 1149s][KD] epoch 2/2 | patches=2309 | loss=0.6221 | 69s
30
+ [01:16:34][ 1231s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 82s
31
+ [01:16:39][ 1235s][FT] round 1/6 epoch 1/5 | patches=58 | loss=1.3947
32
+ [01:16:43][ 1240s][FT] round 1/6 epoch 2/5 | patches=58 | loss=1.3601
33
+ [01:16:47][ 1244s][FT] round 1/6 epoch 3/5 | patches=58 | loss=1.3657
34
+ [01:16:52][ 1248s][FT] round 1/6 epoch 4/5 | patches=58 | loss=1.2920
35
+ [01:16:56][ 1253s][FT] round 1/6 epoch 5/5 | patches=58 | loss=1.3077
36
+ [01:17:01][ 1257s][AL] round 1/6 | labeled=29 | selection_seconds=107.5000 round_seconds=452.9000 restart_student_dice=0.7237 restart_teacher_dice=0.7308 val_dice=0.8265 val_vi=0.1609 val_ece=0.0489
37
+ [01:17:26][ 1282s][AL] round 2: 571/2309 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [01:17:44][ 1300s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.601, uniform=0.616, top1=0.601, top2=0.600, top3=0.600 -> using uniform
39
+ [01:17:44][ 1300s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (672023 fg px): c-elegans=0.317, cerebellum=0.466, flywire=0.176, berghia=0.291, microns=0.517, oct-glia=0.601, snemi=0.186, mouse-brain=0.309 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
40
+ [01:18:00][ 1316s][CONS] round 2: on the 29 new patches student Dice=0.614 vs ensemble 0.545 -> pseudo-labels from the student | consistency x0.38
41
+ [01:18:07][ 1324s][FT] round 2/6 epoch 1/5 | patches=116 | loss=1.0646
42
+ [01:18:15][ 1332s][FT] round 2/6 epoch 2/5 | patches=116 | loss=0.9956
43
+ [01:18:23][ 1339s][FT] round 2/6 epoch 3/5 | patches=116 | loss=0.9742
44
+ [01:18:30][ 1347s][FT] round 2/6 epoch 4/5 | patches=116 | loss=0.9444
45
+ [01:18:38][ 1354s][FT] round 2/6 epoch 5/5 | patches=116 | loss=0.9440
46
+ [01:18:42][ 1359s][AL] round 2/6 | labeled=58 | selection_seconds=25.1000 round_seconds=97.3000 pseudo_student_dice=0.6139 pseudo_ensemble_dice=0.5450 consistency_scale=0.3800 val_dice=0.8588 val_vi=0.1514 val_ece=0.0125
47
+ [01:19:07][ 1384s][AL] round 3: 602/2280 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [01:21:55][ 1551s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.371, cerebellum=0.616, flywire=0.239, berghia=0.365, microns=0.592, oct-glia=0.873, snemi=0.275, mouse-brain=0.247 | blended with labeled Dice at 0.50
49
+ [01:24:33][ 1709s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.650, uniform=0.638, top1=0.649, top2=0.650, top3=0.649 -> using mixture
50
+ [01:24:33][ 1709s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (1597523 fg px): c-elegans=0.352, cerebellum=0.508, flywire=0.197, berghia=0.306, microns=0.487, oct-glia=0.649, snemi=0.272, mouse-brain=0.308 | weights: c-elegans=0.008, cerebellum=0.011, flywire=0.000, berghia=0.007, microns=0.009, oct-glia=0.963, snemi=0.001, mouse-brain=0.002
51
+ [01:24:49][ 1725s][CONS] round 3: on the 29 new patches student Dice=0.383 vs ensemble 0.260 -> pseudo-labels from the student | consistency x0.00
52
+ [01:24:54][ 1731s][FT] round 3/6 epoch 1/5 | patches=174 | loss=1.1783
53
+ [01:25:00][ 1736s][FT] round 3/6 epoch 2/5 | patches=174 | loss=1.0471
54
+ [01:25:05][ 1742s][FT] round 3/6 epoch 3/5 | patches=174 | loss=1.0678
55
+ [01:25:11][ 1748s][FT] round 3/6 epoch 4/5 | patches=174 | loss=1.0251
56
+ [01:25:17][ 1753s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.9424
57
+ [01:25:21][ 1758s][AL] round 3/6 | labeled=87 | selection_seconds=24.9000 round_seconds=394.2000 pseudo_student_dice=0.3832 pseudo_ensemble_dice=0.2603 consistency_scale=0.0000 val_dice=0.8525 val_vi=0.1750 val_ece=0.0105
58
+ [01:25:45][ 1782s][AL] round 4: 537/2251 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [01:28:38][ 1954s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.443, cerebellum=0.666, flywire=0.236, berghia=0.392, microns=0.582, oct-glia=0.788, snemi=0.338, mouse-brain=0.314 | blended with labeled Dice at 0.50
60
+ [01:31:20][ 2117s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.631, uniform=0.664, top1=0.630, top2=0.631, top3=0.630 -> using uniform
61
+ [01:31:20][ 2117s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (1870770 fg px): c-elegans=0.372, cerebellum=0.550, flywire=0.199, berghia=0.328, microns=0.494, oct-glia=0.630, snemi=0.295, mouse-brain=0.318 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
62
+ [01:31:36][ 2133s][CONS] round 4: on the 29 new patches student Dice=0.716 vs ensemble 0.677 -> pseudo-labels from the student | consistency x0.72
63
+ [01:31:51][ 2147s][FT] round 4/6 epoch 1/5 | patches=232 | loss=1.0101
64
+ [01:32:05][ 2162s][FT] round 4/6 epoch 2/5 | patches=232 | loss=0.9749
65
+ [01:32:19][ 2176s][FT] round 4/6 epoch 3/5 | patches=232 | loss=0.9456
66
+ [01:32:34][ 2190s][FT] round 4/6 epoch 4/5 | patches=232 | loss=0.9118
67
+ [01:32:48][ 2204s][FT] round 4/6 epoch 5/5 | patches=232 | loss=0.9304
68
+ [01:32:52][ 2209s][AL] round 4/6 | labeled=116 | selection_seconds=24.6000 round_seconds=447.0000 pseudo_student_dice=0.7162 pseudo_ensemble_dice=0.6767 consistency_scale=0.7210 val_dice=0.8798 val_vi=0.1542 val_ece=0.0075
69
+ [01:33:16][ 2233s][AL] round 5: 569/2222 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [01:36:13][ 2409s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.415, cerebellum=0.661, flywire=0.244, berghia=0.384, microns=0.603, oct-glia=0.851, snemi=0.310, mouse-brain=0.282 | blended with labeled Dice at 0.50
71
+ [01:38:59][ 2576s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.671, uniform=0.681, top1=0.670, top2=0.671, top3=0.670 -> using uniform
72
+ [01:38:59][ 2576s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (2186789 fg px): c-elegans=0.366, cerebellum=0.549, flywire=0.204, berghia=0.329, microns=0.509, oct-glia=0.670, snemi=0.271, mouse-brain=0.304 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
73
+ [01:39:15][ 2592s][CONS] round 5: on the 29 new patches student Dice=0.726 vs ensemble 0.597 -> pseudo-labels from the student | consistency x0.75
74
+ [01:39:33][ 2609s][FT] round 5/6 epoch 1/5 | patches=290 | loss=0.9539
75
+ [01:39:51][ 2627s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.9196
76
+ [01:40:09][ 2645s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.9494
77
+ [01:40:27][ 2663s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.8943
78
+ [01:40:45][ 2681s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.8669
79
+ [01:40:49][ 2686s][AL] round 5/6 | labeled=145 | selection_seconds=24.3000 round_seconds=472.3000 pseudo_student_dice=0.7263 pseudo_ensemble_dice=0.5966 consistency_scale=0.7540 val_dice=0.8752 val_vi=0.1569 val_ece=0.0086
80
+ [01:41:13][ 2709s][AL] round 6: 553/2193 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [01:44:14][ 2891s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.434, cerebellum=0.668, flywire=0.240, berghia=0.395, microns=0.591, oct-glia=0.824, snemi=0.320, mouse-brain=0.299 | blended with labeled Dice at 0.50
82
+ [01:47:06][ 3063s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.665, uniform=0.683, top1=0.664, top2=0.665, top3=0.664 -> using uniform
83
+ [01:47:06][ 3063s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (2478728 fg px): c-elegans=0.368, cerebellum=0.555, flywire=0.202, berghia=0.336, microns=0.505, oct-glia=0.664, snemi=0.273, mouse-brain=0.304 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
84
+ [01:47:22][ 3078s][CONS] round 6: on the 29 new patches student Dice=0.793 vs ensemble 0.596 -> pseudo-labels from the student | consistency x0.98
85
+ [01:47:43][ 3100s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.8826
86
+ [01:48:04][ 3121s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.9147
87
+ [01:48:26][ 3142s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.8845
88
+ [01:48:47][ 3164s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.8723
89
+ [01:49:08][ 3185s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.8485
90
+ [01:49:13][ 3189s][AL] round 6/6 | labeled=174 | selection_seconds=24.0000 round_seconds=499.4000 pseudo_student_dice=0.7929 pseudo_ensemble_dice=0.5957 consistency_scale=0.9760 val_dice=0.8927 val_vi=0.1440 val_ece=0.0078
91
+ [01:49:23][ 3199s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [01:49:44][ 3220s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.8445
93
+ [01:50:05][ 3242s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.8160
94
+ [01:50:26][ 3263s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.7961
95
+ [01:50:48][ 3284s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.7927
96
+ [01:51:09][ 3305s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.7625
97
+ [01:51:30][ 3327s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.7530
98
+ [01:51:51][ 3348s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.7819
99
+ [01:52:13][ 3369s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.7434
100
+ [01:52:34][ 3391s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.7514
101
+ [01:52:55][ 3412s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.7475
102
+ [01:53:00][ 3416s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=222.6000 val_dice=0.8887 val_vi=0.1467 val_ece=0.0078
103
+ [01:53:00][ 3416s][WEIGHTS] final: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
104
+ [01:53:36][ 3453s][TEST] raw student (no EMA, no TTA): patch_dice=0.8645 patch_vi=0.1770
105
+ [01:53:40][ 3457s][TEST] final model without TTA: patch_dice=0.8645 patch_vi=0.1770
106
+ [01:53:40][ 3457s][RESOURCES] {"phases": {"setup": {"seconds": 16.85, "peak_cpu_rss_mb": 2160.3, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 98.94, "peak_cpu_rss_mb": 4183.7, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 678.09, "peak_cpu_rss_mb": 5202.8, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4598.0, "kd_epochs": 5}, "active_learning": {"seconds": 2616.44, "peak_cpu_rss_mb": 5202.8, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4606.0, "rounds": 6}, "inference": {"seconds": 40.52, "peak_cpu_rss_mb": 5202.8, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4606.0, "patches": 768, "images": 6, "patches_per_second": 19.0, "seconds_per_image": 6.753}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5202.8, "total_seconds": 3450.8}
107
+ [01:53:40][ 3457s][TEST] patch_dice=0.8750 patch_iou=0.8143 patch_precision=0.8867 patch_recall=0.8961 patch_vi=0.1732 image_dice=0.8095 image_iou=0.6867 image_precision=0.7810 image_recall=0.8463 image_vi=0.1962 cal_ece=0.0100 cal_nll=0.0766 cal_brier=0.0215 cal_mean_confidence=0.9717 cal_accuracy=0.9708 cal_predicted_prevalence=0.0786 cal_true_prevalence=0.0718 cal_mean_probability=0.0855
108
+ [01:53:41][ 3457s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-laplace b5 s1 | test patch Dice=0.8750 VI=0.1732 | image Dice=0.8095 VI=0.1962 | 3457s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "laplace",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "octopus-vulgaris-vertical-lobe-sfltract",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "snemi3d",
150
+ "whole-mouse-brain"
151
+ ],
152
+ "alphas": [
153
+ 0.09888716021456875,
154
+ 0.02852231397957182,
155
+ 0.006877159468562143,
156
+ 0.147623932500446,
157
+ 0.03162958721157525,
158
+ 0.636412589592954,
159
+ 0.019031438719961654,
160
+ 0.031015818312360402
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "snemi3d",
171
+ "whole-mouse-brain"
172
+ ],
173
+ "mixture": [
174
+ 0.09888716021456875,
175
+ 0.02852231397957182,
176
+ 0.006877159468562143,
177
+ 0.147623932500446,
178
+ 0.03162958721157525,
179
+ 0.636412589592954,
180
+ 0.019031438719961654,
181
+ 0.031015818312360402
182
+ ],
183
+ "per_source": [
184
+ 0.3196471036584027,
185
+ 0.016524109438155077,
186
+ 0.0007715730533314212,
187
+ 0.17539928949217498,
188
+ 0.027481458110301667,
189
+ 0.4363205819091585,
190
+ 0.016643531248023022,
191
+ 0.007212353090452595
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.00048686699692031786,
205
+ "mmd2_mixture": 0.012755679331756475,
206
+ "mmd2_uniform": 0.09698314484068699,
207
+ "mmd2_single_source": [
208
+ 0.07244562949164945,
209
+ 0.2568973175367495,
210
+ 0.39290896557558747,
211
+ 0.05287206442937192,
212
+ 0.2649845830320105,
213
+ 0.011934176639413208,
214
+ 0.33925886828153656,
215
+ 0.26844309711822195
216
+ ],
217
+ "median_squared_distance": 0.1834397705913593,
218
+ "gammas": [
219
+ 1.3628451409095685,
220
+ 2.725690281819137,
221
+ 5.451380563638274,
222
+ 10.902761127276548,
223
+ 21.805522254553097
224
+ ],
225
+ "max_weight": 0.636412589592954,
226
+ "entropy": 1.2268812334836157,
227
+ "effective_sources": 3.4105761415276636,
228
+ "min_weight": 0.006877159468562143
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.049620160284728154,
233
+ 0.42663804362685775,
234
+ 0.8166050888075048,
235
+ 0.12600028070223912,
236
+ 0.36189803378480956,
237
+ 0.01001954120360149,
238
+ 0.42572157074448214,
239
+ 0.5321462950254623
240
+ ],
241
+ "standardized": [
242
+ -1.1548909896059252,
243
+ 0.32630755724364063,
244
+ 1.8583797643241364,
245
+ -0.8548147110811022,
246
+ 0.07196204012648774,
247
+ -1.3104708228948398,
248
+ 0.3227069898393355,
249
+ 0.740820172048267
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363205819091585,
253
+ "entropy": 1.3076009419864412,
254
+ "effective_sources": 3.6972930433455575,
255
+ "min_weight": 0.0007715730533314212
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 40.3
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.47571341080584045,
265
+ 0.6329400594773938,
266
+ 0.1419064245794933,
267
+ 0.4669233743357945,
268
+ 0.7079863797747427,
269
+ 0.8450584862058909,
270
+ 0.22902171788078127,
271
+ 0.11473171105409108
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8488016622672679,
275
+ "mixture@raw": 0.8468775415451569,
276
+ "mixture@logit": 0.8498181877900208,
277
+ "per_source": 0.8430718482924652,
278
+ "per_source@raw": 0.6192917168334541,
279
+ "per_source@logit": 0.8479512124278182,
280
+ "uniform": 0.7183086201637726,
281
+ "uniform@raw": 0.6771618878909939,
282
+ "uniform@logit": 0.8065091143369424
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 3.547258138656616,
294
+ 4.074584007263184
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.636412589592954,
299
+ "entropy": 1.2268812334836157,
300
+ "effective_sources": 3.4105761415276636,
301
+ "min_weight": 0.006877159468562143
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.5952380952380953,
305
+ "spearman_weight_taxonomy": 0.6257415691925263,
306
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
307
+ "top_source_is_best_teacher": true
308
+ },
309
+ "init_teacher": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.34765625,
312
+ "kd_seconds": 678.1,
313
+ "round0_val": {
314
+ "val_dice": 0.4067974008452868,
315
+ "val_vi": 0.15621365356541697,
316
+ "val_ece": 0.06549482541855627
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 107.5,
323
+ "round_seconds": 452.9,
324
+ "teacher_dice_labeled": [
325
+ 0.29568020341690904,
326
+ 0.6193671974528233,
327
+ 0.19588368058977745,
328
+ 0.33035580668548686,
329
+ 0.5508702113809155,
330
+ 0.7308332381787659,
331
+ 0.15051414530012766,
332
+ 0.23402934928630323
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 237130,
336
+ "evidence_nonempty_patches": 23,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.7237450842918105,
340
+ "restart_teacher_dice": 0.7308332381787659,
341
+ "weights": [
342
+ 0.125,
343
+ 0.125,
344
+ 0.125,
345
+ 0.125,
346
+ 0.125,
347
+ 0.125,
348
+ 0.125,
349
+ 0.125
350
+ ],
351
+ "ensemble_choice": "uniform",
352
+ "candidate_dice": {
353
+ "mixture": 0.7308488562528247,
354
+ "uniform": 0.7388948429036649,
355
+ "top1": 0.7308332381787659,
356
+ "top2": 0.7311335062716425,
357
+ "top3": 0.7306909902224555
358
+ },
359
+ "val_dice": 0.8265384832710779,
360
+ "val_vi": 0.16094128778513914,
361
+ "val_ece": 0.04887358321577289
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 25.1,
367
+ "round_seconds": 97.3,
368
+ "teacher_dice_labeled": [
369
+ 0.3171883581634619,
370
+ 0.46570797027165556,
371
+ 0.17555021224032277,
372
+ 0.2911379528704814,
373
+ 0.5171020431871733,
374
+ 0.6011370938587045,
375
+ 0.1856036164323916,
376
+ 0.30947977967970813
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 672023,
380
+ "evidence_nonempty_patches": 51,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.125,
385
+ 0.125,
386
+ 0.125,
387
+ 0.125,
388
+ 0.125,
389
+ 0.125,
390
+ 0.125,
391
+ 0.125
392
+ ],
393
+ "ensemble_choice": "uniform",
394
+ "candidate_dice": {
395
+ "mixture": 0.6008390269849482,
396
+ "uniform": 0.6162660612905311,
397
+ "top1": 0.6011370938587045,
398
+ "top2": 0.6000244930568988,
399
+ "top3": 0.6001927615324153
400
+ },
401
+ "pseudo_student_dice": 0.613930989815908,
402
+ "pseudo_ensemble_dice": 0.5449893692757639,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.38,
405
+ "val_dice": 0.858755045097654,
406
+ "val_vi": 0.1513502459658489,
407
+ "val_ece": 0.012488309354615111
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 24.9,
413
+ "round_seconds": 394.2,
414
+ "teacher_dice_labeled": [
415
+ 0.3515194750513133,
416
+ 0.5081483731457119,
417
+ 0.1967517587863077,
418
+ 0.30607281205994263,
419
+ 0.4873790788992553,
420
+ 0.6494763538876254,
421
+ 0.27193648915742474,
422
+ 0.30833822986758297
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.3713920260153615,
426
+ 0.6156583110479326,
427
+ 0.23892875624458382,
428
+ 0.3647158945021577,
429
+ 0.591553287347347,
430
+ 0.8728288107309928,
431
+ 0.2746848725997957,
432
+ 0.24697999986747887
433
+ ],
434
+ "evidence_fg_pixels": 1597523,
435
+ "evidence_nonempty_patches": 80,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.007602838779626683,
440
+ 0.010501498964006668,
441
+ 0.00011248570107448317,
442
+ 0.0072047729084134095,
443
+ 0.009461503682782231,
444
+ 0.962908280806494,
445
+ 0.000660211341494219,
446
+ 0.0015484078161083674
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.6498703208262191,
451
+ "uniform": 0.6380122833004724,
452
+ "top1": 0.6494763538876254,
453
+ "top2": 0.6498371076706292,
454
+ "top3": 0.6492208400303191
455
+ },
456
+ "pseudo_student_dice": 0.38323891424672846,
457
+ "pseudo_ensemble_dice": 0.2603137417028411,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.0,
460
+ "val_dice": 0.852483095049041,
461
+ "val_vi": 0.17500004822089713,
462
+ "val_ece": 0.010542839366299465
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 116,
467
+ "selection_seconds": 24.6,
468
+ "round_seconds": 447.0,
469
+ "teacher_dice_labeled": [
470
+ 0.37165118582176443,
471
+ 0.5498739512200651,
472
+ 0.19894122455555435,
473
+ 0.32796989413566147,
474
+ 0.49362131291149014,
475
+ 0.6299155752418457,
476
+ 0.29462911835367733,
477
+ 0.31849510251907787
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.4432668421464532,
481
+ 0.6655030182527801,
482
+ 0.23613268382521105,
483
+ 0.3915591066403852,
484
+ 0.5820384495809867,
485
+ 0.7883949429794211,
486
+ 0.3380038795229039,
487
+ 0.3135432956883544
488
+ ],
489
+ "evidence_fg_pixels": 1870770,
490
+ "evidence_nonempty_patches": 109,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.125,
495
+ 0.125,
496
+ 0.125,
497
+ 0.125,
498
+ 0.125,
499
+ 0.125,
500
+ 0.125,
501
+ 0.125
502
+ ],
503
+ "ensemble_choice": "uniform",
504
+ "candidate_dice": {
505
+ "mixture": 0.6310020695428453,
506
+ "uniform": 0.6641508814931827,
507
+ "top1": 0.6299155752418457,
508
+ "top2": 0.6310825091972322,
509
+ "top3": 0.6297899101236573
510
+ },
511
+ "pseudo_student_dice": 0.7162450297722375,
512
+ "pseudo_ensemble_dice": 0.6766694366299267,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.721,
515
+ "val_dice": 0.8797632053364045,
516
+ "val_vi": 0.15423802631351424,
517
+ "val_ece": 0.007480832876547508
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 145,
522
+ "selection_seconds": 24.3,
523
+ "round_seconds": 472.3,
524
+ "teacher_dice_labeled": [
525
+ 0.3660794262070859,
526
+ 0.5490828422499876,
527
+ 0.20365563891426552,
528
+ 0.32856908333908263,
529
+ 0.508535981970067,
530
+ 0.670062722012975,
531
+ 0.2709322094932049,
532
+ 0.3038809822055101
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.41543039333650833,
536
+ 0.6614358260242903,
537
+ 0.24373609609710786,
538
+ 0.384228244423019,
539
+ 0.603001507114574,
540
+ 0.8509662250083222,
541
+ 0.309811235614449,
542
+ 0.2822458495441181
543
+ ],
544
+ "evidence_fg_pixels": 2186789,
545
+ "evidence_nonempty_patches": 138,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.125,
550
+ 0.125,
551
+ 0.125,
552
+ 0.125,
553
+ 0.125,
554
+ 0.125,
555
+ 0.125,
556
+ 0.125
557
+ ],
558
+ "ensemble_choice": "uniform",
559
+ "candidate_dice": {
560
+ "mixture": 0.6707006667666381,
561
+ "uniform": 0.6809966041879847,
562
+ "top1": 0.670062722012975,
563
+ "top2": 0.6708633202970876,
564
+ "top3": 0.6700126434291589
565
+ },
566
+ "pseudo_student_dice": 0.7263052830088944,
567
+ "pseudo_ensemble_dice": 0.5965506068759152,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.754,
570
+ "val_dice": 0.875244862502354,
571
+ "val_vi": 0.15694088885158228,
572
+ "val_ece": 0.008585482330209854
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 174,
577
+ "selection_seconds": 24.0,
578
+ "round_seconds": 499.4,
579
+ "teacher_dice_labeled": [
580
+ 0.3681232181861549,
581
+ 0.5551674270712343,
582
+ 0.2021990584599616,
583
+ 0.33618850765162767,
584
+ 0.5048303375240749,
585
+ 0.6641611574975141,
586
+ 0.2725573674876931,
587
+ 0.30352943057597503
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.43428106838072467,
591
+ 0.6680803435489528,
592
+ 0.23994257936146782,
593
+ 0.39529555441652675,
594
+ 0.5914807803652934,
595
+ 0.8240333760711983,
596
+ 0.3198122503561808,
597
+ 0.29933052019728335
598
+ ],
599
+ "evidence_fg_pixels": 2478728,
600
+ "evidence_nonempty_patches": 165,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.125,
605
+ 0.125,
606
+ 0.125,
607
+ 0.125,
608
+ 0.125,
609
+ 0.125,
610
+ 0.125,
611
+ 0.125
612
+ ],
613
+ "ensemble_choice": "uniform",
614
+ "candidate_dice": {
615
+ "mixture": 0.664855616294795,
616
+ "uniform": 0.6832583651582114,
617
+ "top1": 0.6641611574975141,
618
+ "top2": 0.6650440389558555,
619
+ "top3": 0.6640915000195716
620
+ },
621
+ "pseudo_student_dice": 0.7929019284967859,
622
+ "pseudo_ensemble_dice": 0.5956894105964962,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.976,
625
+ "val_dice": 0.8926858816531681,
626
+ "val_vi": 0.1439952713975571,
627
+ "val_ece": 0.007831732653372411
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 174,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 222.6,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.8886851466384921,
636
+ "val_vi": 0.1466770562917574,
637
+ "val_ece": 0.007776746073254894
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": -0.42973054159052243,
642
+ "auroc_top20_error": 0.01460704062277854
643
+ },
644
+ "al_seconds": 2616.4,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.125,
657
+ 0.125,
658
+ 0.125,
659
+ 0.125,
660
+ 0.125,
661
+ 0.125,
662
+ 0.125,
663
+ 0.125
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.125,
667
+ "entropy": 2.0794415416798357,
668
+ "effective_sources": 7.999999999999998,
669
+ "min_weight": 0.125
670
+ },
671
+ "top_source_final": "c-elegans-dauer-stage",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.8644854064227285,
676
+ "patch_iou": 0.8015775339461436,
677
+ "patch_precision": 0.8736117259970388,
678
+ "patch_recall": 0.8942403794858601,
679
+ "patch_vi": 0.1769803664520788,
680
+ "n_patches": 768,
681
+ "cal_ece": 0.01005696782408574,
682
+ "cal_nll": 0.08044871377833289,
683
+ "cal_brier": 0.022497044457770853,
684
+ "cal_mean_confidence": 0.9738861268454938,
685
+ "cal_accuracy": 0.9699223836263021,
686
+ "cal_predicted_prevalence": 0.07838185628255208,
687
+ "cal_true_prevalence": 0.07175954182942708,
688
+ "cal_mean_probability": 0.084024411452732
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.8644854064227285,
692
+ "patch_iou": 0.8015775339461436,
693
+ "patch_precision": 0.8736117259970388,
694
+ "patch_recall": 0.8942403794858601,
695
+ "patch_vi": 0.1769803664520788,
696
+ "n_patches": 768,
697
+ "cal_ece": 0.01005696782408574,
698
+ "cal_nll": 0.08044871377833289,
699
+ "cal_brier": 0.022497044457770853,
700
+ "cal_mean_confidence": 0.9738861268454938,
701
+ "cal_accuracy": 0.9699223836263021,
702
+ "cal_predicted_prevalence": 0.07838185628255208,
703
+ "cal_true_prevalence": 0.07175954182942708,
704
+ "cal_mean_probability": 0.084024411452732
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.8749669073071713,
708
+ "patch_iou": 0.8143105444897812,
709
+ "patch_precision": 0.8867455102594728,
710
+ "patch_recall": 0.8960972601232834,
711
+ "patch_vi": 0.17321693095203786,
712
+ "n_patches": 768,
713
+ "image_dice": 0.8094618761648809,
714
+ "image_iou": 0.6866971832851606,
715
+ "image_precision": 0.781044872770262,
716
+ "image_recall": 0.8462603726171656,
717
+ "image_vi": 0.19624323121594725,
718
+ "n_images": 6,
719
+ "cal_ece": 0.010036823548981465,
720
+ "cal_nll": 0.07660645530730685,
721
+ "cal_brier": 0.021545440108361295,
722
+ "cal_mean_confidence": 0.9716628545615914,
723
+ "cal_accuracy": 0.9708366394042969,
724
+ "cal_predicted_prevalence": 0.07863744099934895,
725
+ "cal_true_prevalence": 0.07175954182942708,
726
+ "cal_mean_probability": 0.08545583541733916
727
+ },
728
+ "eval_seconds": 40.5,
729
+ "total_seconds": 3456.9,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 16.85,
734
+ "peak_cpu_rss_mb": 2160.3,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 98.94,
740
+ "peak_cpu_rss_mb": 4183.7,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 678.09,
746
+ "peak_cpu_rss_mb": 5202.8,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4598.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2616.44,
753
+ "peak_cpu_rss_mb": 5202.8,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4606.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 40.52,
760
+ "peak_cpu_rss_mb": 5202.8,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4606.0,
763
+ "patches": 768,
764
+ "images": 6,
765
+ "patches_per_second": 19.0,
766
+ "seconds_per_image": 6.753
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5202.8,
771
+ "total_seconds": 3450.8
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace_b5_s1.pth"
785
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,29,107.5,452.9,"[0.29568020341690904, 0.6193671974528233, 0.19588368058977745, 0.33035580668548686, 0.5508702113809155, 0.7308332381787659, 0.15051414530012766, 0.23402934928630323]",,237130,23,True,kept,0.7237450842918105,0.7308332381787659,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.7308488562528247, 'uniform': 0.7388948429036649, 'top1': 0.7308332381787659, 'top2': 0.7311335062716425, 'top3': 0.7306909902224555}",0.8265384832710779,0.16094128778513914,0.04887358321577289,,,,,
3
+ 2,58,25.1,97.3,"[0.3171883581634619, 0.46570797027165556, 0.17555021224032277, 0.2911379528704814, 0.5171020431871733, 0.6011370938587045, 0.1856036164323916, 0.30947977967970813]",,672023,51,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6008390269849482, 'uniform': 0.6162660612905311, 'top1': 0.6011370938587045, 'top2': 0.6000244930568988, 'top3': 0.6001927615324153}",0.858755045097654,0.1513502459658489,0.012488309354615111,0.613930989815908,0.5449893692757639,student,0.38,
4
+ 3,87,24.9,394.2,"[0.3515194750513133, 0.5081483731457119, 0.1967517587863077, 0.30607281205994263, 0.4873790788992553, 0.6494763538876254, 0.27193648915742474, 0.30833822986758297]","[0.3713920260153615, 0.6156583110479326, 0.23892875624458382, 0.3647158945021577, 0.591553287347347, 0.8728288107309928, 0.2746848725997957, 0.24697999986747887]",1597523,80,False,,,,"[0.007602838779626683, 0.010501498964006668, 0.00011248570107448317, 0.0072047729084134095, 0.009461503682782231, 0.962908280806494, 0.000660211341494219, 0.0015484078161083674]",mixture,"{'mixture': 0.6498703208262191, 'uniform': 0.6380122833004724, 'top1': 0.6494763538876254, 'top2': 0.6498371076706292, 'top3': 0.6492208400303191}",0.852483095049041,0.17500004822089713,0.010542839366299465,0.38323891424672846,0.2603137417028411,student,0.0,
5
+ 4,116,24.6,447.0,"[0.37165118582176443, 0.5498739512200651, 0.19894122455555435, 0.32796989413566147, 0.49362131291149014, 0.6299155752418457, 0.29462911835367733, 0.31849510251907787]","[0.4432668421464532, 0.6655030182527801, 0.23613268382521105, 0.3915591066403852, 0.5820384495809867, 0.7883949429794211, 0.3380038795229039, 0.3135432956883544]",1870770,109,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6310020695428453, 'uniform': 0.6641508814931827, 'top1': 0.6299155752418457, 'top2': 0.6310825091972322, 'top3': 0.6297899101236573}",0.8797632053364045,0.15423802631351424,0.007480832876547508,0.7162450297722375,0.6766694366299267,student,0.721,
6
+ 5,145,24.3,472.3,"[0.3660794262070859, 0.5490828422499876, 0.20365563891426552, 0.32856908333908263, 0.508535981970067, 0.670062722012975, 0.2709322094932049, 0.3038809822055101]","[0.41543039333650833, 0.6614358260242903, 0.24373609609710786, 0.384228244423019, 0.603001507114574, 0.8509662250083222, 0.309811235614449, 0.2822458495441181]",2186789,138,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6707006667666381, 'uniform': 0.6809966041879847, 'top1': 0.670062722012975, 'top2': 0.6708633202970876, 'top3': 0.6700126434291589}",0.875244862502354,0.15694088885158228,0.008585482330209854,0.7263052830088944,0.5965506068759152,student,0.754,
7
+ 6,174,24.0,499.4,"[0.3681232181861549, 0.5551674270712343, 0.2021990584599616, 0.33618850765162767, 0.5048303375240749, 0.6641611574975141, 0.2725573674876931, 0.30352943057597503]","[0.43428106838072467, 0.6680803435489528, 0.23994257936146782, 0.39529555441652675, 0.5914807803652934, 0.8240333760711983, 0.3198122503561808, 0.29933052019728335]",2478728,165,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.664855616294795, 'uniform': 0.6832583651582114, 'top1': 0.6641611574975141, 'top2': 0.6650440389558555, 'top3': 0.6640915000195716}",0.8926858816531681,0.1439952713975571,0.007831732653372411,0.7929019284967859,0.5956894105964962,student,0.976,
8
+ 7,174,0.0,222.6,,,,,,,,,,,,0.8886851466384921,0.1466770562917574,0.007776746073254894,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [10:07:32][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-mcdropout budget=5.0% seed=2 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "variant": "macs-v11-norestart-acq-mcdropout", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "mcdropout", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [10:07:32][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [10:07:32][ 0s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [10:07:34][ 2s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, snemi=3.55, mouse-brain=4.07
5
+ [10:07:35][ 3s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [10:07:41][ 9s][WEIGHTS] mixture: c-elegans=0.099, cerebellum=0.029, flywire=0.007, berghia=0.148, microns=0.032, oct-glia=0.636, snemi=0.019, mouse-brain=0.031 | eff.sources=3.41 | MMD2 mix=0.0128 uniform=0.0970
7
+ [10:07:41][ 9s][WEIGHTS] per-source: c-elegans=0.320, cerebellum=0.017, flywire=0.001, berghia=0.175, microns=0.027, oct-glia=0.436, snemi=0.017, mouse-brain=0.007 | min-MMD source (NeuroADDA rule) = oct-glia
8
+ [10:08:36][ 65s][TEACHERS] target-val Dice: c-elegans=0.476, cerebellum=0.633, flywire=0.142, berghia=0.467, microns=0.708, oct-glia=0.845, snemi=0.229, mouse-brain=0.115
9
+ [10:08:36][ 65s][TEACHERS] ensemble target-val Dice: mixture=0.849, mixture@raw=0.847, mixture@logit=0.850, per_source=0.843, per_source@raw=0.619, per_source@logit=0.848, uniform=0.718, uniform@raw=0.677, uniform@logit=0.807
10
+ [10:08:36][ 65s][WEIGHTS] using mixture: c-elegans=0.099, cerebellum=0.029, flywire=0.007, berghia=0.148, microns=0.032, oct-glia=0.636, snemi=0.019, mouse-brain=0.031
11
+ [10:08:36][ 65s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [10:08:40][ 68s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [10:08:40][ 68s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [10:11:05][ 214s][KD] soft labels for 3584 patches from 8 teachers in 146s
15
+ [10:12:52][ 320s][KD] epoch 1/5 | patches=3584 | loss=0.5966 | 107s
16
+ [10:14:39][ 427s][KD] epoch 2/5 | patches=3584 | loss=0.4565 | 107s
17
+ [10:16:25][ 534s][KD] epoch 3/5 | patches=3584 | loss=0.4027 | 107s
18
+ [10:18:12][ 640s][KD] epoch 4/5 | patches=3584 | loss=0.3656 | 107s
19
+ [10:19:58][ 747s][KD] epoch 5/5 | patches=3584 | loss=0.3396 | 106s
20
+ [10:20:03][ 751s][ROUND0] before any target label: val_dice=0.8449 val_vi=0.1459
21
+ [10:20:03][ 751s][AL] patches=3584 (pool 2338 after dropping blank; free blank negatives: True) | budget=179 (5.0%) | rounds=6 | per_round=29 | acquisition=mcdropout | first_round=stratified
22
+ [10:20:17][ 765s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': 0.4329896382452679, 'auroc_top20_error': 0.6001805384158325}
23
+ [10:21:39][ 847s][AL] round 1: stratified cold start: 15 patches from the membrane-rich half (ensemble prevalence >= 0.192) + 14 from the membrane-poor half of 2000 candidates
24
+ [10:21:48][ 857s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.765, uniform=0.741, top1=0.765, top2=0.764, top3=0.765 -> using mixture
25
+ [10:21:49][ 857s][WEIGHTS] round 1: student kept (labeled Dice 0.743 vs best teacher oct-glia 0.765); distilling the corrected ensemble into it
26
+ [10:21:49][ 857s][WEIGHTS] round 1: teacher Dice on 29 labeled patches + 29 blank (179039 fg px): c-elegans=0.257, cerebellum=0.569, flywire=0.169, berghia=0.276, microns=0.581, oct-glia=0.765, snemi=0.110, mouse-brain=0.203 | weights: c-elegans=0.001, cerebellum=0.006, flywire=0.000, berghia=0.002, microns=0.008, oct-glia=0.983, snemi=0.000, mouse-brain=0.000
27
+ [10:23:23][ 952s][KD] soft labels for 2309 patches from 8 teachers in 94s
28
+ [10:24:32][ 1021s][KD] epoch 1/2 | patches=2309 | loss=0.1381 | 69s
29
+ [10:25:41][ 1089s][KD] epoch 2/2 | patches=2309 | loss=0.1326 | 69s
30
+ [10:27:03][ 1171s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 82s
31
+ [10:27:08][ 1176s][FT] round 1/6 epoch 1/5 | patches=58 | loss=0.8672
32
+ [10:27:12][ 1180s][FT] round 1/6 epoch 2/5 | patches=58 | loss=0.5693
33
+ [10:27:17][ 1185s][FT] round 1/6 epoch 3/5 | patches=58 | loss=0.5764
34
+ [10:27:21][ 1189s][FT] round 1/6 epoch 4/5 | patches=58 | loss=0.4051
35
+ [10:27:25][ 1194s][FT] round 1/6 epoch 5/5 | patches=58 | loss=0.4886
36
+ [10:27:30][ 1198s][AL] round 1/6 | labeled=29 | selection_seconds=96.1000 round_seconds=442.6000 restart_student_dice=0.7430 restart_teacher_dice=0.7648 val_dice=0.4271 val_vi=0.2099 val_ece=0.0166
37
+ [10:27:44][ 1212s][AL] round 2: 288/2309 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [10:28:02][ 1230s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.362, uniform=0.381, top1=0.360, top2=0.360, top3=0.359 -> using uniform
39
+ [10:28:02][ 1230s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (769883 fg px): c-elegans=0.226, cerebellum=0.317, flywire=0.125, berghia=0.184, microns=0.282, oct-glia=0.360, snemi=0.215, mouse-brain=0.253 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
40
+ [10:28:19][ 1247s][CONS] round 2: on the 29 new patches student Dice=0.404 vs ensemble 0.189 -> pseudo-labels from the student | consistency x0.00
41
+ [10:28:22][ 1251s][FT] round 2/6 epoch 1/5 | patches=116 | loss=1.2214
42
+ [10:28:26][ 1255s][FT] round 2/6 epoch 2/5 | patches=116 | loss=0.9194
43
+ [10:28:30][ 1259s][FT] round 2/6 epoch 3/5 | patches=116 | loss=1.1992
44
+ [10:28:34][ 1262s][FT] round 2/6 epoch 4/5 | patches=116 | loss=1.0262
45
+ [10:28:38][ 1266s][FT] round 2/6 epoch 5/5 | patches=116 | loss=0.7869
46
+ [10:28:43][ 1271s][AL] round 2/6 | labeled=58 | selection_seconds=14.2000 round_seconds=68.2000 pseudo_student_dice=0.4044 pseudo_ensemble_dice=0.1885 consistency_scale=0.0000 val_dice=0.8393 val_vi=0.1872 val_ece=0.0451
47
+ [10:28:56][ 1285s][AL] round 3: 558/2280 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [10:31:44][ 1453s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.403, cerebellum=0.620, flywire=0.226, berghia=0.366, microns=0.543, oct-glia=0.767, snemi=0.319, mouse-brain=0.296 | blended with labeled Dice at 0.50
49
+ [10:34:23][ 1611s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.603, uniform=0.611, top1=0.603, top2=0.603, top3=0.603 -> using uniform
50
+ [10:34:23][ 1611s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (1110404 fg px): c-elegans=0.335, cerebellum=0.500, flywire=0.183, berghia=0.301, microns=0.442, oct-glia=0.603, snemi=0.263, mouse-brain=0.282 | weights: c-elegans=0.125, cerebellum=0.125, flywire=0.125, berghia=0.125, microns=0.125, oct-glia=0.125, snemi=0.125, mouse-brain=0.125
51
+ [10:34:39][ 1627s][CONS] round 3: on the 29 new patches student Dice=0.758 vs ensemble 0.613 -> pseudo-labels from the student | consistency x0.86
52
+ [10:34:50][ 1638s][FT] round 3/6 epoch 1/5 | patches=174 | loss=0.9883
53
+ [10:35:01][ 1649s][FT] round 3/6 epoch 2/5 | patches=174 | loss=0.7900
54
+ [10:35:12][ 1660s][FT] round 3/6 epoch 3/5 | patches=174 | loss=0.6876
55
+ [10:35:23][ 1672s][FT] round 3/6 epoch 4/5 | patches=174 | loss=0.6380
56
+ [10:35:34][ 1683s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.7518
57
+ [10:35:39][ 1687s][AL] round 3/6 | labeled=87 | selection_seconds=14.0000 round_seconds=411.9000 pseudo_student_dice=0.7578 pseudo_ensemble_dice=0.6134 consistency_scale=0.8590 val_dice=0.8606 val_vi=0.1726 val_ece=0.0064
58
+ [10:35:53][ 1701s][AL] round 4: 563/2251 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [10:38:45][ 1873s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.409, cerebellum=0.642, flywire=0.233, berghia=0.378, microns=0.575, oct-glia=0.810, snemi=0.320, mouse-brain=0.287 | blended with labeled Dice at 0.50
60
+ [10:41:27][ 2036s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.638, uniform=0.635, top1=0.637, top2=0.638, top3=0.637 -> using mixture
61
+ [10:41:27][ 2036s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (1435427 fg px): c-elegans=0.338, cerebellum=0.505, flywire=0.188, berghia=0.309, microns=0.461, oct-glia=0.637, snemi=0.261, mouse-brain=0.273 | weights: c-elegans=0.008, cerebellum=0.012, flywire=0.000, berghia=0.008, microns=0.008, oct-glia=0.962, snemi=0.001, mouse-brain=0.001
62
+ [10:41:44][ 2052s][CONS] round 4: on the 29 new patches student Dice=0.736 vs ensemble 0.545 -> pseudo-labels from the student | consistency x0.79
63
+ [10:41:58][ 2066s][FT] round 4/6 epoch 1/5 | patches=232 | loss=0.6580
64
+ [10:42:13][ 2081s][FT] round 4/6 epoch 2/5 | patches=232 | loss=0.6007
65
+ [10:42:27][ 2095s][FT] round 4/6 epoch 3/5 | patches=232 | loss=0.4883
66
+ [10:42:42][ 2110s][FT] round 4/6 epoch 4/5 | patches=232 | loss=0.4529
67
+ [10:42:56][ 2124s][FT] round 4/6 epoch 5/5 | patches=232 | loss=0.4728
68
+ [10:43:01][ 2129s][AL] round 4/6 | labeled=116 | selection_seconds=13.8000 round_seconds=437.2000 pseudo_student_dice=0.7360 pseudo_ensemble_dice=0.5446 consistency_scale=0.7870 val_dice=0.8463 val_vi=0.1834 val_ece=0.0116
69
+ [10:43:14][ 2142s][AL] round 5: 554/2222 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [10:46:10][ 2319s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.429, cerebellum=0.644, flywire=0.232, berghia=0.392, microns=0.571, oct-glia=0.789, snemi=0.335, mouse-brain=0.307 | blended with labeled Dice at 0.50
71
+ [10:48:57][ 2485s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.643, uniform=0.643, top1=0.643, top2=0.643, top3=0.642 -> using mixture
72
+ [10:48:57][ 2485s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (1729181 fg px): c-elegans=0.348, cerebellum=0.509, flywire=0.190, berghia=0.317, microns=0.469, oct-glia=0.643, snemi=0.263, mouse-brain=0.283 | weights: c-elegans=0.008, cerebellum=0.011, flywire=0.000, berghia=0.009, microns=0.008, oct-glia=0.962, snemi=0.001, mouse-brain=0.001
73
+ [10:49:13][ 2501s][CONS] round 5: on the 29 new patches student Dice=0.674 vs ensemble 0.635 -> pseudo-labels from the student | consistency x0.58
74
+ [10:49:31][ 2519s][FT] round 5/6 epoch 1/5 | patches=290 | loss=0.5204
75
+ [10:49:49][ 2537s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.4699
76
+ [10:50:07][ 2555s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.4563
77
+ [10:50:25][ 2573s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.3912
78
+ [10:50:43][ 2591s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.3980
79
+ [10:50:48][ 2596s][AL] round 5/6 | labeled=145 | selection_seconds=13.5000 round_seconds=462.7000 pseudo_student_dice=0.6738 pseudo_ensemble_dice=0.6353 consistency_scale=0.5790 val_dice=0.8727 val_vi=0.1596 val_ece=0.0109
80
+ [10:51:01][ 2609s][AL] round 6: 570/2193 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [10:54:03][ 2791s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.402, cerebellum=0.642, flywire=0.237, berghia=0.377, microns=0.593, oct-glia=0.844, snemi=0.306, mouse-brain=0.275 | blended with labeled Dice at 0.50
82
+ [10:56:54][ 2962s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.681, uniform=0.666, top1=0.680, top2=0.681, top3=0.680 -> using mixture
83
+ [10:56:54][ 2962s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (2114988 fg px): c-elegans=0.339, cerebellum=0.523, flywire=0.197, berghia=0.317, microns=0.492, oct-glia=0.680, snemi=0.250, mouse-brain=0.271 | weights: c-elegans=0.005, cerebellum=0.009, flywire=0.000, berghia=0.006, microns=0.007, oct-glia=0.971, snemi=0.000, mouse-brain=0.001
84
+ [10:57:10][ 2978s][CONS] round 6: on the 29 new patches student Dice=0.694 vs ensemble 0.595 -> pseudo-labels from the student | consistency x0.65
85
+ [10:57:32][ 3000s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.4019
86
+ [10:57:53][ 3021s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.3831
87
+ [10:58:14][ 3043s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.3692
88
+ [10:58:36][ 3064s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.3469
89
+ [10:58:57][ 3085s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.3359
90
+ [10:59:02][ 3090s][AL] round 6/6 | labeled=174 | selection_seconds=13.4000 round_seconds=489.5000 pseudo_student_dice=0.6941 pseudo_ensemble_dice=0.5954 consistency_scale=0.6470 val_dice=0.8811 val_vi=0.1517 val_ece=0.0088
91
+ [10:59:12][ 3100s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [10:59:33][ 3121s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.3833
93
+ [10:59:54][ 3142s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.3832
94
+ [11:00:16][ 3164s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.3428
95
+ [11:00:37][ 3185s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.3186
96
+ [11:00:58][ 3207s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.3337
97
+ [11:01:20][ 3228s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.3198
98
+ [11:01:41][ 3249s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.3078
99
+ [11:02:02][ 3271s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.3041
100
+ [11:02:24][ 3292s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.3015
101
+ [11:02:45][ 3313s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.3106
102
+ [11:02:50][ 3318s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=223.7000 val_dice=0.8877 val_vi=0.1480 val_ece=0.0073
103
+ [11:02:50][ 3318s][WEIGHTS] final: c-elegans=0.005, cerebellum=0.009, flywire=0.000, berghia=0.006, microns=0.007, oct-glia=0.971, snemi=0.000, mouse-brain=0.001
104
+ [11:03:26][ 3354s][TEST] raw student (no EMA, no TTA): patch_dice=0.8632 patch_vi=0.1811
105
+ [11:03:30][ 3359s][TEST] final model without TTA: patch_dice=0.8632 patch_vi=0.1811
106
+ [11:03:30][ 3359s][RESOURCES] {"phases": {"setup": {"seconds": 1.48, "peak_cpu_rss_mb": 2182.8, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 65.58, "peak_cpu_rss_mb": 4183.0, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 678.72, "peak_cpu_rss_mb": 5202.5, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4598.0, "kd_epochs": 5}, "active_learning": {"seconds": 2566.86, "peak_cpu_rss_mb": 5202.5, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4606.0, "rounds": 6}, "inference": {"seconds": 40.64, "peak_cpu_rss_mb": 5202.5, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4606.0, "patches": 768, "images": 6, "patches_per_second": 18.9, "seconds_per_image": 6.773}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5202.5, "total_seconds": 3353.3}
107
+ [11:03:30][ 3359s][TEST] patch_dice=0.8643 patch_iou=0.8032 patch_precision=0.8908 patch_recall=0.8768 patch_vi=0.1774 image_dice=0.7988 image_iou=0.6722 image_precision=0.7880 image_recall=0.8158 image_vi=0.2006 cal_ece=0.0069 cal_nll=0.0758 cal_brier=0.0221 cal_mean_confidence=0.9769 cal_accuracy=0.9700 cal_predicted_prevalence=0.0760 cal_true_prevalence=0.0718 cal_mean_probability=0.0768
108
+ [11:03:31][ 3359s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-mcdropout b5 s2 | test patch Dice=0.8643 VI=0.1774 | image Dice=0.7988 VI=0.2006 | 3359s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-mcdropout",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
9
+ "variant": "macs-v11-norestart-acq-mcdropout",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "mcdropout",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "octopus-vulgaris-vertical-lobe-sfltract",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-mcdropout",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "snemi3d",
150
+ "whole-mouse-brain"
151
+ ],
152
+ "alphas": [
153
+ 0.09888716021456875,
154
+ 0.02852231397957182,
155
+ 0.006877159468562143,
156
+ 0.147623932500446,
157
+ 0.03162958721157525,
158
+ 0.636412589592954,
159
+ 0.019031438719961654,
160
+ 0.031015818312360402
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "snemi3d",
171
+ "whole-mouse-brain"
172
+ ],
173
+ "mixture": [
174
+ 0.09888716021456875,
175
+ 0.02852231397957182,
176
+ 0.006877159468562143,
177
+ 0.147623932500446,
178
+ 0.03162958721157525,
179
+ 0.636412589592954,
180
+ 0.019031438719961654,
181
+ 0.031015818312360402
182
+ ],
183
+ "per_source": [
184
+ 0.3196471036584027,
185
+ 0.016524109438155077,
186
+ 0.0007715730533314212,
187
+ 0.17539928949217498,
188
+ 0.027481458110301667,
189
+ 0.4363205819091585,
190
+ 0.016643531248023022,
191
+ 0.007212353090452595
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.00048686699692031786,
205
+ "mmd2_mixture": 0.012755679331756475,
206
+ "mmd2_uniform": 0.09698314484068699,
207
+ "mmd2_single_source": [
208
+ 0.07244562949164945,
209
+ 0.2568973175367495,
210
+ 0.39290896557558747,
211
+ 0.05287206442937192,
212
+ 0.2649845830320105,
213
+ 0.011934176639413208,
214
+ 0.33925886828153656,
215
+ 0.26844309711822195
216
+ ],
217
+ "median_squared_distance": 0.1834397705913593,
218
+ "gammas": [
219
+ 1.3628451409095685,
220
+ 2.725690281819137,
221
+ 5.451380563638274,
222
+ 10.902761127276548,
223
+ 21.805522254553097
224
+ ],
225
+ "max_weight": 0.636412589592954,
226
+ "entropy": 1.2268812334836157,
227
+ "effective_sources": 3.4105761415276636,
228
+ "min_weight": 0.006877159468562143
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.049620160284728154,
233
+ 0.42663804362685775,
234
+ 0.8166050888075048,
235
+ 0.12600028070223912,
236
+ 0.36189803378480956,
237
+ 0.01001954120360149,
238
+ 0.42572157074448214,
239
+ 0.5321462950254623
240
+ ],
241
+ "standardized": [
242
+ -1.1548909896059252,
243
+ 0.32630755724364063,
244
+ 1.8583797643241364,
245
+ -0.8548147110811022,
246
+ 0.07196204012648774,
247
+ -1.3104708228948398,
248
+ 0.3227069898393355,
249
+ 0.740820172048267
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363205819091585,
253
+ "entropy": 1.3076009419864412,
254
+ "effective_sources": 3.6972930433455575,
255
+ "min_weight": 0.0007715730533314212
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.6
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.47571341080584045,
265
+ 0.6329400594773938,
266
+ 0.1419064245794933,
267
+ 0.4669233743357945,
268
+ 0.7079863797747427,
269
+ 0.8450584862058909,
270
+ 0.22902171788078127,
271
+ 0.11473171105409108
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8488016622672679,
275
+ "mixture@raw": 0.8468775415451569,
276
+ "mixture@logit": 0.8498181877900208,
277
+ "per_source": 0.8430718482924652,
278
+ "per_source@raw": 0.6192917168334541,
279
+ "per_source@logit": 0.8479512124278182,
280
+ "uniform": 0.7183086201637726,
281
+ "uniform@raw": 0.6771618878909939,
282
+ "uniform@logit": 0.8065091143369424
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 3.547258138656616,
294
+ 4.074584007263184
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.636412589592954,
299
+ "entropy": 1.2268812334836157,
300
+ "effective_sources": 3.4105761415276636,
301
+ "min_weight": 0.006877159468562143
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.5952380952380953,
305
+ "spearman_weight_taxonomy": 0.6257415691925263,
306
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
307
+ "top_source_is_best_teacher": true
308
+ },
309
+ "init_teacher": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.34765625,
312
+ "kd_seconds": 678.7,
313
+ "round0_val": {
314
+ "val_dice": 0.844884651592599,
315
+ "val_vi": 0.14593690508010287,
316
+ "val_ece": 0.06297539540092424
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 96.1,
323
+ "round_seconds": 442.6,
324
+ "teacher_dice_labeled": [
325
+ 0.25717887499142283,
326
+ 0.5690769623050445,
327
+ 0.1686301357941244,
328
+ 0.27579610687630757,
329
+ 0.5811094797160338,
330
+ 0.7648037373241484,
331
+ 0.10985651675729007,
332
+ 0.20342648065706517
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 179039,
336
+ "evidence_nonempty_patches": 21,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.7429788813082652,
340
+ "restart_teacher_dice": 0.7648037373241484,
341
+ "weights": [
342
+ 0.0009536818496459393,
343
+ 0.006223068059955061,
344
+ 2.7359642534432497e-05,
345
+ 0.0017150389707529289,
346
+ 0.0077834094558282,
347
+ 0.9830806325167469,
348
+ 4.206514211543207e-05,
349
+ 0.0001747443624209932
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.7647068027764391,
354
+ "uniform": 0.7405350046482169,
355
+ "top1": 0.7648037373241484,
356
+ "top2": 0.7643927747284575,
357
+ "top3": 0.7646270894165438
358
+ },
359
+ "val_dice": 0.4270724097964022,
360
+ "val_vi": 0.20986386428805637,
361
+ "val_ece": 0.016562829469566765
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 14.2,
367
+ "round_seconds": 68.2,
368
+ "teacher_dice_labeled": [
369
+ 0.22587745940791537,
370
+ 0.31698070371161113,
371
+ 0.12462178899546054,
372
+ 0.18431241169575352,
373
+ 0.2822639835725904,
374
+ 0.35970436518487914,
375
+ 0.21512327894146918,
376
+ 0.25303882275789313
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 769883,
380
+ "evidence_nonempty_patches": 47,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.125,
385
+ 0.125,
386
+ 0.125,
387
+ 0.125,
388
+ 0.125,
389
+ 0.125,
390
+ 0.125,
391
+ 0.125
392
+ ],
393
+ "ensemble_choice": "uniform",
394
+ "candidate_dice": {
395
+ "mixture": 0.3621730033525568,
396
+ "uniform": 0.38051786207576516,
397
+ "top1": 0.35970436518487914,
398
+ "top2": 0.36039438680228353,
399
+ "top3": 0.3593144880664838
400
+ },
401
+ "pseudo_student_dice": 0.404397978293183,
402
+ "pseudo_ensemble_dice": 0.1885413347061179,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.0,
405
+ "val_dice": 0.839313244845056,
406
+ "val_vi": 0.1871619919775931,
407
+ "val_ece": 0.04511803920160227
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 14.0,
413
+ "round_seconds": 411.9,
414
+ "teacher_dice_labeled": [
415
+ 0.3347328518610615,
416
+ 0.5001404973411617,
417
+ 0.18257684052307566,
418
+ 0.301204699930828,
419
+ 0.4424734262397891,
420
+ 0.6025802942919263,
421
+ 0.2628953407838804,
422
+ 0.2819626314895449
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.4027438950161543,
426
+ 0.6200607333924688,
427
+ 0.22590870742348548,
428
+ 0.366050843102077,
429
+ 0.5429376205791411,
430
+ 0.7671385769259249,
431
+ 0.31892228647137716,
432
+ 0.2960467280637949
433
+ ],
434
+ "evidence_fg_pixels": 1110404,
435
+ "evidence_nonempty_patches": 74,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.125,
440
+ 0.125,
441
+ 0.125,
442
+ 0.125,
443
+ 0.125,
444
+ 0.125,
445
+ 0.125,
446
+ 0.125
447
+ ],
448
+ "ensemble_choice": "uniform",
449
+ "candidate_dice": {
450
+ "mixture": 0.6034687502246806,
451
+ "uniform": 0.6108538918617112,
452
+ "top1": 0.6025802942919263,
453
+ "top2": 0.6033994926595407,
454
+ "top3": 0.6025226457729906
455
+ },
456
+ "pseudo_student_dice": 0.7577983328352536,
457
+ "pseudo_ensemble_dice": 0.6134312812346644,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.859,
460
+ "val_dice": 0.8606391248002924,
461
+ "val_vi": 0.17258987468099388,
462
+ "val_ece": 0.006442501714751189
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 116,
467
+ "selection_seconds": 13.8,
468
+ "round_seconds": 437.2,
469
+ "teacher_dice_labeled": [
470
+ 0.3381786272232266,
471
+ 0.5052704073606991,
472
+ 0.1878705984148606,
473
+ 0.3089617272275621,
474
+ 0.46140194760202413,
475
+ 0.6371013035682522,
476
+ 0.26058193018573017,
477
+ 0.27253356202443413
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.4089333685603796,
481
+ 0.6416396488347919,
482
+ 0.23295701412877842,
483
+ 0.3780127247463931,
484
+ 0.5753647964100921,
485
+ 0.8100108079944658,
486
+ 0.3195180987768935,
487
+ 0.2872763217692721
488
+ ],
489
+ "evidence_fg_pixels": 1435427,
490
+ "evidence_nonempty_patches": 100,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.007524908071981864,
495
+ 0.01154028224680597,
496
+ 0.00011641016732088002,
497
+ 0.008387464194102436,
498
+ 0.008252905997431267,
499
+ 0.9622872783077605,
500
+ 0.0006665530822541776,
501
+ 0.0012241979323426642
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.637705710703107,
506
+ "uniform": 0.6351334535951196,
507
+ "top1": 0.6371013035682522,
508
+ "top2": 0.6377429880954093,
509
+ "top3": 0.636979409689884
510
+ },
511
+ "pseudo_student_dice": 0.7359883623178871,
512
+ "pseudo_ensemble_dice": 0.5445880183283505,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.787,
515
+ "val_dice": 0.8462507575573692,
516
+ "val_vi": 0.18344553848250167,
517
+ "val_ece": 0.011602489143117903
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 145,
522
+ "selection_seconds": 13.5,
523
+ "round_seconds": 462.7,
524
+ "teacher_dice_labeled": [
525
+ 0.34783195263869726,
526
+ 0.5085847810456393,
527
+ 0.18989485557335906,
528
+ 0.31691661905716506,
529
+ 0.46906773359921405,
530
+ 0.6426591476342762,
531
+ 0.2632133787604556,
532
+ 0.2833962106620097
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.4291246304900841,
536
+ 0.6440484423766484,
537
+ 0.23188019058719783,
538
+ 0.39202517928015146,
539
+ 0.5713678412064529,
540
+ 0.7885259140627896,
541
+ 0.33496846094096766,
542
+ 0.306770538899655
543
+ ],
544
+ "evidence_fg_pixels": 1729181,
545
+ "evidence_nonempty_patches": 128,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.007835715882556655,
550
+ 0.011278833739633114,
551
+ 0.00011231448567228763,
552
+ 0.008586812058593643,
553
+ 0.008424664331596915,
554
+ 0.9618243695229529,
555
+ 0.0006470183518167428,
556
+ 0.0012902716271775594
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.6431960380116553,
561
+ "uniform": 0.6427129289897711,
562
+ "top1": 0.6426591476342762,
563
+ "top2": 0.64328273965317,
564
+ "top3": 0.6424447067725132
565
+ },
566
+ "pseudo_student_dice": 0.6737726910002576,
567
+ "pseudo_ensemble_dice": 0.6352852470158447,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.579,
570
+ "val_dice": 0.872681189635275,
571
+ "val_vi": 0.15964571873942823,
572
+ "val_ece": 0.010866263393352124
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 174,
577
+ "selection_seconds": 13.4,
578
+ "round_seconds": 489.5,
579
+ "teacher_dice_labeled": [
580
+ 0.3394639924416737,
581
+ 0.5227582892078185,
582
+ 0.197064979552099,
583
+ 0.3167971266642039,
584
+ 0.4920812887171,
585
+ 0.6802133425724319,
586
+ 0.25012603080841567,
587
+ 0.2710178116401448
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.4019549577525064,
591
+ 0.6424874197113001,
592
+ 0.23732978669094343,
593
+ 0.37713044373411325,
594
+ 0.5927859949030386,
595
+ 0.8444809846026134,
596
+ 0.3055219464803523,
597
+ 0.2746842105078218
598
+ ],
599
+ "evidence_fg_pixels": 2114988,
600
+ "evidence_nonempty_patches": 157,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.004999738768501313,
605
+ 0.00901631717958687,
606
+ 8.371156243438058e-05,
607
+ 0.00595008583835789,
608
+ 0.007357146913473611,
609
+ 0.9714082673176162,
610
+ 0.00039381222300683295,
611
+ 0.0007909201970230076
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.6805360799138476,
616
+ "uniform": 0.6664409579587651,
617
+ "top1": 0.6802133425724319,
618
+ "top2": 0.6806826202966263,
619
+ "top3": 0.6800856327938514
620
+ },
621
+ "pseudo_student_dice": 0.6941139408873892,
622
+ "pseudo_ensemble_dice": 0.5953877530550494,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.647,
625
+ "val_dice": 0.8810563017493284,
626
+ "val_vi": 0.1516974844445877,
627
+ "val_ece": 0.008790176335206875
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 174,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 223.7,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.8877374793949646,
636
+ "val_vi": 0.1480138674777313,
637
+ "val_ece": 0.00734695886139486
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.4329896382452679,
642
+ "auroc_top20_error": 0.6001805384158325
643
+ },
644
+ "al_seconds": 2566.9,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.004999738768501313,
657
+ 0.00901631717958687,
658
+ 8.371156243438058e-05,
659
+ 0.00595008583835789,
660
+ 0.007357146913473611,
661
+ 0.9714082673176162,
662
+ 0.00039381222300683295,
663
+ 0.0007909201970230076
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.9714082673176162,
667
+ "entropy": 0.17327628466338119,
668
+ "effective_sources": 1.1891946159348459,
669
+ "min_weight": 8.371156243438058e-05
670
+ },
671
+ "top_source_final": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.8631586445206421,
676
+ "patch_iou": 0.799814331641088,
677
+ "patch_precision": 0.8821052042572802,
678
+ "patch_recall": 0.8785268631377646,
679
+ "patch_vi": 0.18109389859865985,
680
+ "n_patches": 768,
681
+ "cal_ece": 0.008786372724529175,
682
+ "cal_nll": 0.08220366447098529,
683
+ "cal_brier": 0.022817539634909845,
684
+ "cal_mean_confidence": 0.9779814207388521,
685
+ "cal_accuracy": 0.9691950480143229,
686
+ "cal_predicted_prevalence": 0.07668304443359375,
687
+ "cal_true_prevalence": 0.07175954182942708,
688
+ "cal_mean_probability": 0.0772628882504308
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.8631586445206421,
692
+ "patch_iou": 0.799814331641088,
693
+ "patch_precision": 0.8821052042572802,
694
+ "patch_recall": 0.8785268631377646,
695
+ "patch_vi": 0.18109389859865985,
696
+ "n_patches": 768,
697
+ "cal_ece": 0.008786372724529175,
698
+ "cal_nll": 0.08220366447098529,
699
+ "cal_brier": 0.022817539634909845,
700
+ "cal_mean_confidence": 0.9779814207388521,
701
+ "cal_accuracy": 0.9691950480143229,
702
+ "cal_predicted_prevalence": 0.07668304443359375,
703
+ "cal_true_prevalence": 0.07175954182942708,
704
+ "cal_mean_probability": 0.0772628882504308
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.8642838710090276,
708
+ "patch_iou": 0.8032092821758569,
709
+ "patch_precision": 0.890816581492523,
710
+ "patch_recall": 0.8768043999013256,
711
+ "patch_vi": 0.17736875597624022,
712
+ "n_patches": 768,
713
+ "image_dice": 0.7988423190301718,
714
+ "image_iou": 0.672154603933092,
715
+ "image_precision": 0.7880281390563937,
716
+ "image_recall": 0.8158464700761794,
717
+ "image_vi": 0.2006298433573774,
718
+ "n_images": 6,
719
+ "cal_ece": 0.006921095013166664,
720
+ "cal_nll": 0.07579974673544221,
721
+ "cal_brier": 0.02208113620039101,
722
+ "cal_mean_confidence": 0.9768672505378339,
723
+ "cal_accuracy": 0.9700101216634115,
724
+ "cal_predicted_prevalence": 0.07602818806966145,
725
+ "cal_true_prevalence": 0.07175954182942708,
726
+ "cal_mean_probability": 0.07675483929619768
727
+ },
728
+ "eval_seconds": 40.6,
729
+ "total_seconds": 3358.6,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.48,
734
+ "peak_cpu_rss_mb": 2182.8,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 65.58,
740
+ "peak_cpu_rss_mb": 4183.0,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 678.72,
746
+ "peak_cpu_rss_mb": 5202.5,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4598.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2566.86,
753
+ "peak_cpu_rss_mb": 5202.5,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4606.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 40.64,
760
+ "peak_cpu_rss_mb": 5202.5,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4606.0,
763
+ "patches": 768,
764
+ "images": 6,
765
+ "patches_per_second": 18.9,
766
+ "seconds_per_image": 6.773
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5202.5,
771
+ "total_seconds": 3353.3
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-mcdropout_b5_s2.pth"
785
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,29,96.1,442.6,"[0.25717887499142283, 0.5690769623050445, 0.1686301357941244, 0.27579610687630757, 0.5811094797160338, 0.7648037373241484, 0.10985651675729007, 0.20342648065706517]",,179039,21,True,kept,0.7429788813082652,0.7648037373241484,"[0.0009536818496459393, 0.006223068059955061, 2.7359642534432497e-05, 0.0017150389707529289, 0.0077834094558282, 0.9830806325167469, 4.206514211543207e-05, 0.0001747443624209932]",mixture,"{'mixture': 0.7647068027764391, 'uniform': 0.7405350046482169, 'top1': 0.7648037373241484, 'top2': 0.7643927747284575, 'top3': 0.7646270894165438}",0.4270724097964022,0.20986386428805637,0.016562829469566765,,,,,
3
+ 2,58,14.2,68.2,"[0.22587745940791537, 0.31698070371161113, 0.12462178899546054, 0.18431241169575352, 0.2822639835725904, 0.35970436518487914, 0.21512327894146918, 0.25303882275789313]",,769883,47,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.3621730033525568, 'uniform': 0.38051786207576516, 'top1': 0.35970436518487914, 'top2': 0.36039438680228353, 'top3': 0.3593144880664838}",0.839313244845056,0.1871619919775931,0.04511803920160227,0.404397978293183,0.1885413347061179,student,0.0,
4
+ 3,87,14.0,411.9,"[0.3347328518610615, 0.5001404973411617, 0.18257684052307566, 0.301204699930828, 0.4424734262397891, 0.6025802942919263, 0.2628953407838804, 0.2819626314895449]","[0.4027438950161543, 0.6200607333924688, 0.22590870742348548, 0.366050843102077, 0.5429376205791411, 0.7671385769259249, 0.31892228647137716, 0.2960467280637949]",1110404,74,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6034687502246806, 'uniform': 0.6108538918617112, 'top1': 0.6025802942919263, 'top2': 0.6033994926595407, 'top3': 0.6025226457729906}",0.8606391248002924,0.17258987468099388,0.006442501714751189,0.7577983328352536,0.6134312812346644,student,0.859,
5
+ 4,116,13.8,437.2,"[0.3381786272232266, 0.5052704073606991, 0.1878705984148606, 0.3089617272275621, 0.46140194760202413, 0.6371013035682522, 0.26058193018573017, 0.27253356202443413]","[0.4089333685603796, 0.6416396488347919, 0.23295701412877842, 0.3780127247463931, 0.5753647964100921, 0.8100108079944658, 0.3195180987768935, 0.2872763217692721]",1435427,100,False,,,,"[0.007524908071981864, 0.01154028224680597, 0.00011641016732088002, 0.008387464194102436, 0.008252905997431267, 0.9622872783077605, 0.0006665530822541776, 0.0012241979323426642]",mixture,"{'mixture': 0.637705710703107, 'uniform': 0.6351334535951196, 'top1': 0.6371013035682522, 'top2': 0.6377429880954093, 'top3': 0.636979409689884}",0.8462507575573692,0.18344553848250167,0.011602489143117903,0.7359883623178871,0.5445880183283505,student,0.787,
6
+ 5,145,13.5,462.7,"[0.34783195263869726, 0.5085847810456393, 0.18989485557335906, 0.31691661905716506, 0.46906773359921405, 0.6426591476342762, 0.2632133787604556, 0.2833962106620097]","[0.4291246304900841, 0.6440484423766484, 0.23188019058719783, 0.39202517928015146, 0.5713678412064529, 0.7885259140627896, 0.33496846094096766, 0.306770538899655]",1729181,128,False,,,,"[0.007835715882556655, 0.011278833739633114, 0.00011231448567228763, 0.008586812058593643, 0.008424664331596915, 0.9618243695229529, 0.0006470183518167428, 0.0012902716271775594]",mixture,"{'mixture': 0.6431960380116553, 'uniform': 0.6427129289897711, 'top1': 0.6426591476342762, 'top2': 0.64328273965317, 'top3': 0.6424447067725132}",0.872681189635275,0.15964571873942823,0.010866263393352124,0.6737726910002576,0.6352852470158447,student,0.579,
7
+ 6,174,13.4,489.5,"[0.3394639924416737, 0.5227582892078185, 0.197064979552099, 0.3167971266642039, 0.4920812887171, 0.6802133425724319, 0.25012603080841567, 0.2710178116401448]","[0.4019549577525064, 0.6424874197113001, 0.23732978669094343, 0.37713044373411325, 0.5927859949030386, 0.8444809846026134, 0.3055219464803523, 0.2746842105078218]",2114988,157,False,,,,"[0.004999738768501313, 0.00901631717958687, 8.371156243438058e-05, 0.00595008583835789, 0.007357146913473611, 0.9714082673176162, 0.00039381222300683295, 0.0007909201970230076]",mixture,"{'mixture': 0.6805360799138476, 'uniform': 0.6664409579587651, 'top1': 0.6802133425724319, 'top2': 0.6806826202966263, 'top3': 0.6800856327938514}",0.8810563017493284,0.1516974844445877,0.008790176335206875,0.6941139408873892,0.5953877530550494,student,0.647,
8
+ 7,174,0.0,223.7,,,,,,,,,,,,0.8877374793949646,0.1480138674777313,0.00734695886139486,,,,,True
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [09:14:20][ 0s][START] target=snemi3d variant=macs-v11-norestart-acq-laplace budget=5.0% seed=2 | {"task": "membrane", "target": "snemi3d", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [09:14:20][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [09:14:20][ 0s][DATA] snemi3d: train=3430 val=735 test=735 patches
4
+ [09:14:22][ 2s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, oct-sfl=2.64, mouse-brain=4.07
5
+ [09:14:22][ 3s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [09:14:29][ 9s][WEIGHTS] mixture: c-elegans=0.005, cerebellum=0.058, flywire=0.394, berghia=0.027, microns=0.477, oct-glia=0.007, oct-sfl=0.011, mouse-brain=0.021 | eff.sources=3.24 | MMD2 mix=0.0601 uniform=0.1529
7
+ [09:14:29][ 9s][WEIGHTS] per-source: c-elegans=0.003, cerebellum=0.308, flywire=0.031, berghia=0.005, microns=0.624, oct-glia=0.021, oct-sfl=0.005, mouse-brain=0.002 | min-MMD source (NeuroADDA rule) = microns
8
+ [09:15:22][ 62s][TEACHERS] target-val Dice: c-elegans=0.412, cerebellum=0.473, flywire=0.196, berghia=0.310, microns=0.589, oct-glia=0.137, oct-sfl=0.305, mouse-brain=0.350
9
+ [09:15:22][ 62s][TEACHERS] ensemble target-val Dice: mixture=0.421, mixture@raw=0.463, mixture@logit=0.367, per_source=0.589, per_source@raw=0.591, per_source@logit=0.578, uniform=0.411, uniform@raw=0.467, uniform@logit=0.228
10
+ [09:15:22][ 62s][WEIGHTS] using mixture: c-elegans=0.005, cerebellum=0.058, flywire=0.394, berghia=0.027, microns=0.477, oct-glia=0.007, oct-sfl=0.011, mouse-brain=0.021
11
+ [09:15:22][ 62s][INIT] student initialised from teacher microns (weight 0.477)
12
+ [09:15:25][ 66s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [09:15:25][ 66s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [09:17:45][ 206s][KD] soft labels for 3430 patches from 8 teachers in 140s
15
+ [09:19:27][ 308s][KD] epoch 1/5 | patches=3430 | loss=0.4414 | 102s
16
+ [09:21:09][ 410s][KD] epoch 2/5 | patches=3430 | loss=0.3718 | 102s
17
+ [09:22:51][ 512s][KD] epoch 3/5 | patches=3430 | loss=0.3565 | 102s
18
+ [09:24:33][ 614s][KD] epoch 4/5 | patches=3430 | loss=0.3515 | 102s
19
+ [09:26:15][ 715s][KD] epoch 5/5 | patches=3430 | loss=0.3483 | 102s
20
+ [09:26:19][ 720s][ROUND0] before any target label: val_dice=0.3835 val_vi=0.6426
21
+ [09:26:19][ 720s][AL] patches=3430 (pool 3430 after dropping blank; free blank negatives: True) | budget=171 (5.0%) | rounds=6 | per_round=28 | acquisition=laplace | first_round=stratified
22
+ [09:26:57][ 757s][AL] round-1 uncertainty quality on 3430 patches: {'spearman_uncertainty_error': 0.5072424045387947, 'auroc_top20_error': 0.8403184472456204}
23
+ [09:28:19][ 839s][AL] round 1: stratified cold start: 14 patches from the membrane-rich half (ensemble prevalence >= 0.156) + 14 from the membrane-poor half of 2000 candidates
24
+ [09:28:24][ 844s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.521, uniform=0.380, top1=0.522, top2=0.522, top3=0.522 -> using mixture
25
+ [09:28:24][ 845s][WEIGHTS] round 1: student kept (labeled Dice 0.412 vs best teacher microns 0.522); distilling the corrected ensemble into it
26
+ [09:28:24][ 845s][WEIGHTS] round 1: teacher Dice on 28 labeled patches + 0 blank (232196 fg px): c-elegans=0.309, cerebellum=0.401, flywire=0.213, berghia=0.349, microns=0.522, oct-glia=0.163, oct-sfl=0.203, mouse-brain=0.230 | weights: c-elegans=0.001, cerebellum=0.033, flywire=0.035, berghia=0.009, microns=0.918, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.002
27
+ [09:30:43][ 984s][KD] soft labels for 3402 patches from 8 teachers in 139s
28
+ [09:32:24][ 1085s][KD] epoch 1/2 | patches=3402 | loss=0.2505 | 101s
29
+ [09:34:05][ 1186s][KD] epoch 2/2 | patches=3402 | loss=0.2471 | 101s
30
+ [09:35:27][ 1268s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 82s
31
+ [09:35:30][ 1270s][FT] round 1/6 epoch 1/5 | patches=28 | loss=1.0468
32
+ [09:35:32][ 1272s][FT] round 1/6 epoch 2/5 | patches=28 | loss=0.9720
33
+ [09:35:35][ 1275s][FT] round 1/6 epoch 3/5 | patches=28 | loss=0.9385
34
+ [09:35:37][ 1277s][FT] round 1/6 epoch 4/5 | patches=28 | loss=0.9014
35
+ [09:35:40][ 1280s][FT] round 1/6 epoch 5/5 | patches=28 | loss=0.8928
36
+ [09:35:44][ 1284s][AL] round 1/6 | labeled=28 | selection_seconds=119.3000 round_seconds=560.4000 restart_student_dice=0.4118 restart_teacher_dice=0.5217 val_dice=0.7175 val_vi=0.5862 val_ece=0.0104
37
+ [09:36:21][ 1321s][AL] round 2: 3/3402 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [09:36:30][ 1331s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.482, uniform=0.311, top1=0.486, top2=0.487, top3=0.487 -> using top3
39
+ [09:36:30][ 1331s][WEIGHTS] round 2: teacher Dice on 56 labeled patches + 0 blank (551979 fg px): c-elegans=0.330, cerebellum=0.390, flywire=0.196, berghia=0.293, microns=0.486, oct-glia=0.129, oct-sfl=0.220, mouse-brain=0.271 | weights: c-elegans=0.002, cerebellum=0.044, flywire=0.000, berghia=0.000, microns=0.954, oct-glia=0.000, oct-sfl=0.000, mouse-brain=0.000
40
+ [09:36:44][ 1344s][CONS] round 2: on the 28 new patches student Dice=0.609 vs ensemble 0.454 -> pseudo-labels from the student | consistency x0.36
41
+ [09:36:48][ 1348s][FT] round 2/6 epoch 1/5 | patches=56 | loss=0.8503
42
+ [09:36:52][ 1352s][FT] round 2/6 epoch 2/5 | patches=56 | loss=0.8056
43
+ [09:36:56][ 1356s][FT] round 2/6 epoch 3/5 | patches=56 | loss=0.7764
44
+ [09:37:00][ 1360s][FT] round 2/6 epoch 4/5 | patches=56 | loss=0.7538
45
+ [09:37:04][ 1364s][FT] round 2/6 epoch 5/5 | patches=56 | loss=0.7283
46
+ [09:37:08][ 1369s][AL] round 2/6 | labeled=56 | selection_seconds=37.0000 round_seconds=80.0000 pseudo_student_dice=0.6088 pseudo_ensemble_dice=0.4538 consistency_scale=0.3630 val_dice=0.7391 val_vi=0.5686 val_ece=0.0112
47
+ [09:40:27][ 1567s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.390, cerebellum=0.476, flywire=0.239, berghia=0.389, microns=0.668, oct-glia=0.198, oct-sfl=0.276, mouse-brain=0.309 | blended with labeled Dice at 0.50
48
+ [09:42:59][ 1719s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.575, uniform=0.366, top1=0.576, top2=0.578, top3=0.578 -> using mixture
49
+ [09:42:59][ 1719s][WEIGHTS] round 3: teacher Dice on 84 labeled patches + 0 blank (913408 fg px): c-elegans=0.371, cerebellum=0.445, flywire=0.207, berghia=0.335, microns=0.576, oct-glia=0.155, oct-sfl=0.237, mouse-brain=0.298 | weights: c-elegans=0.001, cerebellum=0.031, flywire=0.019, berghia=0.005, microns=0.940, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
50
+ [09:43:13][ 1733s][CONS] round 3: on the 28 new patches student Dice=0.636 vs ensemble 0.480 -> pseudo-labels from the student | consistency x0.45
51
+ [09:43:18][ 1739s][FT] round 3/6 epoch 1/5 | patches=84 | loss=0.7969
52
+ [09:43:24][ 1745s][FT] round 3/6 epoch 2/5 | patches=84 | loss=0.7781
53
+ [09:43:30][ 1750s][FT] round 3/6 epoch 3/5 | patches=84 | loss=0.7675
54
+ [09:43:36][ 1756s][FT] round 3/6 epoch 4/5 | patches=84 | loss=0.7291
55
+ [09:43:42][ 1762s][FT] round 3/6 epoch 5/5 | patches=84 | loss=0.7268
56
+ [09:43:46][ 1766s][AL] round 3/6 | labeled=84 | selection_seconds=36.7000 round_seconds=393.4000 pseudo_student_dice=0.6362 pseudo_ensemble_dice=0.4801 consistency_scale=0.4540 val_dice=0.7496 val_vi=0.5489 val_ece=0.0118
57
+ [09:47:06][ 1966s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.400, cerebellum=0.482, flywire=0.235, berghia=0.379, microns=0.649, oct-glia=0.197, oct-sfl=0.269, mouse-brain=0.319 | blended with labeled Dice at 0.50
58
+ [09:49:40][ 2120s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.565, uniform=0.360, top1=0.566, top2=0.567, top3=0.567 -> using mixture
59
+ [09:49:40][ 2120s][WEIGHTS] round 4: teacher Dice on 112 labeled patches + 0 blank (1179147 fg px): c-elegans=0.373, cerebellum=0.443, flywire=0.204, berghia=0.328, microns=0.566, oct-glia=0.155, oct-sfl=0.243, mouse-brain=0.300 | weights: c-elegans=0.002, cerebellum=0.033, flywire=0.021, berghia=0.005, microns=0.936, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
60
+ [09:49:54][ 2134s][CONS] round 4: on the 28 new patches student Dice=0.665 vs ensemble 0.476 -> pseudo-labels from the student | consistency x0.55
61
+ [09:50:01][ 2142s][FT] round 4/6 epoch 1/5 | patches=112 | loss=0.7404
62
+ [09:50:08][ 2149s][FT] round 4/6 epoch 2/5 | patches=112 | loss=0.7197
63
+ [09:50:16][ 2156s][FT] round 4/6 epoch 3/5 | patches=112 | loss=0.7162
64
+ [09:50:23][ 2163s][FT] round 4/6 epoch 4/5 | patches=112 | loss=0.6985
65
+ [09:50:30][ 2171s][FT] round 4/6 epoch 5/5 | patches=112 | loss=0.6919
66
+ [09:50:35][ 2175s][AL] round 4/6 | labeled=112 | selection_seconds=36.4000 round_seconds=404.4000 pseudo_student_dice=0.6648 pseudo_ensemble_dice=0.4758 consistency_scale=0.5490 val_dice=0.7550 val_vi=0.5303 val_ece=0.0146
67
+ [09:53:57][ 2377s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.379, cerebellum=0.471, flywire=0.242, berghia=0.378, microns=0.642, oct-glia=0.196, oct-sfl=0.279, mouse-brain=0.302 | blended with labeled Dice at 0.50
68
+ [09:56:33][ 2533s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.558, uniform=0.358, top1=0.559, top2=0.560, top3=0.560 -> using mixture
69
+ [09:56:33][ 2533s][WEIGHTS] round 5: teacher Dice on 140 labeled patches + 0 blank (1474014 fg px): c-elegans=0.363, cerebellum=0.436, flywire=0.203, berghia=0.330, microns=0.559, oct-glia=0.156, oct-sfl=0.240, mouse-brain=0.291 | weights: c-elegans=0.001, cerebellum=0.033, flywire=0.022, berghia=0.005, microns=0.934, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
70
+ [09:56:47][ 2547s][CONS] round 5: on the 28 new patches student Dice=0.644 vs ensemble 0.449 -> pseudo-labels from the student | consistency x0.48
71
+ [09:56:56][ 2556s][FT] round 5/6 epoch 1/5 | patches=140 | loss=0.7162
72
+ [09:57:05][ 2565s][FT] round 5/6 epoch 2/5 | patches=140 | loss=0.6915
73
+ [09:57:14][ 2574s][FT] round 5/6 epoch 3/5 | patches=140 | loss=0.7144
74
+ [09:57:23][ 2583s][FT] round 5/6 epoch 4/5 | patches=140 | loss=0.7015
75
+ [09:57:32][ 2593s][FT] round 5/6 epoch 5/5 | patches=140 | loss=0.6746
76
+ [09:57:36][ 2597s][AL] round 5/6 | labeled=140 | selection_seconds=36.2000 round_seconds=417.5000 pseudo_student_dice=0.6435 pseudo_ensemble_dice=0.4493 consistency_scale=0.4780 val_dice=0.7550 val_vi=0.5302 val_ece=0.0132
77
+ [10:01:00][ 2801s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.384, cerebellum=0.468, flywire=0.235, berghia=0.383, microns=0.635, oct-glia=0.192, oct-sfl=0.273, mouse-brain=0.307 | blended with labeled Dice at 0.50
78
+ [10:03:38][ 2959s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.557, uniform=0.359, top1=0.558, top2=0.560, top3=0.560 -> using mixture
79
+ [10:03:38][ 2959s][WEIGHTS] round 6: teacher Dice on 168 labeled patches + 0 blank (1744619 fg px): c-elegans=0.364, cerebellum=0.435, flywire=0.201, berghia=0.333, microns=0.558, oct-glia=0.157, oct-sfl=0.239, mouse-brain=0.293 | weights: c-elegans=0.001, cerebellum=0.033, flywire=0.022, berghia=0.006, microns=0.934, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
80
+ [10:03:52][ 2972s][CONS] round 6: on the 28 new patches student Dice=0.682 vs ensemble 0.509 -> pseudo-labels from the student | consistency x0.61
81
+ [10:04:02][ 2983s][FT] round 6/6 epoch 1/5 | patches=168 | loss=0.6951
82
+ [10:04:13][ 2993s][FT] round 6/6 epoch 2/5 | patches=168 | loss=0.6870
83
+ [10:04:24][ 3004s][FT] round 6/6 epoch 3/5 | patches=168 | loss=0.6925
84
+ [10:04:34][ 3014s][FT] round 6/6 epoch 4/5 | patches=168 | loss=0.6733
85
+ [10:04:45][ 3025s][FT] round 6/6 epoch 5/5 | patches=168 | loss=0.6769
86
+ [10:04:49][ 3030s][AL] round 6/6 | labeled=168 | selection_seconds=35.9000 round_seconds=428.2000 pseudo_student_dice=0.6815 pseudo_ensemble_dice=0.5090 consistency_scale=0.6050 val_dice=0.7581 val_vi=0.5190 val_ece=0.0157
87
+ [10:04:59][ 3040s][CONS] final consolidation: pseudo-labels refreshed from the student
88
+ [10:05:10][ 3050s][FT] final 1/10 epoch 1/1 | patches=168 | loss=0.6609
89
+ [10:05:20][ 3061s][FT] final 2/10 epoch 1/1 | patches=168 | loss=0.6543
90
+ [10:05:31][ 3071s][FT] final 3/10 epoch 1/1 | patches=168 | loss=0.6464
91
+ [10:05:42][ 3082s][FT] final 4/10 epoch 1/1 | patches=168 | loss=0.6473
92
+ [10:05:52][ 3093s][FT] final 5/10 epoch 1/1 | patches=168 | loss=0.6407
93
+ [10:06:03][ 3103s][FT] final 6/10 epoch 1/1 | patches=168 | loss=0.6366
94
+ [10:06:13][ 3114s][FT] final 7/10 epoch 1/1 | patches=168 | loss=0.6301
95
+ [10:06:24][ 3124s][FT] final 8/10 epoch 1/1 | patches=168 | loss=0.6261
96
+ [10:06:34][ 3135s][FT] final 9/10 epoch 1/1 | patches=168 | loss=0.6188
97
+ [10:06:45][ 3145s][FT] final 10/10 epoch 1/1 | patches=168 | loss=0.6215
98
+ [10:06:49][ 3150s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=115.9000 val_dice=0.7586 val_vi=0.5180 val_ece=0.0218
99
+ [10:06:49][ 3150s][WEIGHTS] final: c-elegans=0.001, cerebellum=0.033, flywire=0.022, berghia=0.006, microns=0.934, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
100
+ [10:07:24][ 3184s][TEST] raw student (no EMA, no TTA): patch_dice=0.7503 patch_vi=0.5264
101
+ [10:07:28][ 3189s][TEST] final model without TTA: patch_dice=0.7503 patch_vi=0.5264
102
+ [10:07:28][ 3189s][RESOURCES] {"phases": {"setup": {"seconds": 1.48, "peak_cpu_rss_mb": 2191.8, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 63.32, "peak_cpu_rss_mb": 4181.8, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 649.83, "peak_cpu_rss_mb": 5156.0, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 2430.01, "peak_cpu_rss_mb": 5156.0, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 38.92, "peak_cpu_rss_mb": 5156.0, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 735, "images": 15, "patches_per_second": 18.9, "seconds_per_image": 2.595}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5156.0, "total_seconds": 3183.6}
103
+ [10:07:28][ 3189s][TEST] patch_dice=0.7592 patch_iou=0.6215 patch_precision=0.7384 patch_recall=0.7841 patch_vi=0.5102 image_dice=0.8083 image_iou=0.6787 image_precision=0.7898 image_recall=0.8282 image_vi=0.5167 cal_ece=0.0124 cal_nll=0.1814 cal_brier=0.0572 cal_mean_confidence=0.9298 cal_accuracy=0.9174 cal_predicted_prevalence=0.2178 cal_true_prevalence=0.2059 cal_mean_probability=0.2169
104
+ [10:07:29][ 3189s][DONE] snemi3d macs-v11-norestart-acq-laplace b5 s2 | test patch Dice=0.7592 VI=0.5102 | image Dice=0.8083 VI=0.5167 | 3189s
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "snemi3d",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "snemi3d",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "laplace",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "snemi3d",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "octopus-vulgaris-vertical-lobe-sfltract",
150
+ "whole-mouse-brain"
151
+ ],
152
+ "alphas": [
153
+ 0.005265163985947525,
154
+ 0.05775356661687405,
155
+ 0.3937117170688725,
156
+ 0.02742108315870487,
157
+ 0.4770168284742763,
158
+ 0.006835511403011292,
159
+ 0.011200087973044965,
160
+ 0.020796041319268533
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "octopus-vulgaris-vertical-lobe-sfltract",
171
+ "whole-mouse-brain"
172
+ ],
173
+ "mixture": [
174
+ 0.005265163985947525,
175
+ 0.05775356661687405,
176
+ 0.3937117170688725,
177
+ 0.02742108315870487,
178
+ 0.4770168284742763,
179
+ 0.006835511403011292,
180
+ 0.011200087973044965,
181
+ 0.020796041319268533
182
+ ],
183
+ "per_source": [
184
+ 0.0030099407416697968,
185
+ 0.30826237672231105,
186
+ 0.030874093815323564,
187
+ 0.005310674836551046,
188
+ 0.6243418715179362,
189
+ 0.02131301441017302,
190
+ 0.0048036204646279375,
191
+ 0.002084407491407262
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.048363233996627016,
205
+ "mmd2_mixture": 0.060122682064390254,
206
+ "mmd2_uniform": 0.15285688303099165,
207
+ "mmd2_single_source": [
208
+ 0.4522663898122707,
209
+ 0.14701298584193184,
210
+ 0.12241687119492284,
211
+ 0.2726521753211397,
212
+ 0.08995170742180114,
213
+ 0.3744254300178685,
214
+ 0.33957846092746485,
215
+ 0.23688038103280662
216
+ ],
217
+ "median_squared_distance": 0.18662990120119327,
218
+ "gammas": [
219
+ 1.3395495490858758,
220
+ 2.6790990981717515,
221
+ 5.358198196343503,
222
+ 10.716396392687006,
223
+ 21.432792785374012
224
+ ],
225
+ "max_weight": 0.4770168284742763,
226
+ "entropy": 1.1759448067763238,
227
+ "effective_sources": 3.24120380896937,
228
+ "min_weight": 0.005265163985947525
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.4624401356050084,
233
+ 0.12211205990556462,
234
+ 0.29128492533416295,
235
+ 0.4206953767024899,
236
+ 0.07022529260621624,
237
+ 0.3185315424880186,
238
+ 0.42807307387367177,
239
+ 0.489454149021297
240
+ ],
241
+ "standardized": [
242
+ 0.9323134642607491,
243
+ -1.3822019864377946,
244
+ -0.23168506223542185,
245
+ 0.6484142024470035,
246
+ -1.735075384714815,
247
+ -0.04638528568228213,
248
+ 0.6985887114356643,
249
+ 1.1160313409268967
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.6243418715179362,
253
+ "entropy": 0.9300659298676801,
254
+ "effective_sources": 2.534676282981126,
255
+ "min_weight": 0.002084407491407262
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 6.7
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.41247125221353,
265
+ 0.47321264983034456,
266
+ 0.19639403256049165,
267
+ 0.31013587127331976,
268
+ 0.5894646206275136,
269
+ 0.13744302537529526,
270
+ 0.3054434345563225,
271
+ 0.35012697230796425
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.4205061683646676,
275
+ "mixture@raw": 0.462918877571213,
276
+ "mixture@logit": 0.3665782427199844,
277
+ "per_source": 0.5892228765147073,
278
+ "per_source@raw": 0.5905348345941427,
279
+ "per_source@logit": 0.5781053080039771,
280
+ "uniform": 0.41124230184319877,
281
+ "uniform@raw": 0.4669572710990906,
282
+ "uniform@logit": 0.22782834015245554
283
+ },
284
+ "val_patches": 735
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 2.642308473587036,
294
+ 4.074584007263184
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.4770168284742763,
299
+ "entropy": 1.1759448067763238,
300
+ "effective_sources": 3.24120380896937,
301
+ "min_weight": 0.005265163985947525
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.3571428571428572,
305
+ "spearman_weight_taxonomy": 0.50709255283711,
306
+ "top_source": "microns_basil",
307
+ "top_source_is_best_teacher": true
308
+ },
309
+ "init_teacher": "microns_basil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.0,
312
+ "kd_seconds": 649.8,
313
+ "round0_val": {
314
+ "val_dice": 0.38345661880027987,
315
+ "val_vi": 0.6425668875430072,
316
+ "val_ece": 0.07046950570811931
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 28,
322
+ "selection_seconds": 119.3,
323
+ "round_seconds": 560.4,
324
+ "teacher_dice_labeled": [
325
+ 0.30923963036625823,
326
+ 0.40141865169099034,
327
+ 0.21298253591750957,
328
+ 0.34862235687346954,
329
+ 0.5216517007952947,
330
+ 0.16310498252910807,
331
+ 0.20307595354559912,
332
+ 0.2304380164604082
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 232196,
336
+ "evidence_nonempty_patches": 28,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.4117972424112869,
340
+ "restart_teacher_dice": 0.5216517007952947,
341
+ "weights": [
342
+ 0.0012112506663100886,
343
+ 0.03339868283529253,
344
+ 0.0345908486511191,
345
+ 0.009352845080749347,
346
+ 0.9180148960941229,
347
+ 0.0003647022371434577,
348
+ 0.000891211066458353,
349
+ 0.0021755633688042347
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.5209970401005555,
354
+ "uniform": 0.3803190293127032,
355
+ "top1": 0.5216517007952947,
356
+ "top2": 0.5224545359489741,
357
+ "top3": 0.5224050337353666
358
+ },
359
+ "val_dice": 0.7174647731793253,
360
+ "val_vi": 0.5862075152354411,
361
+ "val_ece": 0.01040988329108115
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 56,
366
+ "selection_seconds": 37.0,
367
+ "round_seconds": 80.0,
368
+ "teacher_dice_labeled": [
369
+ 0.32968286739321734,
370
+ 0.3899514887912725,
371
+ 0.1956341759576112,
372
+ 0.29252135560018844,
373
+ 0.4860608454924249,
374
+ 0.12947791408419423,
375
+ 0.21962028025532235,
376
+ 0.2707968487830147
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 551979,
380
+ "evidence_nonempty_patches": 56,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.0022035355669607175,
385
+ 0.044160122494152035,
386
+ 0.0,
387
+ 0.0,
388
+ 0.9536363419388872,
389
+ 0.0,
390
+ 0.0,
391
+ 0.0
392
+ ],
393
+ "ensemble_choice": "top3",
394
+ "candidate_dice": {
395
+ "mixture": 0.4822414733525932,
396
+ "uniform": 0.31097768281455124,
397
+ "top1": 0.4860608454924249,
398
+ "top2": 0.4872193497639249,
399
+ "top3": 0.4872618953534774
400
+ },
401
+ "pseudo_student_dice": 0.6088462828961946,
402
+ "pseudo_ensemble_dice": 0.45378946490070243,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.363,
405
+ "val_dice": 0.7390804504089595,
406
+ "val_vi": 0.5685614483112967,
407
+ "val_ece": 0.011165779298286696
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 84,
412
+ "selection_seconds": 36.7,
413
+ "round_seconds": 393.4,
414
+ "teacher_dice_labeled": [
415
+ 0.37086031388801677,
416
+ 0.4453667316802009,
417
+ 0.20723350644101518,
418
+ 0.33534482250576847,
419
+ 0.5762288381413482,
420
+ 0.15528764228810432,
421
+ 0.23703538953587494,
422
+ 0.2977320132507578
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.3898740464376021,
426
+ 0.4755429928578754,
427
+ 0.23910686384852367,
428
+ 0.3886655657749072,
429
+ 0.668424476613459,
430
+ 0.19800193940952124,
431
+ 0.2762308341946166,
432
+ 0.30910087439506295
433
+ ],
434
+ "evidence_fg_pixels": 913408,
435
+ "evidence_nonempty_patches": 84,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0013310497510279384,
440
+ 0.03075660939664637,
441
+ 0.019379319848684722,
442
+ 0.004859875828552802,
443
+ 0.9402000187080747,
444
+ 0.00020013967092648373,
445
+ 0.0007426933897470523,
446
+ 0.002530293406339934
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.5754038750517916,
451
+ "uniform": 0.36575840911571345,
452
+ "top1": 0.5762288381413482,
453
+ "top2": 0.5777510078628051,
454
+ "top3": 0.5778078801028542
455
+ },
456
+ "pseudo_student_dice": 0.6361807161340302,
457
+ "pseudo_ensemble_dice": 0.480113758300175,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.454,
460
+ "val_dice": 0.7495523539931895,
461
+ "val_vi": 0.5489239394094233,
462
+ "val_ece": 0.011783477941583785
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 112,
467
+ "selection_seconds": 36.4,
468
+ "round_seconds": 404.4,
469
+ "teacher_dice_labeled": [
470
+ 0.37321174857677786,
471
+ 0.44278635107161046,
472
+ 0.20425591711599464,
473
+ 0.327772126479294,
474
+ 0.5657931122865841,
475
+ 0.1549070230922441,
476
+ 0.24313737842154926,
477
+ 0.29954958369556517
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.4001746244878322,
481
+ 0.48220145867073366,
482
+ 0.23499525796249365,
483
+ 0.3786014216751024,
484
+ 0.6490690617814941,
485
+ 0.19743975469322234,
486
+ 0.26903872285765806,
487
+ 0.31888259615125375
488
+ ],
489
+ "evidence_fg_pixels": 1179147,
490
+ "evidence_nonempty_patches": 112,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.0015053565082109753,
495
+ 0.033110438433428105,
496
+ 0.020779732351032795,
497
+ 0.004977030440218871,
498
+ 0.9356887305472527,
499
+ 0.00022024857037611335,
500
+ 0.0008720534096111227,
501
+ 0.0028464097398693314
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.5647967946865813,
506
+ "uniform": 0.360234486572068,
507
+ "top1": 0.5657931122865841,
508
+ "top2": 0.5673055047680104,
509
+ "top3": 0.5673725014471637
510
+ },
511
+ "pseudo_student_dice": 0.6648006350571386,
512
+ "pseudo_ensemble_dice": 0.4757541945192298,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.549,
515
+ "val_dice": 0.7550029429579439,
516
+ "val_vi": 0.5302964007298193,
517
+ "val_ece": 0.014572060405993651
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 140,
522
+ "selection_seconds": 36.2,
523
+ "round_seconds": 417.5,
524
+ "teacher_dice_labeled": [
525
+ 0.3625410938591591,
526
+ 0.4355784897218964,
527
+ 0.20264899618503762,
528
+ 0.3295045734408726,
529
+ 0.5588364198985812,
530
+ 0.15605754418445766,
531
+ 0.2401934049537906,
532
+ 0.2913797382341989
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.3786420858421469,
536
+ 0.47081271613508735,
537
+ 0.24180065149346994,
538
+ 0.3775880634035507,
539
+ 0.6415367429953798,
540
+ 0.19634054315397,
541
+ 0.2792974265186966,
542
+ 0.30249360274341297
543
+ ],
544
+ "evidence_fg_pixels": 1474014,
545
+ "evidence_nonempty_patches": 140,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0014483361718081902,
550
+ 0.03297871007616184,
551
+ 0.021889369773742826,
552
+ 0.005420836341058693,
553
+ 0.9343098877686563,
554
+ 0.0002384963984002584,
555
+ 0.0009064203503226087,
556
+ 0.002807943119849266
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.557823971764361,
561
+ "uniform": 0.3578505232668598,
562
+ "top1": 0.5588364198985812,
563
+ "top2": 0.5602451647369182,
564
+ "top3": 0.5603049948006693
565
+ },
566
+ "pseudo_student_dice": 0.643506272736545,
567
+ "pseudo_ensemble_dice": 0.44930986227259595,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.478,
570
+ "val_dice": 0.7549671911288235,
571
+ "val_vi": 0.5302006794911862,
572
+ "val_ece": 0.013241020018444667
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 168,
577
+ "selection_seconds": 35.9,
578
+ "round_seconds": 428.2,
579
+ "teacher_dice_labeled": [
580
+ 0.36353511631327795,
581
+ 0.43497302604973287,
582
+ 0.20074485294527286,
583
+ 0.3327935590239828,
584
+ 0.5582466822186675,
585
+ 0.1567819919136381,
586
+ 0.23909282753480066,
587
+ 0.2925195195546896
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.3839850647413449,
591
+ 0.46831841356244397,
592
+ 0.23537658668363787,
593
+ 0.3826950837371619,
594
+ 0.6349460257289151,
595
+ 0.19188588782082197,
596
+ 0.27303537783430637,
597
+ 0.30658306254260204
598
+ ],
599
+ "evidence_fg_pixels": 1744619,
600
+ "evidence_nonempty_patches": 168,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0014714657544328564,
605
+ 0.03297372159029093,
606
+ 0.02160366658468838,
607
+ 0.005635260229233188,
608
+ 0.9343154793074689,
609
+ 0.00024165281514750797,
610
+ 0.0009018071986931946,
611
+ 0.0028569465200449728
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.557289318573895,
616
+ "uniform": 0.3591946978714461,
617
+ "top1": 0.5582466822186675,
618
+ "top2": 0.5595871272722308,
619
+ "top3": 0.5596502336834291
620
+ },
621
+ "pseudo_student_dice": 0.6815412134626851,
622
+ "pseudo_ensemble_dice": 0.5090477033045854,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.605,
625
+ "val_dice": 0.7581036709465326,
626
+ "val_vi": 0.5190172698185712,
627
+ "val_ece": 0.01572609371733461
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 168,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 115.9,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7585554059155132,
636
+ "val_vi": 0.5180210703137048,
637
+ "val_ece": 0.0218110641494762
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.5072424045387947,
642
+ "auroc_top20_error": 0.8403184472456204
643
+ },
644
+ "al_seconds": 2430.0,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.0014714657544328564,
657
+ 0.03297372159029093,
658
+ 0.02160366658468838,
659
+ 0.005635260229233188,
660
+ 0.9343154793074689,
661
+ 0.00024165281514750797,
662
+ 0.0009018071986931946,
663
+ 0.0028569465200449728
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.9343154793074689,
667
+ "entropy": 0.322684680800098,
668
+ "effective_sources": 1.3808298800800942,
669
+ "min_weight": 0.00024165281514750797
670
+ },
671
+ "top_source_final": "microns_basil",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7502993844021068,
676
+ "patch_iou": 0.610265425863319,
677
+ "patch_precision": 0.726259786758238,
678
+ "patch_recall": 0.779129192487549,
679
+ "patch_vi": 0.5263768898094677,
680
+ "n_patches": 735,
681
+ "cal_ece": 0.020970448656017486,
682
+ "cal_nll": 0.19405148446924358,
683
+ "cal_brier": 0.060640539511800845,
684
+ "cal_mean_confidence": 0.934816377652616,
685
+ "cal_accuracy": 0.9138459289965987,
686
+ "cal_predicted_prevalence": 0.2200547406462585,
687
+ "cal_true_prevalence": 0.20588727678571428,
688
+ "cal_mean_probability": 0.21815898913369627
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7502993844021068,
692
+ "patch_iou": 0.610265425863319,
693
+ "patch_precision": 0.726259786758238,
694
+ "patch_recall": 0.779129192487549,
695
+ "patch_vi": 0.5263768898094677,
696
+ "n_patches": 735,
697
+ "cal_ece": 0.020970448656017486,
698
+ "cal_nll": 0.19405148446924358,
699
+ "cal_brier": 0.060640539511800845,
700
+ "cal_mean_confidence": 0.934816377652616,
701
+ "cal_accuracy": 0.9138459289965987,
702
+ "cal_predicted_prevalence": 0.2200547406462585,
703
+ "cal_true_prevalence": 0.20588727678571428,
704
+ "cal_mean_probability": 0.21815898913369627
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7591598943652398,
708
+ "patch_iou": 0.6215398307814628,
709
+ "patch_precision": 0.7383584817490859,
710
+ "patch_recall": 0.7840826714217108,
711
+ "patch_vi": 0.5102328361065348,
712
+ "n_patches": 735,
713
+ "image_dice": 0.8083227144183348,
714
+ "image_iou": 0.6787329371214111,
715
+ "image_precision": 0.7897767967423324,
716
+ "image_recall": 0.828165408514625,
717
+ "image_vi": 0.5166640790459083,
718
+ "n_images": 15,
719
+ "cal_ece": 0.012392638944076592,
720
+ "cal_nll": 0.1813798769940655,
721
+ "cal_brier": 0.05722207631886344,
722
+ "cal_mean_confidence": 0.9298206257638044,
723
+ "cal_accuracy": 0.9174279868197279,
724
+ "cal_predicted_prevalence": 0.21780665391156462,
725
+ "cal_true_prevalence": 0.20588727678571428,
726
+ "cal_mean_probability": 0.21693074734329712
727
+ },
728
+ "eval_seconds": 38.9,
729
+ "total_seconds": 3188.7,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.48,
734
+ "peak_cpu_rss_mb": 2191.8,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 63.32,
740
+ "peak_cpu_rss_mb": 4181.8,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 649.83,
746
+ "peak_cpu_rss_mb": 5156.0,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4638.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2430.01,
753
+ "peak_cpu_rss_mb": 5156.0,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4646.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 38.92,
760
+ "peak_cpu_rss_mb": 5156.0,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4646.0,
763
+ "patches": 735,
764
+ "images": 15,
765
+ "patches_per_second": 18.9,
766
+ "seconds_per_image": 2.595
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5156.0,
771
+ "total_seconds": 3183.6
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/snemi3d/macs-v11-norestart-acq-laplace_b5_s2.pth"
785
+ }
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,28,119.3,560.4,"[0.30923963036625823, 0.40141865169099034, 0.21298253591750957, 0.34862235687346954, 0.5216517007952947, 0.16310498252910807, 0.20307595354559912, 0.2304380164604082]",,232196,28,True,kept,0.4117972424112869,0.5216517007952947,"[0.0012112506663100886, 0.03339868283529253, 0.0345908486511191, 0.009352845080749347, 0.9180148960941229, 0.0003647022371434577, 0.000891211066458353, 0.0021755633688042347]",mixture,"{'mixture': 0.5209970401005555, 'uniform': 0.3803190293127032, 'top1': 0.5216517007952947, 'top2': 0.5224545359489741, 'top3': 0.5224050337353666}",0.7174647731793253,0.5862075152354411,0.01040988329108115,,,,,
3
+ 2,56,37.0,80.0,"[0.32968286739321734, 0.3899514887912725, 0.1956341759576112, 0.29252135560018844, 0.4860608454924249, 0.12947791408419423, 0.21962028025532235, 0.2707968487830147]",,551979,56,False,,,,"[0.0022035355669607175, 0.044160122494152035, 0.0, 0.0, 0.9536363419388872, 0.0, 0.0, 0.0]",top3,"{'mixture': 0.4822414733525932, 'uniform': 0.31097768281455124, 'top1': 0.4860608454924249, 'top2': 0.4872193497639249, 'top3': 0.4872618953534774}",0.7390804504089595,0.5685614483112967,0.011165779298286696,0.6088462828961946,0.45378946490070243,student,0.363,
4
+ 3,84,36.7,393.4,"[0.37086031388801677, 0.4453667316802009, 0.20723350644101518, 0.33534482250576847, 0.5762288381413482, 0.15528764228810432, 0.23703538953587494, 0.2977320132507578]","[0.3898740464376021, 0.4755429928578754, 0.23910686384852367, 0.3886655657749072, 0.668424476613459, 0.19800193940952124, 0.2762308341946166, 0.30910087439506295]",913408,84,False,,,,"[0.0013310497510279384, 0.03075660939664637, 0.019379319848684722, 0.004859875828552802, 0.9402000187080747, 0.00020013967092648373, 0.0007426933897470523, 0.002530293406339934]",mixture,"{'mixture': 0.5754038750517916, 'uniform': 0.36575840911571345, 'top1': 0.5762288381413482, 'top2': 0.5777510078628051, 'top3': 0.5778078801028542}",0.7495523539931895,0.5489239394094233,0.011783477941583785,0.6361807161340302,0.480113758300175,student,0.454,
5
+ 4,112,36.4,404.4,"[0.37321174857677786, 0.44278635107161046, 0.20425591711599464, 0.327772126479294, 0.5657931122865841, 0.1549070230922441, 0.24313737842154926, 0.29954958369556517]","[0.4001746244878322, 0.48220145867073366, 0.23499525796249365, 0.3786014216751024, 0.6490690617814941, 0.19743975469322234, 0.26903872285765806, 0.31888259615125375]",1179147,112,False,,,,"[0.0015053565082109753, 0.033110438433428105, 0.020779732351032795, 0.004977030440218871, 0.9356887305472527, 0.00022024857037611335, 0.0008720534096111227, 0.0028464097398693314]",mixture,"{'mixture': 0.5647967946865813, 'uniform': 0.360234486572068, 'top1': 0.5657931122865841, 'top2': 0.5673055047680104, 'top3': 0.5673725014471637}",0.7550029429579439,0.5302964007298193,0.014572060405993651,0.6648006350571386,0.4757541945192298,student,0.549,
6
+ 5,140,36.2,417.5,"[0.3625410938591591, 0.4355784897218964, 0.20264899618503762, 0.3295045734408726, 0.5588364198985812, 0.15605754418445766, 0.2401934049537906, 0.2913797382341989]","[0.3786420858421469, 0.47081271613508735, 0.24180065149346994, 0.3775880634035507, 0.6415367429953798, 0.19634054315397, 0.2792974265186966, 0.30249360274341297]",1474014,140,False,,,,"[0.0014483361718081902, 0.03297871007616184, 0.021889369773742826, 0.005420836341058693, 0.9343098877686563, 0.0002384963984002584, 0.0009064203503226087, 0.002807943119849266]",mixture,"{'mixture': 0.557823971764361, 'uniform': 0.3578505232668598, 'top1': 0.5588364198985812, 'top2': 0.5602451647369182, 'top3': 0.5603049948006693}",0.7549671911288235,0.5302006794911862,0.013241020018444667,0.643506272736545,0.44930986227259595,student,0.478,
7
+ 6,168,35.9,428.2,"[0.36353511631327795, 0.43497302604973287, 0.20074485294527286, 0.3327935590239828, 0.5582466822186675, 0.1567819919136381, 0.23909282753480066, 0.2925195195546896]","[0.3839850647413449, 0.46831841356244397, 0.23537658668363787, 0.3826950837371619, 0.6349460257289151, 0.19188588782082197, 0.27303537783430637, 0.30658306254260204]",1744619,168,False,,,,"[0.0014714657544328564, 0.03297372159029093, 0.02160366658468838, 0.005635260229233188, 0.9343154793074689, 0.00024165281514750797, 0.0009018071986931946, 0.0028569465200449728]",mixture,"{'mixture': 0.557289318573895, 'uniform': 0.3591946978714461, 'top1': 0.5582466822186675, 'top2': 0.5595871272722308, 'top3': 0.5596502336834291}",0.7581036709465326,0.5190172698185712,0.01572609371733461,0.6815412134626851,0.5090477033045854,student,0.605,
8
+ 7,168,0.0,115.9,,,,,,,,,,,,0.7585554059155132,0.5180210703137048,0.0218110641494762,,,,,True
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06:00:54][ 0s][START] target=snemi3d variant=macs-v11-norestart-acq-margin budget=5.0% seed=1 | {"task": "membrane", "target": "snemi3d", "variant": "macs-v11-norestart-acq-margin", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "margin", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [06:00:54][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [06:00:54][ 0s][DATA] snemi3d: train=3430 val=735 test=735 patches
4
+ [06:00:56][ 2s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, oct-sfl=2.64, mouse-brain=4.07
5
+ [06:00:57][ 3s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [06:01:03][ 9s][WEIGHTS] mixture: c-elegans=0.005, cerebellum=0.058, flywire=0.394, berghia=0.027, microns=0.477, oct-glia=0.007, oct-sfl=0.011, mouse-brain=0.021 | eff.sources=3.24 | MMD2 mix=0.0601 uniform=0.1529
7
+ [06:01:03][ 9s][WEIGHTS] per-source: c-elegans=0.003, cerebellum=0.308, flywire=0.031, berghia=0.005, microns=0.624, oct-glia=0.021, oct-sfl=0.005, mouse-brain=0.002 | min-MMD source (NeuroADDA rule) = microns
8
+ [06:01:56][ 62s][TEACHERS] target-val Dice: c-elegans=0.412, cerebellum=0.473, flywire=0.196, berghia=0.310, microns=0.589, oct-glia=0.137, oct-sfl=0.305, mouse-brain=0.350
9
+ [06:01:56][ 62s][TEACHERS] ensemble target-val Dice: mixture=0.421, mixture@raw=0.463, mixture@logit=0.367, per_source=0.589, per_source@raw=0.591, per_source@logit=0.578, uniform=0.411, uniform@raw=0.467, uniform@logit=0.228
10
+ [06:01:56][ 62s][WEIGHTS] using mixture: c-elegans=0.005, cerebellum=0.058, flywire=0.394, berghia=0.027, microns=0.477, oct-glia=0.007, oct-sfl=0.011, mouse-brain=0.021
11
+ [06:01:56][ 62s][INIT] student initialised from teacher microns (weight 0.477)
12
+ [06:01:59][ 66s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [06:01:59][ 66s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [06:04:19][ 205s][KD] soft labels for 3430 patches from 8 teachers in 140s
15
+ [06:06:01][ 307s][KD] epoch 1/5 | patches=3430 | loss=0.4461 | 102s
16
+ [06:07:43][ 409s][KD] epoch 2/5 | patches=3430 | loss=0.3728 | 102s
17
+ [06:09:25][ 511s][KD] epoch 3/5 | patches=3430 | loss=0.3563 | 102s
18
+ [06:11:07][ 613s][KD] epoch 4/5 | patches=3430 | loss=0.3506 | 102s
19
+ [06:12:49][ 715s][KD] epoch 5/5 | patches=3430 | loss=0.3475 | 102s
20
+ [06:12:53][ 719s][ROUND0] before any target label: val_dice=0.3968 val_vi=0.6469
21
+ [06:12:53][ 719s][AL] patches=3430 (pool 3430 after dropping blank; free blank negatives: True) | budget=171 (5.0%) | rounds=6 | per_round=28 | acquisition=margin | first_round=stratified
22
+ [06:13:11][ 737s][AL] round-1 uncertainty quality on 3430 patches: {'spearman_uncertainty_error': 0.3088075353000357, 'auroc_top20_error': 0.7218027777541671}
23
+ [06:14:33][ 819s][AL] round 1: stratified cold start: 14 patches from the membrane-rich half (ensemble prevalence >= 0.156) + 14 from the membrane-poor half of 2000 candidates
24
+ [06:14:38][ 824s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.543, uniform=0.427, top1=0.543, top2=0.545, top3=0.545 -> using mixture
25
+ [06:14:39][ 825s][WEIGHTS] round 1: student kept (labeled Dice 0.433 vs best teacher microns 0.543); distilling the corrected ensemble into it
26
+ [06:14:39][ 825s][WEIGHTS] round 1: teacher Dice on 28 labeled patches + 0 blank (279577 fg px): c-elegans=0.358, cerebellum=0.442, flywire=0.213, berghia=0.348, microns=0.543, oct-glia=0.243, oct-sfl=0.282, mouse-brain=0.275 | weights: c-elegans=0.002, cerebellum=0.040, flywire=0.028, berghia=0.008, microns=0.917, oct-glia=0.001, oct-sfl=0.002, mouse-brain=0.003
27
+ [06:16:57][ 964s][KD] soft labels for 3402 patches from 8 teachers in 139s
28
+ [06:18:38][ 1065s][KD] epoch 1/2 | patches=3402 | loss=0.2525 | 101s
29
+ [06:20:19][ 1166s][KD] epoch 2/2 | patches=3402 | loss=0.2504 | 101s
30
+ [06:21:41][ 1247s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 82s
31
+ [06:21:44][ 1250s][FT] round 1/6 epoch 1/5 | patches=28 | loss=1.0453
32
+ [06:21:46][ 1252s][FT] round 1/6 epoch 2/5 | patches=28 | loss=0.9823
33
+ [06:21:49][ 1255s][FT] round 1/6 epoch 3/5 | patches=28 | loss=0.8996
34
+ [06:21:51][ 1257s][FT] round 1/6 epoch 4/5 | patches=28 | loss=0.8659
35
+ [06:21:54][ 1260s][FT] round 1/6 epoch 5/5 | patches=28 | loss=0.8378
36
+ [06:21:58][ 1264s][AL] round 1/6 | labeled=28 | selection_seconds=100.1000 round_seconds=540.4000 restart_student_dice=0.4330 restart_teacher_dice=0.5428 val_dice=0.7295 val_vi=0.5884 val_ece=0.0197
37
+ [06:22:25][ 1291s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.413, uniform=0.307, top1=0.416, top2=0.422, top3=0.422 -> using top3
38
+ [06:22:25][ 1291s][WEIGHTS] round 2: teacher Dice on 56 labeled patches + 0 blank (566444 fg px): c-elegans=0.321, cerebellum=0.413, flywire=0.204, berghia=0.296, microns=0.416, oct-glia=0.179, oct-sfl=0.203, mouse-brain=0.273 | weights: c-elegans=0.004, cerebellum=0.104, flywire=0.000, berghia=0.000, microns=0.892, oct-glia=0.000, oct-sfl=0.000, mouse-brain=0.000
39
+ [06:22:39][ 1305s][CONS] round 2: on the 28 new patches student Dice=0.611 vs ensemble 0.235 -> pseudo-labels from the student | consistency x0.37
40
+ [06:22:43][ 1309s][FT] round 2/6 epoch 1/5 | patches=56 | loss=0.8161
41
+ [06:22:47][ 1313s][FT] round 2/6 epoch 2/5 | patches=56 | loss=0.7693
42
+ [06:22:50][ 1317s][FT] round 2/6 epoch 3/5 | patches=56 | loss=0.7324
43
+ [06:22:54][ 1321s][FT] round 2/6 epoch 4/5 | patches=56 | loss=0.7172
44
+ [06:22:58][ 1325s][FT] round 2/6 epoch 5/5 | patches=56 | loss=0.7192
45
+ [06:23:03][ 1329s][AL] round 2/6 | labeled=56 | selection_seconds=18.1000 round_seconds=60.7000 pseudo_student_dice=0.6111 pseudo_ensemble_dice=0.2345 consistency_scale=0.3700 val_dice=0.7433 val_vi=0.5467 val_ece=0.0149
46
+ [06:26:02][ 1508s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.390, cerebellum=0.476, flywire=0.236, berghia=0.386, microns=0.659, oct-glia=0.187, oct-sfl=0.263, mouse-brain=0.311 | blended with labeled Dice at 0.50
47
+ [06:28:33][ 1660s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.539, uniform=0.366, top1=0.540, top2=0.542, top3=0.542 -> using mixture
48
+ [06:28:33][ 1660s][WEIGHTS] round 3: teacher Dice on 84 labeled patches + 0 blank (865230 fg px): c-elegans=0.363, cerebellum=0.437, flywire=0.211, berghia=0.339, microns=0.540, oct-glia=0.176, oct-sfl=0.225, mouse-brain=0.293 | weights: c-elegans=0.002, cerebellum=0.040, flywire=0.028, berghia=0.007, microns=0.919, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
49
+ [06:28:47][ 1673s][CONS] round 3: on the 28 new patches student Dice=0.625 vs ensemble 0.429 -> pseudo-labels from the student | consistency x0.42
50
+ [06:28:53][ 1679s][FT] round 3/6 epoch 1/5 | patches=84 | loss=0.7737
51
+ [06:28:59][ 1685s][FT] round 3/6 epoch 2/5 | patches=84 | loss=0.7402
52
+ [06:29:04][ 1690s][FT] round 3/6 epoch 3/5 | patches=84 | loss=0.7220
53
+ [06:29:11][ 1697s][FT] round 3/6 epoch 4/5 | patches=84 | loss=0.7066
54
+ [06:29:16][ 1702s][FT] round 3/6 epoch 5/5 | patches=84 | loss=0.6914
55
+ [06:29:21][ 1707s][AL] round 3/6 | labeled=84 | selection_seconds=18.0000 round_seconds=373.7000 pseudo_student_dice=0.6252 pseudo_ensemble_dice=0.4286 consistency_scale=0.4170 val_dice=0.7527 val_vi=0.5420 val_ece=0.0168
56
+ [06:32:22][ 1888s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.408, cerebellum=0.489, flywire=0.238, berghia=0.386, microns=0.657, oct-glia=0.193, oct-sfl=0.272, mouse-brain=0.322 | blended with labeled Dice at 0.50
57
+ [06:34:55][ 2041s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.549, uniform=0.372, top1=0.550, top2=0.551, top3=0.551 -> using mixture
58
+ [06:34:55][ 2041s][WEIGHTS] round 4: teacher Dice on 112 labeled patches + 0 blank (1141567 fg px): c-elegans=0.375, cerebellum=0.441, flywire=0.210, berghia=0.339, microns=0.550, oct-glia=0.175, oct-sfl=0.235, mouse-brain=0.299 | weights: c-elegans=0.002, cerebellum=0.038, flywire=0.025, berghia=0.006, microns=0.924, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
59
+ [06:35:09][ 2055s][CONS] round 4: on the 28 new patches student Dice=0.663 vs ensemble 0.499 -> pseudo-labels from the student | consistency x0.54
60
+ [06:35:16][ 2062s][FT] round 4/6 epoch 1/5 | patches=112 | loss=0.7368
61
+ [06:35:23][ 2069s][FT] round 4/6 epoch 2/5 | patches=112 | loss=0.7219
62
+ [06:35:31][ 2077s][FT] round 4/6 epoch 3/5 | patches=112 | loss=0.7088
63
+ [06:35:38][ 2084s][FT] round 4/6 epoch 4/5 | patches=112 | loss=0.6966
64
+ [06:35:45][ 2091s][FT] round 4/6 epoch 5/5 | patches=112 | loss=0.6849
65
+ [06:35:49][ 2096s][AL] round 4/6 | labeled=112 | selection_seconds=17.8000 round_seconds=384.6000 pseudo_student_dice=0.6629 pseudo_ensemble_dice=0.4986 consistency_scale=0.5430 val_dice=0.7510 val_vi=0.5316 val_ece=0.0170
66
+ [06:38:52][ 2279s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.382, cerebellum=0.468, flywire=0.238, berghia=0.375, microns=0.650, oct-glia=0.198, oct-sfl=0.290, mouse-brain=0.304 | blended with labeled Dice at 0.50
67
+ [06:41:28][ 2434s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.553, uniform=0.381, top1=0.554, top2=0.555, top3=0.555 -> using mixture
68
+ [06:41:28][ 2434s][WEIGHTS] round 5: teacher Dice on 140 labeled patches + 0 blank (1422513 fg px): c-elegans=0.364, cerebellum=0.434, flywire=0.211, berghia=0.335, microns=0.554, oct-glia=0.178, oct-sfl=0.249, mouse-brain=0.291 | weights: c-elegans=0.002, cerebellum=0.034, flywire=0.025, berghia=0.006, microns=0.929, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
69
+ [06:41:42][ 2448s][CONS] round 5: on the 28 new patches student Dice=0.661 vs ensemble 0.511 -> pseudo-labels from the student | consistency x0.54
70
+ [06:41:51][ 2457s][FT] round 5/6 epoch 1/5 | patches=140 | loss=0.6910
71
+ [06:42:00][ 2466s][FT] round 5/6 epoch 2/5 | patches=140 | loss=0.6891
72
+ [06:42:09][ 2475s][FT] round 5/6 epoch 3/5 | patches=140 | loss=0.6933
73
+ [06:42:18][ 2484s][FT] round 5/6 epoch 4/5 | patches=140 | loss=0.6768
74
+ [06:42:27][ 2493s][FT] round 5/6 epoch 5/5 | patches=140 | loss=0.6743
75
+ [06:42:31][ 2497s][AL] round 5/6 | labeled=140 | selection_seconds=17.7000 round_seconds=397.3000 pseudo_student_dice=0.6609 pseudo_ensemble_dice=0.5111 consistency_scale=0.5360 val_dice=0.7545 val_vi=0.5338 val_ece=0.0179
76
+ [06:45:36][ 2682s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.394, cerebellum=0.475, flywire=0.242, berghia=0.381, microns=0.646, oct-glia=0.202, oct-sfl=0.277, mouse-brain=0.310 | blended with labeled Dice at 0.50
77
+ [06:48:13][ 2839s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.552, uniform=0.374, top1=0.553, top2=0.554, top3=0.554 -> using mixture
78
+ [06:48:13][ 2839s][WEIGHTS] round 6: teacher Dice on 168 labeled patches + 0 blank (1683796 fg px): c-elegans=0.368, cerebellum=0.434, flywire=0.209, berghia=0.336, microns=0.553, oct-glia=0.177, oct-sfl=0.237, mouse-brain=0.292 | weights: c-elegans=0.002, cerebellum=0.034, flywire=0.025, berghia=0.006, microns=0.930, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
79
+ [06:48:26][ 2853s][CONS] round 6: on the 28 new patches student Dice=0.643 vs ensemble 0.475 -> pseudo-labels from the student | consistency x0.48
80
+ [06:48:37][ 2863s][FT] round 6/6 epoch 1/5 | patches=168 | loss=0.6883
81
+ [06:48:47][ 2874s][FT] round 6/6 epoch 2/5 | patches=168 | loss=0.6804
82
+ [06:48:58][ 2884s][FT] round 6/6 epoch 3/5 | patches=168 | loss=0.6762
83
+ [06:49:08][ 2895s][FT] round 6/6 epoch 4/5 | patches=168 | loss=0.6747
84
+ [06:49:19][ 2905s][FT] round 6/6 epoch 5/5 | patches=168 | loss=0.6631
85
+ [06:49:23][ 2909s][AL] round 6/6 | labeled=168 | selection_seconds=17.5000 round_seconds=408.0000 pseudo_student_dice=0.6425 pseudo_ensemble_dice=0.4749 consistency_scale=0.4750 val_dice=0.7557 val_vi=0.5299 val_ece=0.0180
86
+ [06:49:33][ 2920s][CONS] final consolidation: pseudo-labels refreshed from the student
87
+ [06:49:44][ 2930s][FT] final 1/10 epoch 1/1 | patches=168 | loss=0.6598
88
+ [06:49:54][ 2940s][FT] final 2/10 epoch 1/1 | patches=168 | loss=0.6540
89
+ [06:50:05][ 2951s][FT] final 3/10 epoch 1/1 | patches=168 | loss=0.6513
90
+ [06:50:15][ 2962s][FT] final 4/10 epoch 1/1 | patches=168 | loss=0.6429
91
+ [06:50:26][ 2972s][FT] final 5/10 epoch 1/1 | patches=168 | loss=0.6299
92
+ [06:50:37][ 2983s][FT] final 6/10 epoch 1/1 | patches=168 | loss=0.6251
93
+ [06:50:47][ 2993s][FT] final 7/10 epoch 1/1 | patches=168 | loss=0.6197
94
+ [06:50:58][ 3004s][FT] final 8/10 epoch 1/1 | patches=168 | loss=0.6161
95
+ [06:51:08][ 3014s][FT] final 9/10 epoch 1/1 | patches=168 | loss=0.6184
96
+ [06:51:19][ 3025s][FT] final 10/10 epoch 1/1 | patches=168 | loss=0.6177
97
+ [06:51:23][ 3029s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=115.3000 val_dice=0.7554 val_vi=0.5248 val_ece=0.0231
98
+ [06:51:23][ 3029s][WEIGHTS] final: c-elegans=0.002, cerebellum=0.034, flywire=0.025, berghia=0.006, microns=0.930, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
99
+ [06:51:57][ 3064s][TEST] raw student (no EMA, no TTA): patch_dice=0.7491 patch_vi=0.5299
100
+ [06:52:02][ 3068s][TEST] final model without TTA: patch_dice=0.7491 patch_vi=0.5299
101
+ [06:52:02][ 3068s][RESOURCES] {"phases": {"setup": {"seconds": 1.48, "peak_cpu_rss_mb": 2192.2, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 63.24, "peak_cpu_rss_mb": 4183.8, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 649.47, "peak_cpu_rss_mb": 5161.3, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 2309.76, "peak_cpu_rss_mb": 5161.3, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 38.77, "peak_cpu_rss_mb": 5161.3, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 735, "images": 15, "patches_per_second": 19.0, "seconds_per_image": 2.585}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5161.3, "total_seconds": 3062.7}
102
+ [06:52:02][ 3068s][TEST] patch_dice=0.7606 patch_iou=0.6231 patch_precision=0.7390 patch_recall=0.7867 patch_vi=0.5100 image_dice=0.8081 image_iou=0.6785 image_precision=0.7903 image_recall=0.8273 image_vi=0.5165 cal_ece=0.0104 cal_nll=0.1794 cal_brier=0.0567 cal_mean_confidence=0.9284 cal_accuracy=0.9180 cal_predicted_prevalence=0.2157 cal_true_prevalence=0.2059 cal_mean_probability=0.2157
103
+ [06:52:02][ 3068s][DONE] snemi3d macs-v11-norestart-acq-margin b5 s1 | test patch Dice=0.7606 VI=0.5100 | image Dice=0.8081 VI=0.5165 | 3068s
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "snemi3d",
3
+ "variant": "macs-v11-norestart-acq-margin",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "snemi3d",
9
+ "variant": "macs-v11-norestart-acq-margin",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "margin",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "snemi3d",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-margin",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "octopus-vulgaris-vertical-lobe-sfltract",
150
+ "whole-mouse-brain"
151
+ ],
152
+ "alphas": [
153
+ 0.005265163985947525,
154
+ 0.05775356661687405,
155
+ 0.3937117170688725,
156
+ 0.02742108315870487,
157
+ 0.4770168284742763,
158
+ 0.006835511403011292,
159
+ 0.011200087973044965,
160
+ 0.020796041319268533
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "octopus-vulgaris-vertical-lobe-sfltract",
171
+ "whole-mouse-brain"
172
+ ],
173
+ "mixture": [
174
+ 0.005265163985947525,
175
+ 0.05775356661687405,
176
+ 0.3937117170688725,
177
+ 0.02742108315870487,
178
+ 0.4770168284742763,
179
+ 0.006835511403011292,
180
+ 0.011200087973044965,
181
+ 0.020796041319268533
182
+ ],
183
+ "per_source": [
184
+ 0.0030099407416697968,
185
+ 0.30826237672231105,
186
+ 0.030874093815323564,
187
+ 0.005310674836551046,
188
+ 0.6243418715179362,
189
+ 0.02131301441017302,
190
+ 0.0048036204646279375,
191
+ 0.002084407491407262
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.048363233996627016,
205
+ "mmd2_mixture": 0.060122682064390254,
206
+ "mmd2_uniform": 0.15285688303099165,
207
+ "mmd2_single_source": [
208
+ 0.4522663898122707,
209
+ 0.14701298584193184,
210
+ 0.12241687119492284,
211
+ 0.2726521753211397,
212
+ 0.08995170742180114,
213
+ 0.3744254300178685,
214
+ 0.33957846092746485,
215
+ 0.23688038103280662
216
+ ],
217
+ "median_squared_distance": 0.18662990120119327,
218
+ "gammas": [
219
+ 1.3395495490858758,
220
+ 2.6790990981717515,
221
+ 5.358198196343503,
222
+ 10.716396392687006,
223
+ 21.432792785374012
224
+ ],
225
+ "max_weight": 0.4770168284742763,
226
+ "entropy": 1.1759448067763238,
227
+ "effective_sources": 3.24120380896937,
228
+ "min_weight": 0.005265163985947525
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.4624401356050084,
233
+ 0.12211205990556462,
234
+ 0.29128492533416295,
235
+ 0.4206953767024899,
236
+ 0.07022529260621624,
237
+ 0.3185315424880186,
238
+ 0.42807307387367177,
239
+ 0.489454149021297
240
+ ],
241
+ "standardized": [
242
+ 0.9323134642607491,
243
+ -1.3822019864377946,
244
+ -0.23168506223542185,
245
+ 0.6484142024470035,
246
+ -1.735075384714815,
247
+ -0.04638528568228213,
248
+ 0.6985887114356643,
249
+ 1.1160313409268967
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.6243418715179362,
253
+ "entropy": 0.9300659298676801,
254
+ "effective_sources": 2.534676282981126,
255
+ "min_weight": 0.002084407491407262
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 6.7
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.41247125221353,
265
+ 0.47321264983034456,
266
+ 0.19639403256049165,
267
+ 0.31013587127331976,
268
+ 0.5894646206275136,
269
+ 0.13744302537529526,
270
+ 0.3054434345563225,
271
+ 0.35012697230796425
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.4205061683646676,
275
+ "mixture@raw": 0.462918877571213,
276
+ "mixture@logit": 0.3665782427199844,
277
+ "per_source": 0.5892228765147073,
278
+ "per_source@raw": 0.5905348345941427,
279
+ "per_source@logit": 0.5781053080039771,
280
+ "uniform": 0.41124230184319877,
281
+ "uniform@raw": 0.4669572710990906,
282
+ "uniform@logit": 0.22782834015245554
283
+ },
284
+ "val_patches": 735
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 2.642308473587036,
294
+ 4.074584007263184
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.4770168284742763,
299
+ "entropy": 1.1759448067763238,
300
+ "effective_sources": 3.24120380896937,
301
+ "min_weight": 0.005265163985947525
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.3571428571428572,
305
+ "spearman_weight_taxonomy": 0.50709255283711,
306
+ "top_source": "microns_basil",
307
+ "top_source_is_best_teacher": true
308
+ },
309
+ "init_teacher": "microns_basil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.0,
312
+ "kd_seconds": 649.5,
313
+ "round0_val": {
314
+ "val_dice": 0.39676821516355265,
315
+ "val_vi": 0.6468693296003585,
316
+ "val_ece": 0.07077332120435081
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 28,
322
+ "selection_seconds": 100.1,
323
+ "round_seconds": 540.4,
324
+ "teacher_dice_labeled": [
325
+ 0.35791764681874827,
326
+ 0.4417052610943664,
327
+ 0.21306314427094966,
328
+ 0.3478407216013448,
329
+ 0.5427570406835327,
330
+ 0.2427000034404966,
331
+ 0.2815004375801934,
332
+ 0.2748319195941523
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 279577,
336
+ "evidence_nonempty_patches": 28,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.4329726063476451,
340
+ "restart_teacher_dice": 0.5427570406835327,
341
+ "weights": [
342
+ 0.0015948525493022832,
343
+ 0.04043639495708322,
344
+ 0.0280150797666998,
345
+ 0.007509823162345696,
346
+ 0.9174652491168103,
347
+ 0.0006541777664380059,
348
+ 0.001579990027762249,
349
+ 0.002744432653558335
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.543427983950943,
354
+ "uniform": 0.42744369108351205,
355
+ "top1": 0.5427570406835327,
356
+ "top2": 0.5446170820822631,
357
+ "top3": 0.5446748258576916
358
+ },
359
+ "val_dice": 0.7295256186222652,
360
+ "val_vi": 0.5884044823108097,
361
+ "val_ece": 0.019701315203793958
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 56,
366
+ "selection_seconds": 18.1,
367
+ "round_seconds": 60.7,
368
+ "teacher_dice_labeled": [
369
+ 0.3208247601267692,
370
+ 0.41290094315652537,
371
+ 0.2040200567361768,
372
+ 0.2958021771680537,
373
+ 0.41646418759010906,
374
+ 0.1794556776225178,
375
+ 0.20312701542316977,
376
+ 0.2733950553226702
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 566444,
380
+ "evidence_nonempty_patches": 56,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.003783436799557813,
385
+ 0.10421618553102502,
386
+ 0.0,
387
+ 0.0,
388
+ 0.8920003776694172,
389
+ 0.0,
390
+ 0.0,
391
+ 0.0
392
+ ],
393
+ "ensemble_choice": "top3",
394
+ "candidate_dice": {
395
+ "mixture": 0.4129965036621742,
396
+ "uniform": 0.30746055861849897,
397
+ "top1": 0.41646418759010906,
398
+ "top2": 0.4222413401292082,
399
+ "top3": 0.4224928778934572
400
+ },
401
+ "pseudo_student_dice": 0.6110748083498765,
402
+ "pseudo_ensemble_dice": 0.23453104616733697,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.37,
405
+ "val_dice": 0.7432631786091862,
406
+ "val_vi": 0.5466669819950293,
407
+ "val_ece": 0.01494093341048987
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 84,
412
+ "selection_seconds": 18.0,
413
+ "round_seconds": 373.7,
414
+ "teacher_dice_labeled": [
415
+ 0.36273121427086064,
416
+ 0.4372980514434087,
417
+ 0.21105590198097918,
418
+ 0.3393942140665256,
419
+ 0.540192314721962,
420
+ 0.17578747616669918,
421
+ 0.22484020938853538,
422
+ 0.29315816733536
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.39034661919349994,
426
+ 0.4761150428010431,
427
+ 0.23573876902414095,
428
+ 0.38585503964914447,
429
+ 0.659109861832459,
430
+ 0.18712604425893262,
431
+ 0.2631012063047301,
432
+ 0.3108627311160762
433
+ ],
434
+ "evidence_fg_pixels": 865230,
435
+ "evidence_nonempty_patches": 84,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0017190749968959006,
440
+ 0.03974672870367697,
441
+ 0.02820614601955311,
442
+ 0.007089510065337752,
443
+ 0.9185871992481591,
444
+ 0.0003441657073025338,
445
+ 0.0009209823989749294,
446
+ 0.0033861928600996084
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.5393467185906318,
451
+ "uniform": 0.3655772808350024,
452
+ "top1": 0.540192314721962,
453
+ "top2": 0.541732206975406,
454
+ "top3": 0.541822389111206
455
+ },
456
+ "pseudo_student_dice": 0.6251532581237091,
457
+ "pseudo_ensemble_dice": 0.4286494839036211,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.417,
460
+ "val_dice": 0.7527323068124526,
461
+ "val_vi": 0.541985946096611,
462
+ "val_ece": 0.01677360838441982
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 112,
467
+ "selection_seconds": 17.8,
468
+ "round_seconds": 384.6,
469
+ "teacher_dice_labeled": [
470
+ 0.3749811196798546,
471
+ 0.44113104576281453,
472
+ 0.20960975570483995,
473
+ 0.3387416433056273,
474
+ 0.5495413048885877,
475
+ 0.17535012944458866,
476
+ 0.23520326785288623,
477
+ 0.2988056113727459
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.40815563458449466,
481
+ 0.4890113030690118,
482
+ 0.23786569305882985,
483
+ 0.3857946049443244,
484
+ 0.6569114664585771,
485
+ 0.1934436301469982,
486
+ 0.2718589618428649,
487
+ 0.3221797503419022
488
+ ],
489
+ "evidence_fg_pixels": 1141567,
490
+ "evidence_nonempty_patches": 112,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.001779979044505536,
495
+ 0.037832694697906344,
496
+ 0.02546728326344037,
497
+ 0.006452106793159957,
498
+ 0.9239361080593134,
499
+ 0.00031389733227876727,
500
+ 0.0009357868195762976,
501
+ 0.003282143989819337
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.5488637066017804,
506
+ "uniform": 0.37210821529489313,
507
+ "top1": 0.5495413048885877,
508
+ "top2": 0.5509644238645611,
509
+ "top3": 0.5510551274892082
510
+ },
511
+ "pseudo_student_dice": 0.6628713841310659,
512
+ "pseudo_ensemble_dice": 0.49864015261866945,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.543,
515
+ "val_dice": 0.7509571821136031,
516
+ "val_vi": 0.5315801650431149,
517
+ "val_ece": 0.01703855312358479
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 140,
522
+ "selection_seconds": 17.7,
523
+ "round_seconds": 397.3,
524
+ "teacher_dice_labeled": [
525
+ 0.3642759867907599,
526
+ 0.43358117185195766,
527
+ 0.21068374327687786,
528
+ 0.33467724413782185,
529
+ 0.5535326066210269,
530
+ 0.17798854274162795,
531
+ 0.24864286910367464,
532
+ 0.2906701335016776
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.38218506328160307,
536
+ 0.4682752407941175,
537
+ 0.23816118972250283,
538
+ 0.3750151946437794,
539
+ 0.6498135108202829,
540
+ 0.19764850889095936,
541
+ 0.2903312054949055,
542
+ 0.30404861986044174
543
+ ],
544
+ "evidence_fg_pixels": 1422513,
545
+ "evidence_nonempty_patches": 140,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.001545796995137486,
550
+ 0.03390845176712642,
551
+ 0.02488148279719892,
552
+ 0.005987967802871813,
553
+ 0.9294056619302986,
554
+ 0.0003115125004738827,
555
+ 0.0010346030187799481,
556
+ 0.002924523188112882
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.5528844985001343,
561
+ "uniform": 0.3808982550980504,
562
+ "top1": 0.5535326066210269,
563
+ "top2": 0.5547303978453834,
564
+ "top3": 0.554809582158575
565
+ },
566
+ "pseudo_student_dice": 0.6609389649034607,
567
+ "pseudo_ensemble_dice": 0.5110580295086186,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.536,
570
+ "val_dice": 0.7545000122039486,
571
+ "val_vi": 0.533773990628012,
572
+ "val_ece": 0.017922561350632537
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 168,
577
+ "selection_seconds": 17.5,
578
+ "round_seconds": 408.0,
579
+ "teacher_dice_labeled": [
580
+ 0.3679188297764999,
581
+ 0.4335570192451118,
582
+ 0.20895861407370306,
583
+ 0.33643354064960024,
584
+ 0.5531799194234047,
585
+ 0.17692680619249224,
586
+ 0.2365003677000348,
587
+ 0.2917085664928225
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.394125303581231,
591
+ 0.47494787946458666,
592
+ 0.24170386806015567,
593
+ 0.3806315415340604,
594
+ 0.6459687009021247,
595
+ 0.20181318421776986,
596
+ 0.2769592359329296,
597
+ 0.3104454867226209
598
+ ],
599
+ "evidence_fg_pixels": 1683796,
600
+ "evidence_nonempty_patches": 168,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0016089924285309985,
605
+ 0.034023888217738066,
606
+ 0.02454511057925963,
607
+ 0.00611628664709167,
608
+ 0.9295109032521134,
609
+ 0.0003093465602107464,
610
+ 0.0009196454009503332,
611
+ 0.0029658269141052424
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.5524438317045043,
616
+ "uniform": 0.37409291675858214,
617
+ "top1": 0.5531799194234047,
618
+ "top2": 0.5542681111280099,
619
+ "top3": 0.5543604600633237
620
+ },
621
+ "pseudo_student_dice": 0.642503799192999,
622
+ "pseudo_ensemble_dice": 0.47485483653762367,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.475,
625
+ "val_dice": 0.7556781192564479,
626
+ "val_vi": 0.5299056030507209,
627
+ "val_ece": 0.01800360725531013
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 168,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 115.3,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7553752308778334,
636
+ "val_vi": 0.5248065360487096,
637
+ "val_ece": 0.023144835746207494
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.3088075353000357,
642
+ "auroc_top20_error": 0.7218027777541671
643
+ },
644
+ "al_seconds": 2309.8,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.0016089924285309985,
657
+ 0.034023888217738066,
658
+ 0.02454511057925963,
659
+ 0.00611628664709167,
660
+ 0.9295109032521134,
661
+ 0.0003093465602107464,
662
+ 0.0009196454009503332,
663
+ 0.0029658269141052424
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.9295109032521134,
667
+ "entropy": 0.3416784214280678,
668
+ "effective_sources": 1.4073076647504048,
669
+ "min_weight": 0.0003093465602107464
670
+ },
671
+ "top_source_final": "microns_basil",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7490979386466647,
676
+ "patch_iou": 0.6085798192529274,
677
+ "patch_precision": 0.7248434080358238,
678
+ "patch_recall": 0.7785118795775513,
679
+ "patch_vi": 0.5298728975152815,
680
+ "n_patches": 735,
681
+ "cal_ece": 0.020920834522142353,
682
+ "cal_nll": 0.1941572906083464,
683
+ "cal_brier": 0.060966210654075155,
684
+ "cal_mean_confidence": 0.9338938362228226,
685
+ "cal_accuracy": 0.9129730017006803,
686
+ "cal_predicted_prevalence": 0.2180125956632653,
687
+ "cal_true_prevalence": 0.20588727678571428,
688
+ "cal_mean_probability": 0.21629047139314697
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7490979386466647,
692
+ "patch_iou": 0.6085798192529274,
693
+ "patch_precision": 0.7248434080358238,
694
+ "patch_recall": 0.7785118795775513,
695
+ "patch_vi": 0.5298728975152815,
696
+ "n_patches": 735,
697
+ "cal_ece": 0.020920834522142353,
698
+ "cal_nll": 0.1941572906083464,
699
+ "cal_brier": 0.060966210654075155,
700
+ "cal_mean_confidence": 0.9338938362228226,
701
+ "cal_accuracy": 0.9129730017006803,
702
+ "cal_predicted_prevalence": 0.2180125956632653,
703
+ "cal_true_prevalence": 0.20588727678571428,
704
+ "cal_mean_probability": 0.21629047139314697
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7605704968659796,
708
+ "patch_iou": 0.6231444504129582,
709
+ "patch_precision": 0.7389570238203815,
710
+ "patch_recall": 0.7866511074140025,
711
+ "patch_vi": 0.5100490645122637,
712
+ "n_patches": 735,
713
+ "image_dice": 0.8081044889984601,
714
+ "image_iou": 0.6784548862789703,
715
+ "image_precision": 0.790270861952727,
716
+ "image_recall": 0.8272684535945679,
717
+ "image_vi": 0.516524529058358,
718
+ "n_images": 15,
719
+ "cal_ece": 0.010442009413797379,
720
+ "cal_nll": 0.17936422828495757,
721
+ "cal_brier": 0.05674318918072776,
722
+ "cal_mean_confidence": 0.9284094307573348,
723
+ "cal_accuracy": 0.9179674213435374,
724
+ "cal_predicted_prevalence": 0.21568877551020407,
725
+ "cal_true_prevalence": 0.20588727678571428,
726
+ "cal_mean_probability": 0.21565880639981094
727
+ },
728
+ "eval_seconds": 38.8,
729
+ "total_seconds": 3067.8,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.48,
734
+ "peak_cpu_rss_mb": 2192.2,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 63.24,
740
+ "peak_cpu_rss_mb": 4183.8,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 649.47,
746
+ "peak_cpu_rss_mb": 5161.3,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4638.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2309.76,
753
+ "peak_cpu_rss_mb": 5161.3,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4646.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 38.77,
760
+ "peak_cpu_rss_mb": 5161.3,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4646.0,
763
+ "patches": 735,
764
+ "images": 15,
765
+ "patches_per_second": 19.0,
766
+ "seconds_per_image": 2.585
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5161.3,
771
+ "total_seconds": 3062.7
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/snemi3d/macs-v11-norestart-acq-margin_b5_s1.pth"
785
+ }
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,28,100.1,540.4,"[0.35791764681874827, 0.4417052610943664, 0.21306314427094966, 0.3478407216013448, 0.5427570406835327, 0.2427000034404966, 0.2815004375801934, 0.2748319195941523]",,279577,28,True,kept,0.4329726063476451,0.5427570406835327,"[0.0015948525493022832, 0.04043639495708322, 0.0280150797666998, 0.007509823162345696, 0.9174652491168103, 0.0006541777664380059, 0.001579990027762249, 0.002744432653558335]",mixture,"{'mixture': 0.543427983950943, 'uniform': 0.42744369108351205, 'top1': 0.5427570406835327, 'top2': 0.5446170820822631, 'top3': 0.5446748258576916}",0.7295256186222652,0.5884044823108097,0.019701315203793958,,,,,
3
+ 2,56,18.1,60.7,"[0.3208247601267692, 0.41290094315652537, 0.2040200567361768, 0.2958021771680537, 0.41646418759010906, 0.1794556776225178, 0.20312701542316977, 0.2733950553226702]",,566444,56,False,,,,"[0.003783436799557813, 0.10421618553102502, 0.0, 0.0, 0.8920003776694172, 0.0, 0.0, 0.0]",top3,"{'mixture': 0.4129965036621742, 'uniform': 0.30746055861849897, 'top1': 0.41646418759010906, 'top2': 0.4222413401292082, 'top3': 0.4224928778934572}",0.7432631786091862,0.5466669819950293,0.01494093341048987,0.6110748083498765,0.23453104616733697,student,0.37,
4
+ 3,84,18.0,373.7,"[0.36273121427086064, 0.4372980514434087, 0.21105590198097918, 0.3393942140665256, 0.540192314721962, 0.17578747616669918, 0.22484020938853538, 0.29315816733536]","[0.39034661919349994, 0.4761150428010431, 0.23573876902414095, 0.38585503964914447, 0.659109861832459, 0.18712604425893262, 0.2631012063047301, 0.3108627311160762]",865230,84,False,,,,"[0.0017190749968959006, 0.03974672870367697, 0.02820614601955311, 0.007089510065337752, 0.9185871992481591, 0.0003441657073025338, 0.0009209823989749294, 0.0033861928600996084]",mixture,"{'mixture': 0.5393467185906318, 'uniform': 0.3655772808350024, 'top1': 0.540192314721962, 'top2': 0.541732206975406, 'top3': 0.541822389111206}",0.7527323068124526,0.541985946096611,0.01677360838441982,0.6251532581237091,0.4286494839036211,student,0.417,
5
+ 4,112,17.8,384.6,"[0.3749811196798546, 0.44113104576281453, 0.20960975570483995, 0.3387416433056273, 0.5495413048885877, 0.17535012944458866, 0.23520326785288623, 0.2988056113727459]","[0.40815563458449466, 0.4890113030690118, 0.23786569305882985, 0.3857946049443244, 0.6569114664585771, 0.1934436301469982, 0.2718589618428649, 0.3221797503419022]",1141567,112,False,,,,"[0.001779979044505536, 0.037832694697906344, 0.02546728326344037, 0.006452106793159957, 0.9239361080593134, 0.00031389733227876727, 0.0009357868195762976, 0.003282143989819337]",mixture,"{'mixture': 0.5488637066017804, 'uniform': 0.37210821529489313, 'top1': 0.5495413048885877, 'top2': 0.5509644238645611, 'top3': 0.5510551274892082}",0.7509571821136031,0.5315801650431149,0.01703855312358479,0.6628713841310659,0.49864015261866945,student,0.543,
6
+ 5,140,17.7,397.3,"[0.3642759867907599, 0.43358117185195766, 0.21068374327687786, 0.33467724413782185, 0.5535326066210269, 0.17798854274162795, 0.24864286910367464, 0.2906701335016776]","[0.38218506328160307, 0.4682752407941175, 0.23816118972250283, 0.3750151946437794, 0.6498135108202829, 0.19764850889095936, 0.2903312054949055, 0.30404861986044174]",1422513,140,False,,,,"[0.001545796995137486, 0.03390845176712642, 0.02488148279719892, 0.005987967802871813, 0.9294056619302986, 0.0003115125004738827, 0.0010346030187799481, 0.002924523188112882]",mixture,"{'mixture': 0.5528844985001343, 'uniform': 0.3808982550980504, 'top1': 0.5535326066210269, 'top2': 0.5547303978453834, 'top3': 0.554809582158575}",0.7545000122039486,0.533773990628012,0.017922561350632537,0.6609389649034607,0.5110580295086186,student,0.536,
7
+ 6,168,17.5,408.0,"[0.3679188297764999, 0.4335570192451118, 0.20895861407370306, 0.33643354064960024, 0.5531799194234047, 0.17692680619249224, 0.2365003677000348, 0.2917085664928225]","[0.394125303581231, 0.47494787946458666, 0.24170386806015567, 0.3806315415340604, 0.6459687009021247, 0.20181318421776986, 0.2769592359329296, 0.3104454867226209]",1683796,168,False,,,,"[0.0016089924285309985, 0.034023888217738066, 0.02454511057925963, 0.00611628664709167, 0.9295109032521134, 0.0003093465602107464, 0.0009196454009503332, 0.0029658269141052424]",mixture,"{'mixture': 0.5524438317045043, 'uniform': 0.37409291675858214, 'top1': 0.5531799194234047, 'top2': 0.5542681111280099, 'top3': 0.5543604600633237}",0.7556781192564479,0.5299056030507209,0.01800360725531013,0.642503799192999,0.47485483653762367,student,0.475,
8
+ 7,168,0.0,115.3,,,,,,,,,,,,0.7553752308778334,0.5248065360487096,0.023144835746207494,,,,,True
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [01:53:44][ 0s][START] target=snemi3d variant=macs-v11-norestart-acq-mcdropout budget=5.0% seed=1 | {"task": "membrane", "target": "snemi3d", "variant": "macs-v11-norestart-acq-mcdropout", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "mcdropout", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [01:53:44][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [01:53:44][ 1s][DATA] snemi3d: train=3430 val=735 test=735 patches
4
+ [01:53:50][ 6s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, oct-sfl=2.64, mouse-brain=4.07
5
+ [01:53:51][ 7s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 1s
6
+ [01:53:57][ 13s][WEIGHTS] mixture: c-elegans=0.005, cerebellum=0.058, flywire=0.394, berghia=0.027, microns=0.477, oct-glia=0.007, oct-sfl=0.011, mouse-brain=0.021 | eff.sources=3.24 | MMD2 mix=0.0601 uniform=0.1529
7
+ [01:53:57][ 13s][WEIGHTS] per-source: c-elegans=0.003, cerebellum=0.308, flywire=0.031, berghia=0.005, microns=0.624, oct-glia=0.021, oct-sfl=0.005, mouse-brain=0.002 | min-MMD source (NeuroADDA rule) = microns
8
+ [01:54:51][ 67s][TEACHERS] target-val Dice: c-elegans=0.412, cerebellum=0.473, flywire=0.196, berghia=0.310, microns=0.589, oct-glia=0.137, oct-sfl=0.305, mouse-brain=0.350
9
+ [01:54:51][ 67s][TEACHERS] ensemble target-val Dice: mixture=0.421, mixture@raw=0.463, mixture@logit=0.367, per_source=0.589, per_source@raw=0.591, per_source@logit=0.578, uniform=0.411, uniform@raw=0.467, uniform@logit=0.228
10
+ [01:54:51][ 67s][WEIGHTS] using mixture: c-elegans=0.005, cerebellum=0.058, flywire=0.394, berghia=0.027, microns=0.477, oct-glia=0.007, oct-sfl=0.011, mouse-brain=0.021
11
+ [01:54:51][ 67s][INIT] student initialised from teacher microns (weight 0.477)
12
+ [01:54:56][ 73s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [01:54:56][ 73s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [01:57:16][ 213s][KD] soft labels for 3430 patches from 8 teachers in 140s
15
+ [01:58:59][ 315s][KD] epoch 1/5 | patches=3430 | loss=0.4461 | 102s
16
+ [02:00:41][ 417s][KD] epoch 2/5 | patches=3430 | loss=0.3728 | 102s
17
+ [02:02:23][ 519s][KD] epoch 3/5 | patches=3430 | loss=0.3563 | 102s
18
+ [02:04:05][ 621s][KD] epoch 4/5 | patches=3430 | loss=0.3563 | 102s
19
+ [02:05:46][ 723s][KD] epoch 5/5 | patches=3430 | loss=0.3474 | 102s
20
+ [02:05:51][ 727s][ROUND0] before any target label: val_dice=0.3756 val_vi=0.6391
21
+ [02:05:51][ 727s][AL] patches=3430 (pool 3430 after dropping blank; free blank negatives: True) | budget=171 (5.0%) | rounds=6 | per_round=28 | acquisition=mcdropout | first_round=stratified
22
+ [02:06:11][ 748s][AL] round-1 uncertainty quality on 3430 patches: {'spearman_uncertainty_error': 0.4788310711035088, 'auroc_top20_error': 0.8198074888014347}
23
+ [02:07:33][ 830s][AL] round 1: stratified cold start: 14 patches from the membrane-rich half (ensemble prevalence >= 0.156) + 14 from the membrane-poor half of 2000 candidates
24
+ [02:07:38][ 835s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.543, uniform=0.427, top1=0.543, top2=0.545, top3=0.545 -> using mixture
25
+ [02:07:39][ 835s][WEIGHTS] round 1: student kept (labeled Dice 0.418 vs best teacher microns 0.543); distilling the corrected ensemble into it
26
+ [02:07:39][ 835s][WEIGHTS] round 1: teacher Dice on 28 labeled patches + 0 blank (279577 fg px): c-elegans=0.358, cerebellum=0.442, flywire=0.213, berghia=0.348, microns=0.543, oct-glia=0.243, oct-sfl=0.282, mouse-brain=0.275 | weights: c-elegans=0.002, cerebellum=0.040, flywire=0.028, berghia=0.008, microns=0.917, oct-glia=0.001, oct-sfl=0.002, mouse-brain=0.003
27
+ [02:09:58][ 974s][KD] soft labels for 3402 patches from 8 teachers in 139s
28
+ [02:11:39][ 1076s][KD] epoch 1/2 | patches=3402 | loss=0.2532 | 101s
29
+ [02:13:21][ 1177s][KD] epoch 2/2 | patches=3402 | loss=0.2504 | 101s
30
+ [02:14:43][ 1259s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 82s
31
+ [02:14:45][ 1261s][FT] round 1/6 epoch 1/5 | patches=28 | loss=1.0414
32
+ [02:14:48][ 1264s][FT] round 1/6 epoch 2/5 | patches=28 | loss=0.9800
33
+ [02:14:50][ 1266s][FT] round 1/6 epoch 3/5 | patches=28 | loss=0.9003
34
+ [02:14:52][ 1269s][FT] round 1/6 epoch 4/5 | patches=28 | loss=0.8646
35
+ [02:14:55][ 1271s][FT] round 1/6 epoch 5/5 | patches=28 | loss=0.8398
36
+ [02:14:59][ 1275s][AL] round 1/6 | labeled=28 | selection_seconds=102.6000 round_seconds=544.0000 restart_student_dice=0.4183 restart_teacher_dice=0.5428 val_dice=0.7278 val_vi=0.5919 val_ece=0.0210
37
+ [02:15:29][ 1305s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.422, uniform=0.320, top1=0.424, top2=0.430, top3=0.430 -> using top3
38
+ [02:15:29][ 1305s][WEIGHTS] round 2: teacher Dice on 56 labeled patches + 0 blank (542568 fg px): c-elegans=0.312, cerebellum=0.412, flywire=0.206, berghia=0.270, microns=0.424, oct-glia=0.186, oct-sfl=0.216, mouse-brain=0.263 | weights: c-elegans=0.003, cerebellum=0.097, flywire=0.000, berghia=0.000, microns=0.900, oct-glia=0.000, oct-sfl=0.000, mouse-brain=0.000
39
+ [02:15:42][ 1318s][CONS] round 2: on the 28 new patches student Dice=0.595 vs ensemble 0.236 -> pseudo-labels from the student | consistency x0.32
40
+ [02:15:46][ 1322s][FT] round 2/6 epoch 1/5 | patches=56 | loss=0.8159
41
+ [02:15:50][ 1326s][FT] round 2/6 epoch 2/5 | patches=56 | loss=0.7590
42
+ [02:15:54][ 1330s][FT] round 2/6 epoch 3/5 | patches=56 | loss=0.7268
43
+ [02:15:58][ 1334s][FT] round 2/6 epoch 4/5 | patches=56 | loss=0.7150
44
+ [02:16:01][ 1338s][FT] round 2/6 epoch 5/5 | patches=56 | loss=0.7119
45
+ [02:16:06][ 1342s][AL] round 2/6 | labeled=56 | selection_seconds=20.5000 round_seconds=62.5000 pseudo_student_dice=0.5949 pseudo_ensemble_dice=0.2362 consistency_scale=0.3160 val_dice=0.7417 val_vi=0.5611 val_ece=0.0185
46
+ [02:19:08][ 1524s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.412, cerebellum=0.490, flywire=0.240, berghia=0.396, microns=0.664, oct-glia=0.193, oct-sfl=0.265, mouse-brain=0.328 | blended with labeled Dice at 0.50
47
+ [02:21:40][ 1676s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.534, uniform=0.357, top1=0.536, top2=0.537, top3=0.537 -> using mixture
48
+ [02:21:40][ 1676s][WEIGHTS] round 3: teacher Dice on 84 labeled patches + 0 blank (821274 fg px): c-elegans=0.361, cerebellum=0.441, flywire=0.214, berghia=0.334, microns=0.536, oct-glia=0.174, oct-sfl=0.224, mouse-brain=0.294 | weights: c-elegans=0.002, cerebellum=0.043, flywire=0.030, berghia=0.007, microns=0.913, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.004
49
+ [02:21:53][ 1689s][CONS] round 3: on the 28 new patches student Dice=0.647 vs ensemble 0.369 -> pseudo-labels from the student | consistency x0.49
50
+ [02:21:59][ 1695s][FT] round 3/6 epoch 1/5 | patches=84 | loss=0.7596
51
+ [02:22:05][ 1701s][FT] round 3/6 epoch 2/5 | patches=84 | loss=0.7431
52
+ [02:22:10][ 1706s][FT] round 3/6 epoch 3/5 | patches=84 | loss=0.7259
53
+ [02:22:16][ 1712s][FT] round 3/6 epoch 4/5 | patches=84 | loss=0.6955
54
+ [02:22:22][ 1718s][FT] round 3/6 epoch 5/5 | patches=84 | loss=0.6926
55
+ [02:22:26][ 1722s][AL] round 3/6 | labeled=84 | selection_seconds=20.2000 round_seconds=375.8000 pseudo_student_dice=0.6475 pseudo_ensemble_dice=0.3694 consistency_scale=0.4920 val_dice=0.7496 val_vi=0.5421 val_ece=0.0175
56
+ [02:25:30][ 1906s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.391, cerebellum=0.475, flywire=0.235, berghia=0.386, microns=0.652, oct-glia=0.185, oct-sfl=0.267, mouse-brain=0.310 | blended with labeled Dice at 0.50
57
+ [02:28:03][ 2060s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.543, uniform=0.359, top1=0.544, top2=0.545, top3=0.545 -> using mixture
58
+ [02:28:03][ 2060s][WEIGHTS] round 4: teacher Dice on 112 labeled patches + 0 blank (1131999 fg px): c-elegans=0.358, cerebellum=0.430, flywire=0.206, berghia=0.329, microns=0.544, oct-glia=0.165, oct-sfl=0.231, mouse-brain=0.290 | weights: c-elegans=0.002, cerebellum=0.036, flywire=0.026, berghia=0.006, microns=0.926, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
59
+ [02:28:17][ 2073s][CONS] round 4: on the 28 new patches student Dice=0.661 vs ensemble 0.499 -> pseudo-labels from the student | consistency x0.54
60
+ [02:28:24][ 2080s][FT] round 4/6 epoch 1/5 | patches=112 | loss=0.7447
61
+ [02:28:31][ 2088s][FT] round 4/6 epoch 2/5 | patches=112 | loss=0.7579
62
+ [02:28:39][ 2095s][FT] round 4/6 epoch 3/5 | patches=112 | loss=0.7504
63
+ [02:28:46][ 2102s][FT] round 4/6 epoch 4/5 | patches=112 | loss=0.7336
64
+ [02:28:53][ 2109s][FT] round 4/6 epoch 5/5 | patches=112 | loss=0.7056
65
+ [02:28:57][ 2113s][AL] round 4/6 | labeled=112 | selection_seconds=20.2000 round_seconds=387.2000 pseudo_student_dice=0.6605 pseudo_ensemble_dice=0.4986 consistency_scale=0.5350 val_dice=0.7432 val_vi=0.5390 val_ece=0.0128
66
+ [02:32:03][ 2299s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.367, cerebellum=0.452, flywire=0.235, berghia=0.373, microns=0.640, oct-glia=0.192, oct-sfl=0.282, mouse-brain=0.291 | blended with labeled Dice at 0.50
67
+ [02:34:39][ 2455s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.549, uniform=0.365, top1=0.550, top2=0.551, top3=0.551 -> using mixture
68
+ [02:34:39][ 2455s][WEIGHTS] round 5: teacher Dice on 140 labeled patches + 0 blank (1433291 fg px): c-elegans=0.352, cerebellum=0.422, flywire=0.208, berghia=0.323, microns=0.550, oct-glia=0.166, oct-sfl=0.241, mouse-brain=0.283 | weights: c-elegans=0.001, cerebellum=0.031, flywire=0.025, berghia=0.006, microns=0.933, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
69
+ [02:34:52][ 2468s][CONS] round 5: on the 28 new patches student Dice=0.692 vs ensemble 0.540 -> pseudo-labels from the student | consistency x0.64
70
+ [02:35:01][ 2477s][FT] round 5/6 epoch 1/5 | patches=140 | loss=0.7161
71
+ [02:35:10][ 2486s][FT] round 5/6 epoch 2/5 | patches=140 | loss=0.7050
72
+ [02:35:19][ 2495s][FT] round 5/6 epoch 3/5 | patches=140 | loss=0.6953
73
+ [02:35:28][ 2504s][FT] round 5/6 epoch 4/5 | patches=140 | loss=0.6930
74
+ [02:35:37][ 2513s][FT] round 5/6 epoch 5/5 | patches=140 | loss=0.6856
75
+ [02:35:41][ 2517s][AL] round 5/6 | labeled=140 | selection_seconds=19.9000 round_seconds=399.7000 pseudo_student_dice=0.6920 pseudo_ensemble_dice=0.5397 consistency_scale=0.6400 val_dice=0.7580 val_vi=0.5310 val_ece=0.0156
76
+ [02:38:49][ 2705s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.395, cerebellum=0.477, flywire=0.236, berghia=0.376, microns=0.639, oct-glia=0.197, oct-sfl=0.282, mouse-brain=0.316 | blended with labeled Dice at 0.50
77
+ [02:41:27][ 2863s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.558, uniform=0.364, top1=0.559, top2=0.560, top3=0.560 -> using mixture
78
+ [02:41:27][ 2863s][WEIGHTS] round 6: teacher Dice on 168 labeled patches + 0 blank (1730353 fg px): c-elegans=0.369, cerebellum=0.435, flywire=0.207, berghia=0.325, microns=0.559, oct-glia=0.162, oct-sfl=0.245, mouse-brain=0.297 | weights: c-elegans=0.002, cerebellum=0.033, flywire=0.023, berghia=0.005, microns=0.933, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
79
+ [02:41:40][ 2876s][CONS] round 6: on the 28 new patches student Dice=0.684 vs ensemble 0.552 -> pseudo-labels from the student | consistency x0.61
80
+ [02:41:51][ 2887s][FT] round 6/6 epoch 1/5 | patches=168 | loss=0.6902
81
+ [02:42:01][ 2897s][FT] round 6/6 epoch 2/5 | patches=168 | loss=0.6889
82
+ [02:42:12][ 2908s][FT] round 6/6 epoch 3/5 | patches=168 | loss=0.6774
83
+ [02:42:22][ 2918s][FT] round 6/6 epoch 4/5 | patches=168 | loss=0.6739
84
+ [02:42:32][ 2929s][FT] round 6/6 epoch 5/5 | patches=168 | loss=0.6641
85
+ [02:42:37][ 2933s][AL] round 6/6 | labeled=168 | selection_seconds=19.9000 round_seconds=411.2000 pseudo_student_dice=0.6845 pseudo_ensemble_dice=0.5515 consistency_scale=0.6150 val_dice=0.7619 val_vi=0.5293 val_ece=0.0177
86
+ [02:42:47][ 2943s][CONS] final consolidation: pseudo-labels refreshed from the student
87
+ [02:42:57][ 2953s][FT] final 1/10 epoch 1/1 | patches=168 | loss=0.6622
88
+ [02:43:08][ 2964s][FT] final 2/10 epoch 1/1 | patches=168 | loss=0.6623
89
+ [02:43:18][ 2974s][FT] final 3/10 epoch 1/1 | patches=168 | loss=0.6467
90
+ [02:43:29][ 2985s][FT] final 4/10 epoch 1/1 | patches=168 | loss=0.6459
91
+ [02:43:39][ 2995s][FT] final 5/10 epoch 1/1 | patches=168 | loss=0.6379
92
+ [02:43:50][ 3006s][FT] final 6/10 epoch 1/1 | patches=168 | loss=0.6291
93
+ [02:44:00][ 3016s][FT] final 7/10 epoch 1/1 | patches=168 | loss=0.6209
94
+ [02:44:11][ 3027s][FT] final 8/10 epoch 1/1 | patches=168 | loss=0.6170
95
+ [02:44:21][ 3037s][FT] final 9/10 epoch 1/1 | patches=168 | loss=0.6202
96
+ [02:44:32][ 3048s][FT] final 10/10 epoch 1/1 | patches=168 | loss=0.6203
97
+ [02:44:36][ 3052s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=114.9000 val_dice=0.7586 val_vi=0.5257 val_ece=0.0234
98
+ [02:44:36][ 3052s][WEIGHTS] final: c-elegans=0.002, cerebellum=0.033, flywire=0.023, berghia=0.005, microns=0.933, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
99
+ [02:45:11][ 3087s][TEST] raw student (no EMA, no TTA): patch_dice=0.7514 patch_vi=0.5301
100
+ [02:45:15][ 3092s][TEST] final model without TTA: patch_dice=0.7514 patch_vi=0.5301
101
+ [02:45:15][ 3092s][RESOURCES] {"phases": {"setup": {"seconds": 4.3, "peak_cpu_rss_mb": 2193.5, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 66.88, "peak_cpu_rss_mb": 4186.1, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 650.11, "peak_cpu_rss_mb": 5163.3, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 2325.13, "peak_cpu_rss_mb": 5163.3, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 39.44, "peak_cpu_rss_mb": 5163.3, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 735, "images": 15, "patches_per_second": 18.6, "seconds_per_image": 2.629}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5163.3, "total_seconds": 3085.9}
102
+ [02:45:15][ 3092s][TEST] patch_dice=0.7617 patch_iou=0.6247 patch_precision=0.7320 patch_recall=0.7970 patch_vi=0.5112 image_dice=0.8086 image_iou=0.6791 image_precision=0.7826 image_recall=0.8367 image_vi=0.5191 cal_ece=0.0115 cal_nll=0.1807 cal_brier=0.0572 cal_mean_confidence=0.9288 cal_accuracy=0.9173 cal_predicted_prevalence=0.2214 cal_true_prevalence=0.2059 cal_mean_probability=0.2207
103
+ [02:45:16][ 3092s][DONE] snemi3d macs-v11-norestart-acq-mcdropout b5 s1 | test patch Dice=0.7617 VI=0.5112 | image Dice=0.8086 VI=0.5191 | 3092s
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "snemi3d",
3
+ "variant": "macs-v11-norestart-acq-mcdropout",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "snemi3d",
9
+ "variant": "macs-v11-norestart-acq-mcdropout",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "mcdropout",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "snemi3d",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-mcdropout",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "octopus-vulgaris-vertical-lobe-sfltract",
150
+ "whole-mouse-brain"
151
+ ],
152
+ "alphas": [
153
+ 0.005265163985947525,
154
+ 0.05775356661687405,
155
+ 0.3937117170688725,
156
+ 0.02742108315870487,
157
+ 0.4770168284742763,
158
+ 0.006835511403011292,
159
+ 0.011200087973044965,
160
+ 0.020796041319268533
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "octopus-vulgaris-vertical-lobe-sfltract",
171
+ "whole-mouse-brain"
172
+ ],
173
+ "mixture": [
174
+ 0.005265163985947525,
175
+ 0.05775356661687405,
176
+ 0.3937117170688725,
177
+ 0.02742108315870487,
178
+ 0.4770168284742763,
179
+ 0.006835511403011292,
180
+ 0.011200087973044965,
181
+ 0.020796041319268533
182
+ ],
183
+ "per_source": [
184
+ 0.0030099407416697968,
185
+ 0.30826237672231105,
186
+ 0.030874093815323564,
187
+ 0.005310674836551046,
188
+ 0.6243418715179362,
189
+ 0.02131301441017302,
190
+ 0.0048036204646279375,
191
+ 0.002084407491407262
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.048363233996627016,
205
+ "mmd2_mixture": 0.060122682064390254,
206
+ "mmd2_uniform": 0.15285688303099165,
207
+ "mmd2_single_source": [
208
+ 0.4522663898122707,
209
+ 0.14701298584193184,
210
+ 0.12241687119492284,
211
+ 0.2726521753211397,
212
+ 0.08995170742180114,
213
+ 0.3744254300178685,
214
+ 0.33957846092746485,
215
+ 0.23688038103280662
216
+ ],
217
+ "median_squared_distance": 0.18662990120119327,
218
+ "gammas": [
219
+ 1.3395495490858758,
220
+ 2.6790990981717515,
221
+ 5.358198196343503,
222
+ 10.716396392687006,
223
+ 21.432792785374012
224
+ ],
225
+ "max_weight": 0.4770168284742763,
226
+ "entropy": 1.1759448067763238,
227
+ "effective_sources": 3.24120380896937,
228
+ "min_weight": 0.005265163985947525
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.4624401356050084,
233
+ 0.12211205990556462,
234
+ 0.29128492533416295,
235
+ 0.4206953767024899,
236
+ 0.07022529260621624,
237
+ 0.3185315424880186,
238
+ 0.42807307387367177,
239
+ 0.489454149021297
240
+ ],
241
+ "standardized": [
242
+ 0.9323134642607491,
243
+ -1.3822019864377946,
244
+ -0.23168506223542185,
245
+ 0.6484142024470035,
246
+ -1.735075384714815,
247
+ -0.04638528568228213,
248
+ 0.6985887114356643,
249
+ 1.1160313409268967
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.6243418715179362,
253
+ "entropy": 0.9300659298676801,
254
+ "effective_sources": 2.534676282981126,
255
+ "min_weight": 0.002084407491407262
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 7.4
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.41247125221353,
265
+ 0.47321264983034456,
266
+ 0.19639403256049165,
267
+ 0.31013587127331976,
268
+ 0.5894646206275136,
269
+ 0.13744302537529526,
270
+ 0.3054434345563225,
271
+ 0.35012697230796425
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.4205061683646676,
275
+ "mixture@raw": 0.462918877571213,
276
+ "mixture@logit": 0.3665782427199844,
277
+ "per_source": 0.5892228765147073,
278
+ "per_source@raw": 0.5905348345941427,
279
+ "per_source@logit": 0.5781053080039771,
280
+ "uniform": 0.41124230184319877,
281
+ "uniform@raw": 0.4669572710990906,
282
+ "uniform@logit": 0.22782834015245554
283
+ },
284
+ "val_patches": 735
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 2.642308473587036,
294
+ 4.074584007263184
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.4770168284742763,
299
+ "entropy": 1.1759448067763238,
300
+ "effective_sources": 3.24120380896937,
301
+ "min_weight": 0.005265163985947525
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.3571428571428572,
305
+ "spearman_weight_taxonomy": 0.50709255283711,
306
+ "top_source": "microns_basil",
307
+ "top_source_is_best_teacher": true
308
+ },
309
+ "init_teacher": "microns_basil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.0,
312
+ "kd_seconds": 650.1,
313
+ "round0_val": {
314
+ "val_dice": 0.3755735946634418,
315
+ "val_vi": 0.6390912588283757,
316
+ "val_ece": 0.07344130447917224
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 28,
322
+ "selection_seconds": 102.6,
323
+ "round_seconds": 544.0,
324
+ "teacher_dice_labeled": [
325
+ 0.35791764681874827,
326
+ 0.4417052610943664,
327
+ 0.21306314427094966,
328
+ 0.3478407216013448,
329
+ 0.5427570406835327,
330
+ 0.2427000034404966,
331
+ 0.2815004375801934,
332
+ 0.2748319195941523
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 279577,
336
+ "evidence_nonempty_patches": 28,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.41833134967864793,
340
+ "restart_teacher_dice": 0.5427570406835327,
341
+ "weights": [
342
+ 0.0015948525493022832,
343
+ 0.04043639495708322,
344
+ 0.0280150797666998,
345
+ 0.007509823162345696,
346
+ 0.9174652491168103,
347
+ 0.0006541777664380059,
348
+ 0.001579990027762249,
349
+ 0.002744432653558335
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.543427983950943,
354
+ "uniform": 0.42744369108351205,
355
+ "top1": 0.5427570406835327,
356
+ "top2": 0.5446170820822631,
357
+ "top3": 0.5446748258576916
358
+ },
359
+ "val_dice": 0.7278339915577575,
360
+ "val_vi": 0.5919187624963894,
361
+ "val_ece": 0.020966535856338883
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 56,
366
+ "selection_seconds": 20.5,
367
+ "round_seconds": 62.5,
368
+ "teacher_dice_labeled": [
369
+ 0.31181172477305286,
370
+ 0.4123490463356484,
371
+ 0.20608301371020069,
372
+ 0.27008440705749637,
373
+ 0.4244959608987849,
374
+ 0.18641832734596342,
375
+ 0.21613912931956966,
376
+ 0.26276946418977837
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 542568,
380
+ "evidence_nonempty_patches": 56,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.003220035189592252,
385
+ 0.09652850169918203,
386
+ 0.0,
387
+ 0.0,
388
+ 0.9002514631112257,
389
+ 0.0,
390
+ 0.0,
391
+ 0.0
392
+ ],
393
+ "ensemble_choice": "top3",
394
+ "candidate_dice": {
395
+ "mixture": 0.4215898139097271,
396
+ "uniform": 0.3200273826153171,
397
+ "top1": 0.4244959608987849,
398
+ "top2": 0.43002979418608317,
399
+ "top3": 0.4302272878082905
400
+ },
401
+ "pseudo_student_dice": 0.5949284088746447,
402
+ "pseudo_ensemble_dice": 0.23617475681690378,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.316,
405
+ "val_dice": 0.7416816901534429,
406
+ "val_vi": 0.5611395139148813,
407
+ "val_ece": 0.018502803413247136
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 84,
412
+ "selection_seconds": 20.2,
413
+ "round_seconds": 375.8,
414
+ "teacher_dice_labeled": [
415
+ 0.36133371836338635,
416
+ 0.44085686194906737,
417
+ 0.2136680721683852,
418
+ 0.3340398695594378,
419
+ 0.535725225724645,
420
+ 0.17392592764506856,
421
+ 0.2235620921091399,
422
+ 0.2938632487285832
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.41194979078777727,
426
+ 0.49042473385394364,
427
+ 0.240436043260484,
428
+ 0.3960085279038956,
429
+ 0.6642957966312557,
430
+ 0.19332109643781695,
431
+ 0.2651361815473013,
432
+ 0.3280756406570733
433
+ ],
434
+ "evidence_fg_pixels": 821274,
435
+ "evidence_nonempty_patches": 84,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0017627896179064318,
440
+ 0.04282841635643022,
441
+ 0.030106700948834032,
442
+ 0.0069877524086444905,
443
+ 0.913471445141928,
444
+ 0.0003512836206721712,
445
+ 0.0009455302888582306,
446
+ 0.003546081616726441
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.5344386028800578,
451
+ "uniform": 0.35706953542833364,
452
+ "top1": 0.535725225724645,
453
+ "top2": 0.5373175326220334,
454
+ "top3": 0.5374325155195703
455
+ },
456
+ "pseudo_student_dice": 0.647461004157173,
457
+ "pseudo_ensemble_dice": 0.3694070799234942,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.492,
460
+ "val_dice": 0.749626075653042,
461
+ "val_vi": 0.5421390132818664,
462
+ "val_ece": 0.017509178777303697
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 112,
467
+ "selection_seconds": 20.2,
468
+ "round_seconds": 387.2,
469
+ "teacher_dice_labeled": [
470
+ 0.3576869817133024,
471
+ 0.4298228509106173,
472
+ 0.20622688258575914,
473
+ 0.3286969851255738,
474
+ 0.5436391225695805,
475
+ 0.16475371617754514,
476
+ 0.23146357713103805,
477
+ 0.2901076096672102
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.39138772527845306,
481
+ 0.475016594588615,
482
+ 0.23501316215553472,
483
+ 0.38595151149100176,
484
+ 0.6518267028414817,
485
+ 0.1851465791692955,
486
+ 0.266669253417049,
487
+ 0.31029983774319086
488
+ ],
489
+ "evidence_fg_pixels": 1131999,
490
+ "evidence_nonempty_patches": 112,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.0015913184560729483,
495
+ 0.03590923115993884,
496
+ 0.02616620169627435,
497
+ 0.006201944108146959,
498
+ 0.9256755334459202,
499
+ 0.00030006661828817027,
500
+ 0.0009580437690906246,
501
+ 0.0031976607462679196
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.5425422974902394,
506
+ "uniform": 0.35911726422428564,
507
+ "top1": 0.5436391225695805,
508
+ "top2": 0.5449977421327727,
509
+ "top3": 0.5450780283194936
510
+ },
511
+ "pseudo_student_dice": 0.6605078248292389,
512
+ "pseudo_ensemble_dice": 0.4986002301881694,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.535,
515
+ "val_dice": 0.743164012252046,
516
+ "val_vi": 0.5390013919900811,
517
+ "val_ece": 0.012813062188756805
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 140,
522
+ "selection_seconds": 19.9,
523
+ "round_seconds": 399.7,
524
+ "teacher_dice_labeled": [
525
+ 0.3518329705798253,
526
+ 0.4218277901383832,
527
+ 0.2075243638051535,
528
+ 0.3233491742376384,
529
+ 0.5503626085755353,
530
+ 0.1655991382860516,
531
+ 0.2414640614809438,
532
+ 0.2833941818452663
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.36696379474936547,
536
+ 0.45218328641072336,
537
+ 0.23535295439566672,
538
+ 0.3729089636121604,
539
+ 0.6402919292608433,
540
+ 0.1915812146114833,
541
+ 0.28248284990582206,
542
+ 0.29116450464463495
543
+ ],
544
+ "evidence_fg_pixels": 1433291,
545
+ "evidence_nonempty_patches": 140,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0014139596753337835,
550
+ 0.03123112082644807,
551
+ 0.024973484663534776,
552
+ 0.005538678696212871,
553
+ 0.9327431865927268,
554
+ 0.0002850971507548484,
555
+ 0.0009975173861996782,
556
+ 0.0028169550087891832
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.549249434136135,
561
+ "uniform": 0.3652362373751127,
562
+ "top1": 0.5503626085755353,
563
+ "top2": 0.5514334084307191,
564
+ "top3": 0.5514877157094626
565
+ },
566
+ "pseudo_student_dice": 0.6920095778498158,
567
+ "pseudo_ensemble_dice": 0.5397081235622629,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.64,
570
+ "val_dice": 0.7580254046092908,
571
+ "val_vi": 0.5310221427433142,
572
+ "val_ece": 0.015614619822543528
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 168,
577
+ "selection_seconds": 19.9,
578
+ "round_seconds": 411.2,
579
+ "teacher_dice_labeled": [
580
+ 0.368547271203964,
581
+ 0.43520792181378254,
582
+ 0.20708955846823568,
583
+ 0.3250520172516318,
584
+ 0.5587925243587022,
585
+ 0.1624849748096609,
586
+ 0.24510524644786275,
587
+ 0.2974032896168033
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.39540179798971437,
591
+ 0.476869730677141,
592
+ 0.2360398325311521,
593
+ 0.3762109930294652,
594
+ 0.6388893327362402,
595
+ 0.19723726041841333,
596
+ 0.28174786281265013,
597
+ 0.31583038741705616
598
+ ],
599
+ "evidence_fg_pixels": 1730353,
600
+ "evidence_nonempty_patches": 168,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0015371438732314031,
605
+ 0.032838624156987614,
606
+ 0.02287067693233035,
607
+ 0.005181908431598925,
608
+ 0.9333852928032684,
609
+ 0.0002541888205423604,
610
+ 0.0009515292617998961,
611
+ 0.0029806357202409647
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.557801610985773,
616
+ "uniform": 0.3639750335187959,
617
+ "top1": 0.5587925243587022,
618
+ "top2": 0.5598847509339682,
619
+ "top3": 0.559953710155138
620
+ },
621
+ "pseudo_student_dice": 0.6844702929054793,
622
+ "pseudo_ensemble_dice": 0.5515304120552174,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.615,
625
+ "val_dice": 0.7619157981028477,
626
+ "val_vi": 0.5293165228256188,
627
+ "val_ece": 0.0177300918492753
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 168,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 114.9,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7586223312419698,
636
+ "val_vi": 0.5257261950571073,
637
+ "val_ece": 0.02341865030215247
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.4788310711035088,
642
+ "auroc_top20_error": 0.8198074888014347
643
+ },
644
+ "al_seconds": 2325.1,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.0015371438732314031,
657
+ 0.032838624156987614,
658
+ 0.02287067693233035,
659
+ 0.005181908431598925,
660
+ 0.9333852928032684,
661
+ 0.0002541888205423604,
662
+ 0.0009515292617998961,
663
+ 0.0029806357202409647
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.9333852928032684,
667
+ "entropy": 0.3262158082697485,
668
+ "effective_sources": 1.3857143852303648,
669
+ "min_weight": 0.0002541888205423604
670
+ },
671
+ "top_source_final": "microns_basil",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7513668328802934,
676
+ "patch_iou": 0.611391144333655,
677
+ "patch_precision": 0.7196353193099454,
678
+ "patch_recall": 0.7894107777903655,
679
+ "patch_vi": 0.5301334119821381,
680
+ "n_patches": 735,
681
+ "cal_ece": 0.02146211620065379,
682
+ "cal_nll": 0.1954418500392805,
683
+ "cal_brier": 0.06123293992316221,
684
+ "cal_mean_confidence": 0.9340989678162999,
685
+ "cal_accuracy": 0.9126368516156462,
686
+ "cal_predicted_prevalence": 0.22335246598639455,
687
+ "cal_true_prevalence": 0.20588727678571428,
688
+ "cal_mean_probability": 0.22105475044292994
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7513668328802934,
692
+ "patch_iou": 0.611391144333655,
693
+ "patch_precision": 0.7196353193099454,
694
+ "patch_recall": 0.7894107777903655,
695
+ "patch_vi": 0.5301334119821381,
696
+ "n_patches": 735,
697
+ "cal_ece": 0.02146211620065379,
698
+ "cal_nll": 0.1954418500392805,
699
+ "cal_brier": 0.06123293992316221,
700
+ "cal_mean_confidence": 0.9340989678162999,
701
+ "cal_accuracy": 0.9126368516156462,
702
+ "cal_predicted_prevalence": 0.22335246598639455,
703
+ "cal_true_prevalence": 0.20588727678571428,
704
+ "cal_mean_probability": 0.22105475044292994
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7617087743524753,
708
+ "patch_iou": 0.6246963651828682,
709
+ "patch_precision": 0.7320438250707431,
710
+ "patch_recall": 0.7970178665759515,
711
+ "patch_vi": 0.5112018400107708,
712
+ "n_patches": 735,
713
+ "image_dice": 0.8085869204312826,
714
+ "image_iou": 0.67914010219418,
715
+ "image_precision": 0.7826366296591518,
716
+ "image_recall": 0.8366991090311863,
717
+ "image_vi": 0.5190660044759824,
718
+ "n_images": 15,
719
+ "cal_ece": 0.011528958416880475,
720
+ "cal_nll": 0.18065925569353553,
721
+ "cal_brier": 0.057158908950022694,
722
+ "cal_mean_confidence": 0.9287868772093976,
723
+ "cal_accuracy": 0.9172579187925171,
724
+ "cal_predicted_prevalence": 0.22142591411564627,
725
+ "cal_true_prevalence": 0.20588727678571428,
726
+ "cal_mean_probability": 0.22065802468645127
727
+ },
728
+ "eval_seconds": 39.4,
729
+ "total_seconds": 3091.5,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 4.3,
734
+ "peak_cpu_rss_mb": 2193.5,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 66.88,
740
+ "peak_cpu_rss_mb": 4186.1,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 650.11,
746
+ "peak_cpu_rss_mb": 5163.3,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4638.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2325.13,
753
+ "peak_cpu_rss_mb": 5163.3,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4646.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 39.44,
760
+ "peak_cpu_rss_mb": 5163.3,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4646.0,
763
+ "patches": 735,
764
+ "images": 15,
765
+ "patches_per_second": 18.6,
766
+ "seconds_per_image": 2.629
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5163.3,
771
+ "total_seconds": 3085.9
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/snemi3d/macs-v11-norestart-acq-mcdropout_b5_s1.pth"
785
+ }
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,28,102.6,544.0,"[0.35791764681874827, 0.4417052610943664, 0.21306314427094966, 0.3478407216013448, 0.5427570406835327, 0.2427000034404966, 0.2815004375801934, 0.2748319195941523]",,279577,28,True,kept,0.41833134967864793,0.5427570406835327,"[0.0015948525493022832, 0.04043639495708322, 0.0280150797666998, 0.007509823162345696, 0.9174652491168103, 0.0006541777664380059, 0.001579990027762249, 0.002744432653558335]",mixture,"{'mixture': 0.543427983950943, 'uniform': 0.42744369108351205, 'top1': 0.5427570406835327, 'top2': 0.5446170820822631, 'top3': 0.5446748258576916}",0.7278339915577575,0.5919187624963894,0.020966535856338883,,,,,
3
+ 2,56,20.5,62.5,"[0.31181172477305286, 0.4123490463356484, 0.20608301371020069, 0.27008440705749637, 0.4244959608987849, 0.18641832734596342, 0.21613912931956966, 0.26276946418977837]",,542568,56,False,,,,"[0.003220035189592252, 0.09652850169918203, 0.0, 0.0, 0.9002514631112257, 0.0, 0.0, 0.0]",top3,"{'mixture': 0.4215898139097271, 'uniform': 0.3200273826153171, 'top1': 0.4244959608987849, 'top2': 0.43002979418608317, 'top3': 0.4302272878082905}",0.7416816901534429,0.5611395139148813,0.018502803413247136,0.5949284088746447,0.23617475681690378,student,0.316,
4
+ 3,84,20.2,375.8,"[0.36133371836338635, 0.44085686194906737, 0.2136680721683852, 0.3340398695594378, 0.535725225724645, 0.17392592764506856, 0.2235620921091399, 0.2938632487285832]","[0.41194979078777727, 0.49042473385394364, 0.240436043260484, 0.3960085279038956, 0.6642957966312557, 0.19332109643781695, 0.2651361815473013, 0.3280756406570733]",821274,84,False,,,,"[0.0017627896179064318, 0.04282841635643022, 0.030106700948834032, 0.0069877524086444905, 0.913471445141928, 0.0003512836206721712, 0.0009455302888582306, 0.003546081616726441]",mixture,"{'mixture': 0.5344386028800578, 'uniform': 0.35706953542833364, 'top1': 0.535725225724645, 'top2': 0.5373175326220334, 'top3': 0.5374325155195703}",0.749626075653042,0.5421390132818664,0.017509178777303697,0.647461004157173,0.3694070799234942,student,0.492,
5
+ 4,112,20.2,387.2,"[0.3576869817133024, 0.4298228509106173, 0.20622688258575914, 0.3286969851255738, 0.5436391225695805, 0.16475371617754514, 0.23146357713103805, 0.2901076096672102]","[0.39138772527845306, 0.475016594588615, 0.23501316215553472, 0.38595151149100176, 0.6518267028414817, 0.1851465791692955, 0.266669253417049, 0.31029983774319086]",1131999,112,False,,,,"[0.0015913184560729483, 0.03590923115993884, 0.02616620169627435, 0.006201944108146959, 0.9256755334459202, 0.00030006661828817027, 0.0009580437690906246, 0.0031976607462679196]",mixture,"{'mixture': 0.5425422974902394, 'uniform': 0.35911726422428564, 'top1': 0.5436391225695805, 'top2': 0.5449977421327727, 'top3': 0.5450780283194936}",0.743164012252046,0.5390013919900811,0.012813062188756805,0.6605078248292389,0.4986002301881694,student,0.535,
6
+ 5,140,19.9,399.7,"[0.3518329705798253, 0.4218277901383832, 0.2075243638051535, 0.3233491742376384, 0.5503626085755353, 0.1655991382860516, 0.2414640614809438, 0.2833941818452663]","[0.36696379474936547, 0.45218328641072336, 0.23535295439566672, 0.3729089636121604, 0.6402919292608433, 0.1915812146114833, 0.28248284990582206, 0.29116450464463495]",1433291,140,False,,,,"[0.0014139596753337835, 0.03123112082644807, 0.024973484663534776, 0.005538678696212871, 0.9327431865927268, 0.0002850971507548484, 0.0009975173861996782, 0.0028169550087891832]",mixture,"{'mixture': 0.549249434136135, 'uniform': 0.3652362373751127, 'top1': 0.5503626085755353, 'top2': 0.5514334084307191, 'top3': 0.5514877157094626}",0.7580254046092908,0.5310221427433142,0.015614619822543528,0.6920095778498158,0.5397081235622629,student,0.64,
7
+ 6,168,19.9,411.2,"[0.368547271203964, 0.43520792181378254, 0.20708955846823568, 0.3250520172516318, 0.5587925243587022, 0.1624849748096609, 0.24510524644786275, 0.2974032896168033]","[0.39540179798971437, 0.476869730677141, 0.2360398325311521, 0.3762109930294652, 0.6388893327362402, 0.19723726041841333, 0.28174786281265013, 0.31583038741705616]",1730353,168,False,,,,"[0.0015371438732314031, 0.032838624156987614, 0.02287067693233035, 0.005181908431598925, 0.9333852928032684, 0.0002541888205423604, 0.0009515292617998961, 0.0029806357202409647]",mixture,"{'mixture': 0.557801610985773, 'uniform': 0.3639750335187959, 'top1': 0.5587925243587022, 'top2': 0.5598847509339682, 'top3': 0.559953710155138}",0.7619157981028477,0.5293165228256188,0.0177300918492753,0.6844702929054793,0.5515304120552174,student,0.615,
8
+ 7,168,0.0,114.9,,,,,,,,,,,,0.7586223312419698,0.5257261950571073,0.02341865030215247,,,,,True
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [11:03:34][ 0s][START] target=whole-mouse-brain variant=macs-v11-norestart-acq-entropy budget=5.0% seed=2 | {"task": "membrane", "target": "whole-mouse-brain", "variant": "macs-v11-norestart-acq-entropy", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "entropy", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [11:03:34][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [11:03:34][ 0s][DATA] whole-mouse-brain: train=5925 val=1250 test=1300 patches
4
+ [11:03:36][ 2s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, oct-sfl=2.64, snemi=3.55
5
+ [11:03:37][ 3s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [11:03:43][ 9s][WEIGHTS] mixture: c-elegans=0.008, cerebellum=0.256, flywire=0.039, berghia=0.075, microns=0.376, oct-glia=0.134, oct-sfl=0.096, snemi=0.016 | eff.sources=5.13 | MMD2 mix=0.1295 uniform=0.1553
7
+ [11:03:43][ 9s][WEIGHTS] per-source: c-elegans=0.145, cerebellum=0.042, flywire=0.001, berghia=0.142, microns=0.020, oct-glia=0.402, oct-sfl=0.243, snemi=0.004 | min-MMD source (NeuroADDA rule) = oct-glia
8
+ [11:04:57][ 83s][TEACHERS] target-val Dice: c-elegans=0.386, cerebellum=0.316, flywire=0.110, berghia=0.259, microns=0.329, oct-glia=0.407, oct-sfl=0.440, snemi=0.305
9
+ [11:04:57][ 83s][TEACHERS] ensemble target-val Dice: mixture=0.385, mixture@raw=0.400, mixture@logit=0.380, per_source=0.420, per_source@raw=0.422, per_source@logit=0.419, uniform=0.413, uniform@raw=0.388, uniform@logit=0.405
10
+ [11:04:57][ 83s][WEIGHTS] using mixture: c-elegans=0.008, cerebellum=0.256, flywire=0.039, berghia=0.075, microns=0.376, oct-glia=0.134, oct-sfl=0.096, snemi=0.016
11
+ [11:04:57][ 83s][INIT] student initialised from teacher microns (weight 0.376)
12
+ [11:05:00][ 86s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [11:05:00][ 86s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [11:09:02][ 328s][KD] soft labels for 5925 patches from 8 teachers in 242s
15
+ [11:11:59][ 505s][KD] epoch 1/5 | patches=5925 | loss=0.6655 | 176s
16
+ [11:14:55][ 681s][KD] epoch 2/5 | patches=5925 | loss=0.4946 | 176s
17
+ [11:17:51][ 857s][KD] epoch 3/5 | patches=5925 | loss=0.4649 | 176s
18
+ [11:20:47][ 1033s][KD] epoch 4/5 | patches=5925 | loss=0.4584 | 176s
19
+ [11:23:43][ 1209s][KD] epoch 5/5 | patches=5925 | loss=0.4562 | 176s
20
+ [11:23:49][ 1215s][ROUND0] before any target label: val_dice=0.3932 val_vi=0.5071
21
+ [11:23:49][ 1215s][AL] patches=5925 (pool 5925 after dropping blank; free blank negatives: True) | budget=296 (5.0%) | rounds=6 | per_round=49 | acquisition=entropy | first_round=stratified
22
+ [11:24:21][ 1247s][AL] round-1 uncertainty quality on 5925 patches: {'spearman_uncertainty_error': -0.2505878322752116, 'auroc_top20_error': 0.3924166090497315}
23
+ [11:25:43][ 1329s][AL] round 1: stratified cold start: 25 patches from the membrane-rich half (ensemble prevalence >= 0.213) + 24 from the membrane-poor half of 2000 candidates
24
+ [11:25:51][ 1337s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.417, uniform=0.396, top1=0.453, top2=0.456, top3=0.424 -> using top2
25
+ [11:25:52][ 1338s][WEIGHTS] round 1: student kept (labeled Dice 0.292 vs best teacher oct-sfl 0.453); distilling the corrected ensemble into it
26
+ [11:25:52][ 1338s][WEIGHTS] round 1: teacher Dice on 49 labeled patches + 0 blank (745730 fg px): c-elegans=0.417, cerebellum=0.359, flywire=0.153, berghia=0.310, microns=0.248, oct-glia=0.404, oct-sfl=0.453, snemi=0.315 | weights: c-elegans=0.052, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.948, snemi=0.000
27
+ [11:26:52][ 1398s][KD] soft labels for 5876 patches from 8 teachers in 61s
28
+ [11:29:47][ 1573s][KD] epoch 1/2 | patches=5876 | loss=0.2658 | 175s
29
+ [11:32:43][ 1749s][KD] epoch 2/2 | patches=5876 | loss=0.2580 | 175s
30
+ [11:33:04][ 1770s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 21s
31
+ [11:33:07][ 1773s][FT] round 1/6 epoch 1/5 | patches=49 | loss=1.4617
32
+ [11:33:11][ 1777s][FT] round 1/6 epoch 2/5 | patches=49 | loss=1.2396
33
+ [11:33:15][ 1781s][FT] round 1/6 epoch 3/5 | patches=49 | loss=1.1040
34
+ [11:33:19][ 1785s][FT] round 1/6 epoch 4/5 | patches=49 | loss=0.9489
35
+ [11:33:23][ 1789s][FT] round 1/6 epoch 5/5 | patches=49 | loss=1.1202
36
+ [11:33:28][ 1794s][AL] round 1/6 | labeled=49 | selection_seconds=113.6000 round_seconds=573.4000 restart_student_dice=0.2920 restart_teacher_dice=0.4531 val_dice=0.6300 val_vi=0.5107 val_ece=0.0330
37
+ [11:33:59][ 1825s][AL] round 2: 474/5876 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [11:34:15][ 1841s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.302, uniform=0.301, top1=0.358, top2=0.360, top3=0.325 -> using top2
39
+ [11:34:15][ 1841s][WEIGHTS] round 2: teacher Dice on 98 labeled patches + 0 blank (1155835 fg px): c-elegans=0.325, cerebellum=0.262, flywire=0.116, berghia=0.268, microns=0.190, oct-glia=0.316, oct-sfl=0.358, snemi=0.269 | weights: c-elegans=0.054, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.946, snemi=0.000
40
+ [11:34:30][ 1856s][CONS] round 2: on the 49 new patches student Dice=0.338 vs ensemble 0.125 -> pseudo-labels from the student | consistency x0.00
41
+ [11:34:33][ 1859s][FT] round 2/6 epoch 1/5 | patches=98 | loss=1.0522
42
+ [11:34:37][ 1863s][FT] round 2/6 epoch 2/5 | patches=98 | loss=1.0992
43
+ [11:34:40][ 1866s][FT] round 2/6 epoch 3/5 | patches=98 | loss=0.9450
44
+ [11:34:43][ 1869s][FT] round 2/6 epoch 4/5 | patches=98 | loss=0.9605
45
+ [11:34:47][ 1873s][FT] round 2/6 epoch 5/5 | patches=98 | loss=0.9465
46
+ [11:34:53][ 1879s][AL] round 2/6 | labeled=98 | selection_seconds=31.1000 round_seconds=78.3000 pseudo_student_dice=0.3380 pseudo_ensemble_dice=0.1250 consistency_scale=0.0000 val_dice=0.6671 val_vi=0.4213 val_ece=0.0160
47
+ [11:35:23][ 1909s][AL] round 3: 768/5827 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [11:38:11][ 2077s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.383, cerebellum=0.374, flywire=0.154, berghia=0.264, microns=0.332, oct-glia=0.446, oct-sfl=0.555, snemi=0.293 | blended with labeled Dice at 0.50
49
+ [11:40:48][ 2234s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.365, uniform=0.342, top1=0.415, top2=0.381, top3=0.383 -> using top1
50
+ [11:40:48][ 2234s][WEIGHTS] round 3: teacher Dice on 147 labeled patches + 0 blank (1901791 fg px): c-elegans=0.336, cerebellum=0.330, flywire=0.116, berghia=0.257, microns=0.231, oct-glia=0.343, oct-sfl=0.415, snemi=0.299 | weights: c-elegans=0.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=1.000, snemi=0.000
51
+ [11:41:04][ 2250s][CONS] round 3: on the 49 new patches student Dice=0.490 vs ensemble 0.116 -> pseudo-labels from the student | consistency x0.00
52
+ [11:41:08][ 2254s][FT] round 3/6 epoch 1/5 | patches=147 | loss=1.1947
53
+ [11:41:13][ 2259s][FT] round 3/6 epoch 2/5 | patches=147 | loss=1.0835
54
+ [11:41:18][ 2264s][FT] round 3/6 epoch 3/5 | patches=147 | loss=1.1484
55
+ [11:41:23][ 2269s][FT] round 3/6 epoch 4/5 | patches=147 | loss=1.0334
56
+ [11:41:27][ 2273s][FT] round 3/6 epoch 5/5 | patches=147 | loss=0.9493
57
+ [11:41:33][ 2279s][AL] round 3/6 | labeled=147 | selection_seconds=30.8000 round_seconds=394.7000 pseudo_student_dice=0.4902 pseudo_ensemble_dice=0.1158 consistency_scale=0.0000 val_dice=0.6500 val_vi=0.4666 val_ece=0.0266
58
+ [11:42:04][ 2310s][AL] round 4: 544/5778 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [11:44:54][ 2480s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.412, cerebellum=0.380, flywire=0.153, berghia=0.304, microns=0.302, oct-glia=0.433, oct-sfl=0.529, snemi=0.329 | blended with labeled Dice at 0.50
60
+ [11:47:34][ 2640s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.364, uniform=0.322, top1=0.395, top2=0.389, top3=0.386 -> using top1
61
+ [11:47:34][ 2640s][WEIGHTS] round 4: teacher Dice on 196 labeled patches + 0 blank (2568324 fg px): c-elegans=0.352, cerebellum=0.355, flywire=0.110, berghia=0.253, microns=0.219, oct-glia=0.324, oct-sfl=0.395, snemi=0.321 | weights: c-elegans=0.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=1.000, snemi=0.000
62
+ [11:47:49][ 2655s][CONS] round 4: on the 49 new patches student Dice=0.536 vs ensemble 0.226 -> pseudo-labels from the student | consistency x0.12
63
+ [11:48:02][ 2668s][FT] round 4/6 epoch 1/5 | patches=196 | loss=1.1507
64
+ [11:48:14][ 2680s][FT] round 4/6 epoch 2/5 | patches=196 | loss=1.0430
65
+ [11:48:27][ 2693s][FT] round 4/6 epoch 3/5 | patches=196 | loss=1.0931
66
+ [11:48:39][ 2705s][FT] round 4/6 epoch 4/5 | patches=196 | loss=1.0568
67
+ [11:48:51][ 2717s][FT] round 4/6 epoch 5/5 | patches=196 | loss=0.9960
68
+ [11:48:57][ 2723s][AL] round 4/6 | labeled=196 | selection_seconds=30.6000 round_seconds=438.1000 pseudo_student_dice=0.5360 pseudo_ensemble_dice=0.2257 consistency_scale=0.1200 val_dice=0.6867 val_vi=0.4335 val_ece=0.0067
69
+ [11:49:27][ 2753s][AL] round 5: 766/5729 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [11:52:21][ 2927s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.388, cerebellum=0.400, flywire=0.151, berghia=0.267, microns=0.312, oct-glia=0.430, oct-sfl=0.528, snemi=0.320 | blended with labeled Dice at 0.50
71
+ [11:55:05][ 3091s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.391, uniform=0.319, top1=0.394, top2=0.406, top3=0.405 -> using top3
72
+ [11:55:05][ 3091s][WEIGHTS] round 5: teacher Dice on 245 labeled patches + 0 blank (3582198 fg px): c-elegans=0.358, cerebellum=0.381, flywire=0.111, berghia=0.244, microns=0.218, oct-glia=0.316, oct-sfl=0.394, snemi=0.332 | weights: c-elegans=0.016, cerebellum=0.689, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.294, snemi=0.000
73
+ [11:55:20][ 3106s][CONS] round 5: on the 49 new patches student Dice=0.611 vs ensemble 0.448 -> pseudo-labels from the student | consistency x0.37
74
+ [11:55:35][ 3121s][FT] round 5/6 epoch 1/5 | patches=245 | loss=1.1906
75
+ [11:55:50][ 3136s][FT] round 5/6 epoch 2/5 | patches=245 | loss=1.1607
76
+ [11:56:05][ 3151s][FT] round 5/6 epoch 3/5 | patches=245 | loss=1.1352
77
+ [11:56:21][ 3167s][FT] round 5/6 epoch 4/5 | patches=245 | loss=1.0207
78
+ [11:56:36][ 3182s][FT] round 5/6 epoch 5/5 | patches=245 | loss=1.0371
79
+ [11:56:42][ 3188s][AL] round 5/6 | labeled=245 | selection_seconds=30.3000 round_seconds=458.7000 pseudo_student_dice=0.6111 pseudo_ensemble_dice=0.4482 consistency_scale=0.3700 val_dice=0.7010 val_vi=0.4148 val_ece=0.0096
80
+ [11:57:12][ 3218s][AL] round 6: 701/5680 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [12:00:09][ 3395s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.400, cerebellum=0.392, flywire=0.148, berghia=0.280, microns=0.298, oct-glia=0.433, oct-sfl=0.526, snemi=0.334 | blended with labeled Dice at 0.50
82
+ [12:02:57][ 3563s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.409, uniform=0.308, top1=0.393, top2=0.411, top3=0.411 -> using mixture
83
+ [12:02:57][ 3563s][WEIGHTS] round 6: teacher Dice on 294 labeled patches + 0 blank (4504610 fg px): c-elegans=0.378, cerebellum=0.393, flywire=0.108, berghia=0.247, microns=0.210, oct-glia=0.315, oct-sfl=0.385, snemi=0.347 | weights: c-elegans=0.013, cerebellum=0.509, flywire=0.004, berghia=0.035, microns=0.120, oct-glia=0.123, oct-sfl=0.176, snemi=0.020
84
+ [12:03:13][ 3579s][CONS] round 6: on the 49 new patches student Dice=0.650 vs ensemble 0.298 -> pseudo-labels from the student | consistency x0.50
85
+ [12:03:30][ 3596s][FT] round 6/6 epoch 1/5 | patches=294 | loss=1.1132
86
+ [12:03:48][ 3614s][FT] round 6/6 epoch 2/5 | patches=294 | loss=1.0773
87
+ [12:04:07][ 3633s][FT] round 6/6 epoch 3/5 | patches=294 | loss=1.1183
88
+ [12:04:25][ 3651s][FT] round 6/6 epoch 4/5 | patches=294 | loss=1.0493
89
+ [12:04:43][ 3669s][FT] round 6/6 epoch 5/5 | patches=294 | loss=0.9931
90
+ [12:04:48][ 3674s][AL] round 6/6 | labeled=294 | selection_seconds=30.1000 round_seconds=481.0000 pseudo_student_dice=0.6501 pseudo_ensemble_dice=0.2981 consistency_scale=0.5000 val_dice=0.7047 val_vi=0.3934 val_ece=0.0079
91
+ [12:04:59][ 3685s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [12:05:17][ 3703s][FT] final 1/10 epoch 1/1 | patches=294 | loss=0.9656
93
+ [12:05:35][ 3721s][FT] final 2/10 epoch 1/1 | patches=294 | loss=0.9334
94
+ [12:05:53][ 3739s][FT] final 3/10 epoch 1/1 | patches=294 | loss=0.9946
95
+ [12:06:11][ 3757s][FT] final 4/10 epoch 1/1 | patches=294 | loss=0.9482
96
+ [12:06:29][ 3775s][FT] final 5/10 epoch 1/1 | patches=294 | loss=0.9485
97
+ [12:06:47][ 3793s][FT] final 6/10 epoch 1/1 | patches=294 | loss=0.9475
98
+ [12:07:05][ 3811s][FT] final 7/10 epoch 1/1 | patches=294 | loss=0.8823
99
+ [12:07:23][ 3829s][FT] final 8/10 epoch 1/1 | patches=294 | loss=0.8645
100
+ [12:07:41][ 3847s][FT] final 9/10 epoch 1/1 | patches=294 | loss=0.8566
101
+ [12:07:59][ 3865s][FT] final 10/10 epoch 1/1 | patches=294 | loss=0.8279
102
+ [12:08:05][ 3871s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=190.4000 val_dice=0.7156 val_vi=0.3905 val_ece=0.0081
103
+ [12:08:05][ 3871s][WEIGHTS] final: c-elegans=0.013, cerebellum=0.509, flywire=0.004, berghia=0.035, microns=0.120, oct-glia=0.123, oct-sfl=0.176, snemi=0.020
104
+ [12:09:06][ 3932s][TEST] raw student (no EMA, no TTA): patch_dice=0.7055 patch_vi=0.3509
105
+ [12:09:13][ 3939s][TEST] final model without TTA: patch_dice=0.7055 patch_vi=0.3509
106
+ [12:09:13][ 3939s][RESOURCES] {"phases": {"setup": {"seconds": 1.48, "peak_cpu_rss_mb": 2192.2, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 84.15, "peak_cpu_rss_mb": 4183.1, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 1122.94, "peak_cpu_rss_mb": 5940.4, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 2655.43, "peak_cpu_rss_mb": 5940.4, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4626.0, "rounds": 6}, "inference": {"seconds": 68.47, "peak_cpu_rss_mb": 5940.4, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4626.0, "patches": 1300, "images": 52, "patches_per_second": 19.0, "seconds_per_image": 1.317}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5940.4, "total_seconds": 3932.5}
107
+ [12:09:13][ 3939s][TEST] patch_dice=0.7241 patch_iou=0.6435 patch_precision=0.7535 patch_recall=0.8265 patch_vi=0.3296 image_dice=0.8312 image_iou=0.7270 image_precision=0.8134 image_recall=0.8774 image_vi=0.3823 cal_ece=0.0033 cal_nll=0.1784 cal_brier=0.0514 cal_mean_confidence=0.9305 cal_accuracy=0.9315 cal_predicted_prevalence=0.2275 cal_true_prevalence=0.2108 cal_mean_probability=0.2430
108
+ [12:09:14][ 3940s][DONE] whole-mouse-brain macs-v11-norestart-acq-entropy b5 s2 | test patch Dice=0.7241 VI=0.3296 | image Dice=0.8312 VI=0.3823 | 3939s
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "whole-mouse-brain",
3
+ "variant": "macs-v11-norestart-acq-entropy",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "whole-mouse-brain",
9
+ "variant": "macs-v11-norestart-acq-entropy",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "entropy",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "whole-mouse-brain",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-entropy",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "octopus-vulgaris-vertical-lobe-sfltract",
150
+ "snemi3d"
151
+ ],
152
+ "alphas": [
153
+ 0.00761798355588039,
154
+ 0.2559331647259477,
155
+ 0.03865987551029595,
156
+ 0.0753340114213908,
157
+ 0.3764144201177104,
158
+ 0.13449626142769927,
159
+ 0.09581294628140101,
160
+ 0.015731336959674627
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "octopus-vulgaris-vertical-lobe-sfltract",
171
+ "snemi3d"
172
+ ],
173
+ "mixture": [
174
+ 0.00761798355588039,
175
+ 0.2559331647259477,
176
+ 0.03865987551029595,
177
+ 0.0753340114213908,
178
+ 0.3764144201177104,
179
+ 0.13449626142769927,
180
+ 0.09581294628140101,
181
+ 0.015731336959674627
182
+ ],
183
+ "per_source": [
184
+ 0.14507434834977073,
185
+ 0.041950586009985594,
186
+ 0.0008814746660836073,
187
+ 0.14183397467001313,
188
+ 0.02035313133415202,
189
+ 0.40237139544038975,
190
+ 0.24338615668507596,
191
+ 0.0041489328445293286
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.11311692308315584,
205
+ "mmd2_mixture": 0.12945845805399875,
206
+ "mmd2_uniform": 0.15528887887137932,
207
+ "mmd2_single_source": [
208
+ 0.38071558003618083,
209
+ 0.17697908713268734,
210
+ 0.3194072222380283,
211
+ 0.24037631453841346,
212
+ 0.16266629855891124,
213
+ 0.27345204518121097,
214
+ 0.2563983777819251,
215
+ 0.2660430684822974
216
+ ],
217
+ "median_squared_distance": 0.1859244048719758,
218
+ "gammas": [
219
+ 1.3446325143390696,
220
+ 2.689265028678139,
221
+ 5.378530057356278,
222
+ 10.757060114712557,
223
+ 21.514120229425114
224
+ ],
225
+ "max_weight": 0.3764144201177104,
226
+ "entropy": 1.6341534970843021,
227
+ "effective_sources": 5.125117733158912,
228
+ "min_weight": 0.00761798355588039
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.3322006978705003,
233
+ 0.46442575425639476,
234
+ 0.8760620010344873,
235
+ 0.3346079883794868,
236
+ 0.5415020997962443,
237
+ 0.22348725249801393,
238
+ 0.277061938603162,
239
+ 0.710986599609967
240
+ ],
241
+ "standardized": [
242
+ -0.6467264485566062,
243
+ -0.026349470463598257,
244
+ 1.9049762391239466,
245
+ -0.6354318599803043,
246
+ 0.33527934358594014,
247
+ -1.1567910351159896,
248
+ -0.9054279215228022,
249
+ 1.130471152929414
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.40237139544038975,
253
+ "entropy": 1.508582930948667,
254
+ "effective_sources": 4.5203206470852155,
255
+ "min_weight": 0.0008814746660836073
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.6
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.3857342957712184,
265
+ 0.3164308639401021,
266
+ 0.10997194512386699,
267
+ 0.2588511091009309,
268
+ 0.32881765823766074,
269
+ 0.40721108437406883,
270
+ 0.43978952859529485,
271
+ 0.30535964718503905
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.3845120898706078,
275
+ "mixture@raw": 0.3998895285882327,
276
+ "mixture@logit": 0.38020955262748224,
277
+ "per_source": 0.4199047055822174,
278
+ "per_source@raw": 0.42186208777273215,
279
+ "per_source@logit": 0.41929804644233215,
280
+ "uniform": 0.41282903446624,
281
+ "uniform@raw": 0.3877116419741835,
282
+ "uniform@logit": 0.4054966159612228
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 2.642308473587036,
294
+ 3.547258138656616
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.3764144201177104,
299
+ "entropy": 1.6341534970843021,
300
+ "effective_sources": 5.125117733158912,
301
+ "min_weight": 0.00761798355588039
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.261904761904762,
305
+ "spearman_weight_taxonomy": 0.39440531887330776,
306
+ "top_source": "microns_basil",
307
+ "top_source_is_best_teacher": false
308
+ },
309
+ "init_teacher": "microns_basil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.0,
312
+ "kd_seconds": 1122.9,
313
+ "round0_val": {
314
+ "val_dice": 0.39316518885694673,
315
+ "val_vi": 0.5071037992390497,
316
+ "val_ece": 0.13929538678771358
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 49,
322
+ "selection_seconds": 113.6,
323
+ "round_seconds": 573.4,
324
+ "teacher_dice_labeled": [
325
+ 0.41667508794746294,
326
+ 0.3592800679911643,
327
+ 0.15312328284483975,
328
+ 0.3102883118187754,
329
+ 0.24828297584066997,
330
+ 0.40443558048329065,
331
+ 0.45309956020060516,
332
+ 0.3151859425557686
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 745730,
336
+ "evidence_nonempty_patches": 43,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.2919523581210136,
340
+ "restart_teacher_dice": 0.45309956020060516,
341
+ "weights": [
342
+ 0.052345161843924994,
343
+ 0.0,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 0.947654838156075,
349
+ 0.0
350
+ ],
351
+ "ensemble_choice": "top2",
352
+ "candidate_dice": {
353
+ "mixture": 0.41707512159255195,
354
+ "uniform": 0.39628150854804123,
355
+ "top1": 0.45309956020060516,
356
+ "top2": 0.4560005583432433,
357
+ "top3": 0.42428559646215114
358
+ },
359
+ "val_dice": 0.6299640712246265,
360
+ "val_vi": 0.5106772900495546,
361
+ "val_ece": 0.03300236752641396
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 98,
366
+ "selection_seconds": 31.1,
367
+ "round_seconds": 78.3,
368
+ "teacher_dice_labeled": [
369
+ 0.3249594717244935,
370
+ 0.2618002400057593,
371
+ 0.11626361986650778,
372
+ 0.2682125036278144,
373
+ 0.19005829309477,
374
+ 0.3157203697046871,
375
+ 0.357571670301185,
376
+ 0.26891050108232195
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 1155835,
380
+ "evidence_nonempty_patches": 80,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.0542688419808356,
385
+ 0.0,
386
+ 0.0,
387
+ 0.0,
388
+ 0.0,
389
+ 0.0,
390
+ 0.9457311580191643,
391
+ 0.0
392
+ ],
393
+ "ensemble_choice": "top2",
394
+ "candidate_dice": {
395
+ "mixture": 0.30164075804164814,
396
+ "uniform": 0.30147095589245054,
397
+ "top1": 0.357571670301185,
398
+ "top2": 0.35967682146094637,
399
+ "top3": 0.32455408079063386
400
+ },
401
+ "pseudo_student_dice": 0.33799498785878834,
402
+ "pseudo_ensemble_dice": 0.12497048992244641,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.0,
405
+ "val_dice": 0.6671426429611568,
406
+ "val_vi": 0.42133914138201256,
407
+ "val_ece": 0.015966444291345954
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 147,
412
+ "selection_seconds": 30.8,
413
+ "round_seconds": 394.7,
414
+ "teacher_dice_labeled": [
415
+ 0.3362206587862502,
416
+ 0.33035776451296633,
417
+ 0.11570615054827438,
418
+ 0.25699455697450335,
419
+ 0.23065137965115518,
420
+ 0.34275950768617824,
421
+ 0.4148087923555059,
422
+ 0.29939804919802215
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.38312200607089864,
426
+ 0.37357687854150773,
427
+ 0.1536548607926944,
428
+ 0.2644659774961156,
429
+ 0.33231233949642547,
430
+ 0.44608789466873955,
431
+ 0.5548695967709021,
432
+ 0.29333183491515874
433
+ ],
434
+ "evidence_fg_pixels": 1901791,
435
+ "evidence_nonempty_patches": 106,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0,
440
+ 0.0,
441
+ 0.0,
442
+ 0.0,
443
+ 0.0,
444
+ 0.0,
445
+ 1.0,
446
+ 0.0
447
+ ],
448
+ "ensemble_choice": "top1",
449
+ "candidate_dice": {
450
+ "mixture": 0.3647942449410265,
451
+ "uniform": 0.3424460851717929,
452
+ "top1": 0.4148087923555059,
453
+ "top2": 0.3811854830612246,
454
+ "top3": 0.3826582850005112
455
+ },
456
+ "pseudo_student_dice": 0.4902302504374955,
457
+ "pseudo_ensemble_dice": 0.11578052428171628,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.0,
460
+ "val_dice": 0.6500437319549233,
461
+ "val_vi": 0.46661771310585776,
462
+ "val_ece": 0.026616772063627447
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 196,
467
+ "selection_seconds": 30.6,
468
+ "round_seconds": 438.1,
469
+ "teacher_dice_labeled": [
470
+ 0.3519483730790272,
471
+ 0.3550619667303971,
472
+ 0.11032225058098022,
473
+ 0.2531933417507679,
474
+ 0.2190875017687,
475
+ 0.3241839148029759,
476
+ 0.3952944285319471,
477
+ 0.32148791585466907
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.4121643222363875,
481
+ 0.37964937638880697,
482
+ 0.15275562810191143,
483
+ 0.3040249259871205,
484
+ 0.3021430411408676,
485
+ 0.4332669406483501,
486
+ 0.5293982426240719,
487
+ 0.3288904127260634
488
+ ],
489
+ "evidence_fg_pixels": 2568324,
490
+ "evidence_nonempty_patches": 139,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.0,
495
+ 0.0,
496
+ 0.0,
497
+ 0.0,
498
+ 0.0,
499
+ 0.0,
500
+ 1.0,
501
+ 0.0
502
+ ],
503
+ "ensemble_choice": "top1",
504
+ "candidate_dice": {
505
+ "mixture": 0.36402664300994514,
506
+ "uniform": 0.3222085755550682,
507
+ "top1": 0.3952944285319471,
508
+ "top2": 0.3887335829311641,
509
+ "top3": 0.3864764612355511
510
+ },
511
+ "pseudo_student_dice": 0.53600076651133,
512
+ "pseudo_ensemble_dice": 0.22566554473495054,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.12,
515
+ "val_dice": 0.6867063671616198,
516
+ "val_vi": 0.4334551684265923,
517
+ "val_ece": 0.006732057576624399
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 245,
522
+ "selection_seconds": 30.3,
523
+ "round_seconds": 458.7,
524
+ "teacher_dice_labeled": [
525
+ 0.3584230095199944,
526
+ 0.38096205524839705,
527
+ 0.11117752910496465,
528
+ 0.2439638336867353,
529
+ 0.21809780395525596,
530
+ 0.31570369170261414,
531
+ 0.3941231445083987,
532
+ 0.33228651701690143
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.3875614767122367,
536
+ 0.400028641768668,
537
+ 0.15084672589212084,
538
+ 0.2667770048170303,
539
+ 0.31216759610745726,
540
+ 0.4302824637590289,
541
+ 0.5282474877153657,
542
+ 0.31952189062440434
543
+ ],
544
+ "evidence_fg_pixels": 3582198,
545
+ "evidence_nonempty_patches": 178,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.01637661851566227,
550
+ 0.6892814651914534,
551
+ 0.0,
552
+ 0.0,
553
+ 0.0,
554
+ 0.0,
555
+ 0.29434191629288425,
556
+ 0.0
557
+ ],
558
+ "ensemble_choice": "top3",
559
+ "candidate_dice": {
560
+ "mixture": 0.3906889930951955,
561
+ "uniform": 0.31898344193918804,
562
+ "top1": 0.3941231445083987,
563
+ "top2": 0.40592475485919916,
564
+ "top3": 0.40537019629518667
565
+ },
566
+ "pseudo_student_dice": 0.6111341036273602,
567
+ "pseudo_ensemble_dice": 0.448249058234845,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.37,
570
+ "val_dice": 0.7010087760930706,
571
+ "val_vi": 0.4148022188492324,
572
+ "val_ece": 0.009600339954623855
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 294,
577
+ "selection_seconds": 30.1,
578
+ "round_seconds": 481.0,
579
+ "teacher_dice_labeled": [
580
+ 0.37813906679059617,
581
+ 0.3929658426455666,
582
+ 0.10759623232507429,
583
+ 0.2470899709358254,
584
+ 0.2097623786143264,
585
+ 0.3154036114080012,
586
+ 0.3847248817593051,
587
+ 0.3467007071990453
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.4000509789602617,
591
+ 0.39176571714136516,
592
+ 0.1482235973977921,
593
+ 0.27994162679950685,
594
+ 0.2977878407705155,
595
+ 0.4326847309976392,
596
+ 0.5262451617634437,
597
+ 0.3340916004034753
598
+ ],
599
+ "evidence_fg_pixels": 4504610,
600
+ "evidence_nonempty_patches": 224,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.013069321687079801,
605
+ 0.5092504873046682,
606
+ 0.004433236159290681,
607
+ 0.03485500253066859,
608
+ 0.11990260091834273,
609
+ 0.1232158588333893,
610
+ 0.1755654455535038,
611
+ 0.01970804701305701
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.40943043039142457,
616
+ "uniform": 0.30811234119371467,
617
+ "top1": 0.3929658426455666,
618
+ "top2": 0.41077618458479637,
619
+ "top3": 0.41068862692388175
620
+ },
621
+ "pseudo_student_dice": 0.6500897437229997,
622
+ "pseudo_ensemble_dice": 0.2980986095351606,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.5,
625
+ "val_dice": 0.7046566133521246,
626
+ "val_vi": 0.39338360372380154,
627
+ "val_ece": 0.007922761299779176
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 294,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 190.4,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.715600054385459,
636
+ "val_vi": 0.3905030362479474,
637
+ "val_ece": 0.0081281918504199
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": -0.2505878322752116,
642
+ "auroc_top20_error": 0.3924166090497315
643
+ },
644
+ "al_seconds": 2655.4,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.013069321687079801,
657
+ 0.5092504873046682,
658
+ 0.004433236159290681,
659
+ 0.03485500253066859,
660
+ 0.11990260091834273,
661
+ 0.1232158588333893,
662
+ 0.1755654455535038,
663
+ 0.01970804701305701
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.5092504873046682,
667
+ "entropy": 1.4364938946277095,
668
+ "effective_sources": 4.205923524457596,
669
+ "min_weight": 0.004433236159290681
670
+ },
671
+ "top_source_final": "dhanyasi-P14-mouse-cerebellum",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7054563808799655,
676
+ "patch_iou": 0.6213611844092362,
677
+ "patch_precision": 0.7248983941572255,
678
+ "patch_recall": 0.8271769452900526,
679
+ "patch_vi": 0.35090675928415266,
680
+ "n_patches": 1300,
681
+ "cal_ece": 0.00821402980845419,
682
+ "cal_nll": 0.19145299976349267,
683
+ "cal_brier": 0.05514656907793308,
684
+ "cal_mean_confidence": 0.9346074646634128,
685
+ "cal_accuracy": 0.9264100060096154,
686
+ "cal_predicted_prevalence": 0.23219651442307693,
687
+ "cal_true_prevalence": 0.21078049879807692,
688
+ "cal_mean_probability": 0.244326443916351
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7054563808799655,
692
+ "patch_iou": 0.6213611844092362,
693
+ "patch_precision": 0.7248983941572255,
694
+ "patch_recall": 0.8271769452900526,
695
+ "patch_vi": 0.35090675928415266,
696
+ "n_patches": 1300,
697
+ "cal_ece": 0.00821402980845419,
698
+ "cal_nll": 0.19145299976349267,
699
+ "cal_brier": 0.05514656907793308,
700
+ "cal_mean_confidence": 0.9346074646634128,
701
+ "cal_accuracy": 0.9264100060096154,
702
+ "cal_predicted_prevalence": 0.23219651442307693,
703
+ "cal_true_prevalence": 0.21078049879807692,
704
+ "cal_mean_probability": 0.244326443916351
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7240810547947243,
708
+ "patch_iou": 0.6434686049972183,
709
+ "patch_precision": 0.7535363328863108,
710
+ "patch_recall": 0.8265486522250965,
711
+ "patch_vi": 0.3295530513344462,
712
+ "n_patches": 1300,
713
+ "image_dice": 0.8312241136800578,
714
+ "image_iou": 0.726982790269668,
715
+ "image_precision": 0.8133640751108497,
716
+ "image_recall": 0.8773653978839356,
717
+ "image_vi": 0.38227195684253606,
718
+ "n_images": 52,
719
+ "cal_ece": 0.00327916983898916,
720
+ "cal_nll": 0.17840624343436598,
721
+ "cal_brier": 0.05143879160628608,
722
+ "cal_mean_confidence": 0.9305477422689723,
723
+ "cal_accuracy": 0.9314761117788461,
724
+ "cal_predicted_prevalence": 0.2275420673076923,
725
+ "cal_true_prevalence": 0.21078049879807692,
726
+ "cal_mean_probability": 0.2429929328227741
727
+ },
728
+ "eval_seconds": 68.5,
729
+ "total_seconds": 3939.2,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.48,
734
+ "peak_cpu_rss_mb": 2192.2,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 84.15,
740
+ "peak_cpu_rss_mb": 4183.1,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 1122.94,
746
+ "peak_cpu_rss_mb": 5940.4,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4618.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2655.43,
753
+ "peak_cpu_rss_mb": 5940.4,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4626.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 68.47,
760
+ "peak_cpu_rss_mb": 5940.4,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4626.0,
763
+ "patches": 1300,
764
+ "images": 52,
765
+ "patches_per_second": 19.0,
766
+ "seconds_per_image": 1.317
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5940.4,
771
+ "total_seconds": 3932.5
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/whole-mouse-brain/macs-v11-norestart-acq-entropy_b5_s2.pth"
785
+ }
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-2/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,49,113.6,573.4,"[0.41667508794746294, 0.3592800679911643, 0.15312328284483975, 0.3102883118187754, 0.24828297584066997, 0.40443558048329065, 0.45309956020060516, 0.3151859425557686]",,745730,43,True,kept,0.2919523581210136,0.45309956020060516,"[0.052345161843924994, 0.0, 0.0, 0.0, 0.0, 0.0, 0.947654838156075, 0.0]",top2,"{'mixture': 0.41707512159255195, 'uniform': 0.39628150854804123, 'top1': 0.45309956020060516, 'top2': 0.4560005583432433, 'top3': 0.42428559646215114}",0.6299640712246265,0.5106772900495546,0.03300236752641396,,,,,
3
+ 2,98,31.1,78.3,"[0.3249594717244935, 0.2618002400057593, 0.11626361986650778, 0.2682125036278144, 0.19005829309477, 0.3157203697046871, 0.357571670301185, 0.26891050108232195]",,1155835,80,False,,,,"[0.0542688419808356, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9457311580191643, 0.0]",top2,"{'mixture': 0.30164075804164814, 'uniform': 0.30147095589245054, 'top1': 0.357571670301185, 'top2': 0.35967682146094637, 'top3': 0.32455408079063386}",0.6671426429611568,0.42133914138201256,0.015966444291345954,0.33799498785878834,0.12497048992244641,student,0.0,
4
+ 3,147,30.8,394.7,"[0.3362206587862502, 0.33035776451296633, 0.11570615054827438, 0.25699455697450335, 0.23065137965115518, 0.34275950768617824, 0.4148087923555059, 0.29939804919802215]","[0.38312200607089864, 0.37357687854150773, 0.1536548607926944, 0.2644659774961156, 0.33231233949642547, 0.44608789466873955, 0.5548695967709021, 0.29333183491515874]",1901791,106,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.3647942449410265, 'uniform': 0.3424460851717929, 'top1': 0.4148087923555059, 'top2': 0.3811854830612246, 'top3': 0.3826582850005112}",0.6500437319549233,0.46661771310585776,0.026616772063627447,0.4902302504374955,0.11578052428171628,student,0.0,
5
+ 4,196,30.6,438.1,"[0.3519483730790272, 0.3550619667303971, 0.11032225058098022, 0.2531933417507679, 0.2190875017687, 0.3241839148029759, 0.3952944285319471, 0.32148791585466907]","[0.4121643222363875, 0.37964937638880697, 0.15275562810191143, 0.3040249259871205, 0.3021430411408676, 0.4332669406483501, 0.5293982426240719, 0.3288904127260634]",2568324,139,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.36402664300994514, 'uniform': 0.3222085755550682, 'top1': 0.3952944285319471, 'top2': 0.3887335829311641, 'top3': 0.3864764612355511}",0.6867063671616198,0.4334551684265923,0.006732057576624399,0.53600076651133,0.22566554473495054,student,0.12,
6
+ 5,245,30.3,458.7,"[0.3584230095199944, 0.38096205524839705, 0.11117752910496465, 0.2439638336867353, 0.21809780395525596, 0.31570369170261414, 0.3941231445083987, 0.33228651701690143]","[0.3875614767122367, 0.400028641768668, 0.15084672589212084, 0.2667770048170303, 0.31216759610745726, 0.4302824637590289, 0.5282474877153657, 0.31952189062440434]",3582198,178,False,,,,"[0.01637661851566227, 0.6892814651914534, 0.0, 0.0, 0.0, 0.0, 0.29434191629288425, 0.0]",top3,"{'mixture': 0.3906889930951955, 'uniform': 0.31898344193918804, 'top1': 0.3941231445083987, 'top2': 0.40592475485919916, 'top3': 0.40537019629518667}",0.7010087760930706,0.4148022188492324,0.009600339954623855,0.6111341036273602,0.448249058234845,student,0.37,
7
+ 6,294,30.1,481.0,"[0.37813906679059617, 0.3929658426455666, 0.10759623232507429, 0.2470899709358254, 0.2097623786143264, 0.3154036114080012, 0.3847248817593051, 0.3467007071990453]","[0.4000509789602617, 0.39176571714136516, 0.1482235973977921, 0.27994162679950685, 0.2977878407705155, 0.4326847309976392, 0.5262451617634437, 0.3340916004034753]",4504610,224,False,,,,"[0.013069321687079801, 0.5092504873046682, 0.004433236159290681, 0.03485500253066859, 0.11990260091834273, 0.1232158588333893, 0.1755654455535038, 0.01970804701305701]",mixture,"{'mixture': 0.40943043039142457, 'uniform': 0.30811234119371467, 'top1': 0.3929658426455666, 'top2': 0.41077618458479637, 'top3': 0.41068862692388175}",0.7046566133521246,0.39338360372380154,0.007922761299779176,0.6500897437229997,0.2980986095351606,student,0.5,
8
+ 7,294,0.0,190.4,,,,,,,,,,,,0.715600054385459,0.3905030362479474,0.0081281918504199,,,,,True
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-random/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [02:45:19][ 0s][START] target=whole-mouse-brain variant=macs-v11-norestart-acq-random budget=5.0% seed=1 | {"task": "membrane", "target": "whole-mouse-brain", "variant": "macs-v11-norestart-acq-random", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "random", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 0, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [02:45:19][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [02:45:21][ 2s][DATA] whole-mouse-brain: train=5925 val=1250 test=1300 patches
4
+ [02:45:23][ 4s][CALIB] source-val temperatures: c-elegans=2.58, cerebellum=4.56, flywire=1.99, berghia=8.00, microns=1.92, oct-glia=2.55, oct-sfl=2.64, snemi=3.55
5
+ [02:45:23][ 4s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [02:45:29][ 11s][WEIGHTS] mixture: c-elegans=0.008, cerebellum=0.256, flywire=0.039, berghia=0.075, microns=0.376, oct-glia=0.134, oct-sfl=0.096, snemi=0.016 | eff.sources=5.13 | MMD2 mix=0.1295 uniform=0.1553
7
+ [02:45:29][ 11s][WEIGHTS] per-source: c-elegans=0.145, cerebellum=0.042, flywire=0.001, berghia=0.142, microns=0.020, oct-glia=0.402, oct-sfl=0.243, snemi=0.004 | min-MMD source (NeuroADDA rule) = oct-glia
8
+ [02:46:44][ 85s][TEACHERS] target-val Dice: c-elegans=0.386, cerebellum=0.316, flywire=0.110, berghia=0.259, microns=0.329, oct-glia=0.407, oct-sfl=0.440, snemi=0.305
9
+ [02:46:44][ 85s][TEACHERS] ensemble target-val Dice: mixture=0.385, mixture@raw=0.400, mixture@logit=0.380, per_source=0.420, per_source@raw=0.422, per_source@logit=0.419, uniform=0.413, uniform@raw=0.388, uniform@logit=0.405
10
+ [02:46:44][ 85s][WEIGHTS] using mixture: c-elegans=0.008, cerebellum=0.256, flywire=0.039, berghia=0.075, microns=0.376, oct-glia=0.134, oct-sfl=0.096, snemi=0.016
11
+ [02:46:44][ 85s][INIT] student initialised from teacher microns (weight 0.376)
12
+ [02:46:59][ 100s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [02:46:59][ 100s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [02:51:00][ 341s][KD] soft labels for 5925 patches from 8 teachers in 241s
15
+ [02:53:56][ 517s][KD] epoch 1/5 | patches=5925 | loss=0.6724 | 176s
16
+ [02:56:52][ 694s][KD] epoch 2/5 | patches=5925 | loss=0.4930 | 176s
17
+ [02:59:49][ 870s][KD] epoch 3/5 | patches=5925 | loss=0.4658 | 176s
18
+ [03:02:45][ 1046s][KD] epoch 4/5 | patches=5925 | loss=0.4598 | 176s
19
+ [03:05:41][ 1222s][KD] epoch 5/5 | patches=5925 | loss=0.4555 | 176s
20
+ [03:05:47][ 1228s][ROUND0] before any target label: val_dice=0.3878 val_vi=0.5059
21
+ [03:05:47][ 1228s][AL] patches=5925 (pool 5925 after dropping blank; free blank negatives: True) | budget=296 (5.0%) | rounds=6 | per_round=49 | acquisition=random | first_round=stratified
22
+ [03:06:18][ 1259s][AL] round-1 uncertainty quality on 5925 patches: {'spearman_uncertainty_error': -0.006734909767982264, 'auroc_top20_error': 0.5056221403265146}
23
+ [03:07:40][ 1341s][AL] round 1: stratified cold start: 25 patches from the membrane-rich half (ensemble prevalence >= 0.214) + 24 from the membrane-poor half of 2000 candidates
24
+ [03:07:48][ 1349s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.415, uniform=0.393, top1=0.460, top2=0.464, top3=0.490 -> using top3
25
+ [03:07:48][ 1349s][WEIGHTS] round 1: student kept (labeled Dice 0.314 vs best teacher oct-sfl 0.460); distilling the corrected ensemble into it
26
+ [03:07:48][ 1349s][WEIGHTS] round 1: teacher Dice on 49 labeled patches + 0 blank (774194 fg px): c-elegans=0.431, cerebellum=0.372, flywire=0.134, berghia=0.291, microns=0.284, oct-glia=0.371, oct-sfl=0.460, snemi=0.295 | weights: c-elegans=0.027, cerebellum=0.511, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.462, snemi=0.000
27
+ [03:09:19][ 1440s][KD] soft labels for 5876 patches from 8 teachers in 90s
28
+ [03:12:13][ 1615s][KD] epoch 1/2 | patches=5876 | loss=0.4892 | 175s
29
+ [03:15:08][ 1789s][KD] epoch 2/2 | patches=5876 | loss=0.4853 | 174s
30
+ [03:15:39][ 1820s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 31s
31
+ [03:15:43][ 1824s][FT] round 1/6 epoch 1/5 | patches=49 | loss=1.3866
32
+ [03:15:46][ 1827s][FT] round 1/6 epoch 2/5 | patches=49 | loss=1.2764
33
+ [03:15:50][ 1831s][FT] round 1/6 epoch 3/5 | patches=49 | loss=1.2397
34
+ [03:15:54][ 1835s][FT] round 1/6 epoch 4/5 | patches=49 | loss=1.2255
35
+ [03:15:57][ 1838s][FT] round 1/6 epoch 5/5 | patches=49 | loss=1.2378
36
+ [03:16:03][ 1844s][AL] round 1/6 | labeled=49 | selection_seconds=112.9000 round_seconds=610.4000 restart_student_dice=0.3142 restart_teacher_dice=0.4601 val_dice=0.6513 val_vi=0.4647 val_ece=0.0896
37
+ [03:16:18][ 1859s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.436, uniform=0.403, top1=0.475, top2=0.478, top3=0.452 -> using top2
38
+ [03:16:18][ 1859s][WEIGHTS] round 2: teacher Dice on 98 labeled patches + 0 blank (1631452 fg px): c-elegans=0.442, cerebellum=0.374, flywire=0.140, berghia=0.295, microns=0.276, oct-glia=0.378, oct-sfl=0.475, snemi=0.324 | weights: c-elegans=0.054, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.946, snemi=0.000
39
+ [03:16:34][ 1875s][CONS] round 2: on the 49 new patches student Dice=0.828 vs ensemble 0.491 -> pseudo-labels from the student | consistency x1.00
40
+ [03:16:40][ 1881s][FT] round 2/6 epoch 1/5 | patches=98 | loss=1.0456
41
+ [03:16:47][ 1888s][FT] round 2/6 epoch 2/5 | patches=98 | loss=0.9731
42
+ [03:16:53][ 1894s][FT] round 2/6 epoch 3/5 | patches=98 | loss=0.9812
43
+ [03:17:00][ 1901s][FT] round 2/6 epoch 4/5 | patches=98 | loss=0.8799
44
+ [03:17:06][ 1907s][FT] round 2/6 epoch 5/5 | patches=98 | loss=0.9492
45
+ [03:17:12][ 1913s][AL] round 2/6 | labeled=98 | selection_seconds=0.2000 round_seconds=63.2000 pseudo_student_dice=0.8275 pseudo_ensemble_dice=0.4908 consistency_scale=1.0000 val_dice=0.6900 val_vi=0.3935 val_ece=0.0466
46
+ [03:19:59][ 2080s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.396, cerebellum=0.379, flywire=0.160, berghia=0.279, microns=0.333, oct-glia=0.456, oct-sfl=0.545, snemi=0.289 | blended with labeled Dice at 0.50
47
+ [03:22:36][ 2237s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.461, uniform=0.447, top1=0.505, top2=0.477, top3=0.480 -> using top1
48
+ [03:22:36][ 2237s][WEIGHTS] round 3: teacher Dice on 147 labeled patches + 0 blank (2470847 fg px): c-elegans=0.421, cerebellum=0.375, flywire=0.151, berghia=0.280, microns=0.307, oct-glia=0.421, oct-sfl=0.505, snemi=0.310 | weights: c-elegans=0.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=1.000, snemi=0.000
49
+ [03:22:51][ 2253s][CONS] round 3: on the 49 new patches student Dice=0.848 vs ensemble 0.445 -> pseudo-labels from the student | consistency x1.00
50
+ [03:23:01][ 2262s][FT] round 3/6 epoch 1/5 | patches=147 | loss=0.8251
51
+ [03:23:10][ 2271s][FT] round 3/6 epoch 2/5 | patches=147 | loss=0.8697
52
+ [03:23:19][ 2281s][FT] round 3/6 epoch 3/5 | patches=147 | loss=0.8617
53
+ [03:23:29][ 2290s][FT] round 3/6 epoch 4/5 | patches=147 | loss=0.8097
54
+ [03:23:38][ 2299s][FT] round 3/6 epoch 5/5 | patches=147 | loss=0.8147
55
+ [03:23:44][ 2305s][AL] round 3/6 | labeled=147 | selection_seconds=0.2000 round_seconds=386.1000 pseudo_student_dice=0.8483 pseudo_ensemble_dice=0.4447 consistency_scale=1.0000 val_dice=0.6998 val_vi=0.3811 val_ece=0.0066
56
+ [03:26:34][ 2475s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.394, cerebellum=0.379, flywire=0.159, berghia=0.289, microns=0.326, oct-glia=0.460, oct-sfl=0.534, snemi=0.295 | blended with labeled Dice at 0.50
57
+ [03:29:13][ 2635s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.456, uniform=0.446, top1=0.497, top2=0.467, top3=0.469 -> using top1
58
+ [03:29:13][ 2635s][WEIGHTS] round 4: teacher Dice on 196 labeled patches + 0 blank (3255460 fg px): c-elegans=0.417, cerebellum=0.378, flywire=0.151, berghia=0.283, microns=0.306, oct-glia=0.423, oct-sfl=0.497, snemi=0.314 | weights: c-elegans=0.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=1.000, snemi=0.000
59
+ [03:29:29][ 2650s][CONS] round 4: on the 49 new patches student Dice=0.889 vs ensemble 0.444 -> pseudo-labels from the student | consistency x1.00
60
+ [03:29:41][ 2662s][FT] round 4/6 epoch 1/5 | patches=196 | loss=0.7037
61
+ [03:29:53][ 2674s][FT] round 4/6 epoch 2/5 | patches=196 | loss=0.6993
62
+ [03:30:05][ 2687s][FT] round 4/6 epoch 3/5 | patches=196 | loss=0.6914
63
+ [03:30:18][ 2699s][FT] round 4/6 epoch 4/5 | patches=196 | loss=0.6840
64
+ [03:30:30][ 2711s][FT] round 4/6 epoch 5/5 | patches=196 | loss=0.6446
65
+ [03:30:36][ 2717s][AL] round 4/6 | labeled=196 | selection_seconds=0.2000 round_seconds=405.8000 pseudo_student_dice=0.8894 pseudo_ensemble_dice=0.4436 consistency_scale=1.0000 val_dice=0.7284 val_vi=0.3506 val_ece=0.0106
66
+ [03:33:29][ 2890s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.397, cerebellum=0.379, flywire=0.154, berghia=0.284, microns=0.330, oct-glia=0.463, oct-sfl=0.543, snemi=0.305 | blended with labeled Dice at 0.50
67
+ [03:36:12][ 3054s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.462, uniform=0.453, top1=0.509, top2=0.477, top3=0.479 -> using top1
68
+ [03:36:12][ 3054s][WEIGHTS] round 5: teacher Dice on 245 labeled patches + 0 blank (3796031 fg px): c-elegans=0.407, cerebellum=0.378, flywire=0.149, berghia=0.280, microns=0.311, oct-glia=0.434, oct-sfl=0.509, snemi=0.312 | weights: c-elegans=0.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=1.000, snemi=0.000
69
+ [03:36:28][ 3069s][CONS] round 5: on the 49 new patches student Dice=0.815 vs ensemble 0.562 -> pseudo-labels from the student | consistency x1.00
70
+ [03:36:43][ 3084s][FT] round 5/6 epoch 1/5 | patches=245 | loss=0.6626
71
+ [03:36:58][ 3099s][FT] round 5/6 epoch 2/5 | patches=245 | loss=0.6472
72
+ [03:37:13][ 3114s][FT] round 5/6 epoch 3/5 | patches=245 | loss=0.6301
73
+ [03:37:28][ 3129s][FT] round 5/6 epoch 4/5 | patches=245 | loss=0.6262
74
+ [03:37:43][ 3144s][FT] round 5/6 epoch 5/5 | patches=245 | loss=0.6015
75
+ [03:37:49][ 3150s][AL] round 5/6 | labeled=245 | selection_seconds=0.2000 round_seconds=427.2000 pseudo_student_dice=0.8150 pseudo_ensemble_dice=0.5618 consistency_scale=1.0000 val_dice=0.7361 val_vi=0.3468 val_ece=0.0179
76
+ [03:40:46][ 3327s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.411, cerebellum=0.385, flywire=0.156, berghia=0.288, microns=0.321, oct-glia=0.459, oct-sfl=0.540, snemi=0.320 | blended with labeled Dice at 0.50
77
+ [03:43:33][ 3494s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.461, uniform=0.448, top1=0.509, top2=0.476, top3=0.478 -> using top1
78
+ [03:43:33][ 3494s][WEIGHTS] round 6: teacher Dice on 294 labeled patches + 0 blank (4607078 fg px): c-elegans=0.413, cerebellum=0.381, flywire=0.150, berghia=0.286, microns=0.307, oct-glia=0.431, oct-sfl=0.509, snemi=0.321 | weights: c-elegans=0.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=1.000, snemi=0.000
79
+ [03:43:48][ 3509s][CONS] round 6: on the 49 new patches student Dice=0.801 vs ensemble 0.486 -> pseudo-labels from the student | consistency x1.00
80
+ [03:44:06][ 3527s][FT] round 6/6 epoch 1/5 | patches=294 | loss=0.6618
81
+ [03:44:24][ 3545s][FT] round 6/6 epoch 2/5 | patches=294 | loss=0.6521
82
+ [03:44:41][ 3563s][FT] round 6/6 epoch 3/5 | patches=294 | loss=0.5995
83
+ [03:44:59][ 3581s][FT] round 6/6 epoch 4/5 | patches=294 | loss=0.5934
84
+ [03:45:17][ 3598s][FT] round 6/6 epoch 5/5 | patches=294 | loss=0.5715
85
+ [03:45:23][ 3604s][AL] round 6/6 | labeled=294 | selection_seconds=0.2000 round_seconds=448.7000 pseudo_student_dice=0.8012 pseudo_ensemble_dice=0.4864 consistency_scale=1.0000 val_dice=0.7406 val_vi=0.3158 val_ece=0.0196
86
+ [03:45:33][ 3614s][CONS] final consolidation: pseudo-labels refreshed from the student
87
+ [03:45:51][ 3632s][FT] final 1/10 epoch 1/1 | patches=294 | loss=0.5299
88
+ [03:46:09][ 3650s][FT] final 2/10 epoch 1/1 | patches=294 | loss=0.5280
89
+ [03:46:27][ 3668s][FT] final 3/10 epoch 1/1 | patches=294 | loss=0.5384
90
+ [03:46:45][ 3686s][FT] final 4/10 epoch 1/1 | patches=294 | loss=0.5264
91
+ [03:47:03][ 3704s][FT] final 5/10 epoch 1/1 | patches=294 | loss=0.5097
92
+ [03:47:20][ 3722s][FT] final 6/10 epoch 1/1 | patches=294 | loss=0.5057
93
+ [03:47:38][ 3740s][FT] final 7/10 epoch 1/1 | patches=294 | loss=0.4599
94
+ [03:47:56][ 3757s][FT] final 8/10 epoch 1/1 | patches=294 | loss=0.4586
95
+ [03:48:14][ 3775s][FT] final 9/10 epoch 1/1 | patches=294 | loss=0.4521
96
+ [03:48:32][ 3793s][FT] final 10/10 epoch 1/1 | patches=294 | loss=0.4527
97
+ [03:48:38][ 3799s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=189.0000 val_dice=0.7512 val_vi=0.3181 val_ece=0.0216
98
+ [03:48:38][ 3799s][WEIGHTS] final: c-elegans=0.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=1.000, snemi=0.000
99
+ [03:49:39][ 3860s][TEST] raw student (no EMA, no TTA): patch_dice=0.7474 patch_vi=0.2821
100
+ [03:49:47][ 3868s][TEST] final model without TTA: patch_dice=0.7474 patch_vi=0.2821
101
+ [03:49:47][ 3868s][RESOURCES] {"phases": {"setup": {"seconds": 1.47, "peak_cpu_rss_mb": 2183.9, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 95.65, "peak_cpu_rss_mb": 4183.8, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 1122.62, "peak_cpu_rss_mb": 5939.8, "peak_gpu_alloc_mb": 4300.6, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 2570.92, "peak_cpu_rss_mb": 5939.8, "peak_gpu_alloc_mb": 4420.9, "peak_gpu_reserved_mb": 4626.0, "rounds": 6}, "inference": {"seconds": 68.69, "peak_cpu_rss_mb": 5939.8, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4626.0, "patches": 1300, "images": 52, "patches_per_second": 18.9, "seconds_per_image": 1.321}}, "peak_gpu_alloc_mb": 4420.9, "peak_cpu_rss_mb": 5939.8, "total_seconds": 3859.3}
102
+ [03:49:47][ 3868s][TEST] patch_dice=0.7625 patch_iou=0.6916 patch_precision=0.8210 patch_recall=0.8202 patch_vi=0.2623 image_dice=0.8727 image_iou=0.7844 image_precision=0.8902 image_recall=0.8710 image_vi=0.3002 cal_ece=0.0089 cal_nll=0.1345 cal_brier=0.0377 cal_mean_confidence=0.9586 cal_accuracy=0.9497 cal_predicted_prevalence=0.2075 cal_true_prevalence=0.2108 cal_mean_probability=0.2073
103
+ [03:49:47][ 3869s][DONE] whole-mouse-brain macs-v11-norestart-acq-random b5 s1 | test patch Dice=0.7625 VI=0.2623 | image Dice=0.8727 VI=0.3002 | 3868s
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-random/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "whole-mouse-brain",
3
+ "variant": "macs-v11-norestart-acq-random",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "whole-mouse-brain",
9
+ "variant": "macs-v11-norestart-acq-random",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "random",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 0,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "whole-mouse-brain",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-random",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 3070",
138
+ "cuda": "11.8",
139
+ "commit": "aecf380",
140
+ "dirty": true
141
+ },
142
+ "sources": [
143
+ "c-elegans-dauer-stage",
144
+ "dhanyasi-P14-mouse-cerebellum",
145
+ "flywire",
146
+ "katz-lab-berghia-connective",
147
+ "microns_basil",
148
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
149
+ "octopus-vulgaris-vertical-lobe-sfltract",
150
+ "snemi3d"
151
+ ],
152
+ "alphas": [
153
+ 0.00761798355588039,
154
+ 0.2559331647259477,
155
+ 0.03865987551029595,
156
+ 0.0753340114213908,
157
+ 0.3764144201177104,
158
+ 0.13449626142769927,
159
+ 0.09581294628140101,
160
+ 0.015731336959674627
161
+ ],
162
+ "weights_all": {
163
+ "sources": [
164
+ "c-elegans-dauer-stage",
165
+ "dhanyasi-P14-mouse-cerebellum",
166
+ "flywire",
167
+ "katz-lab-berghia-connective",
168
+ "microns_basil",
169
+ "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
170
+ "octopus-vulgaris-vertical-lobe-sfltract",
171
+ "snemi3d"
172
+ ],
173
+ "mixture": [
174
+ 0.00761798355588039,
175
+ 0.2559331647259477,
176
+ 0.03865987551029595,
177
+ 0.0753340114213908,
178
+ 0.3764144201177104,
179
+ 0.13449626142769927,
180
+ 0.09581294628140101,
181
+ 0.015731336959674627
182
+ ],
183
+ "per_source": [
184
+ 0.14507434834977073,
185
+ 0.041950586009985594,
186
+ 0.0008814746660836073,
187
+ 0.14183397467001313,
188
+ 0.02035313133415202,
189
+ 0.40237139544038975,
190
+ 0.24338615668507596,
191
+ 0.0041489328445293286
192
+ ],
193
+ "uniform": [
194
+ 0.125,
195
+ 0.125,
196
+ 0.125,
197
+ 0.125,
198
+ 0.125,
199
+ 0.125,
200
+ 0.125,
201
+ 0.125
202
+ ],
203
+ "mixture_info": {
204
+ "objective": 0.11311692308315584,
205
+ "mmd2_mixture": 0.12945845805399875,
206
+ "mmd2_uniform": 0.15528887887137932,
207
+ "mmd2_single_source": [
208
+ 0.38071558003618083,
209
+ 0.17697908713268734,
210
+ 0.3194072222380283,
211
+ 0.24037631453841346,
212
+ 0.16266629855891124,
213
+ 0.27345204518121097,
214
+ 0.2563983777819251,
215
+ 0.2660430684822974
216
+ ],
217
+ "median_squared_distance": 0.1859244048719758,
218
+ "gammas": [
219
+ 1.3446325143390696,
220
+ 2.689265028678139,
221
+ 5.378530057356278,
222
+ 10.757060114712557,
223
+ 21.514120229425114
224
+ ],
225
+ "max_weight": 0.3764144201177104,
226
+ "entropy": 1.6341534970843021,
227
+ "effective_sources": 5.125117733158912,
228
+ "min_weight": 0.00761798355588039
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.3322006978705003,
233
+ 0.46442575425639476,
234
+ 0.8760620010344873,
235
+ 0.3346079883794868,
236
+ 0.5415020997962443,
237
+ 0.22348725249801393,
238
+ 0.277061938603162,
239
+ 0.710986599609967
240
+ ],
241
+ "standardized": [
242
+ -0.6467264485566062,
243
+ -0.026349470463598257,
244
+ 1.9049762391239466,
245
+ -0.6354318599803043,
246
+ 0.33527934358594014,
247
+ -1.1567910351159896,
248
+ -0.9054279215228022,
249
+ 1.130471152929414
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.40237139544038975,
253
+ "entropy": 1.508582930948667,
254
+ "effective_sources": 4.5203206470852155,
255
+ "min_weight": 0.0008814746660836073
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.6
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.3857342957712184,
265
+ 0.3164308639401021,
266
+ 0.10997194512386699,
267
+ 0.2588511091009309,
268
+ 0.32881765823766074,
269
+ 0.40721108437406883,
270
+ 0.43978952859529485,
271
+ 0.30535964718503905
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.3845120898706078,
275
+ "mixture@raw": 0.3998895285882327,
276
+ "mixture@logit": 0.38020955262748224,
277
+ "per_source": 0.4199047055822174,
278
+ "per_source@raw": 0.42186208777273215,
279
+ "per_source@logit": 0.41929804644233215,
280
+ "uniform": 0.41282903446624,
281
+ "uniform@raw": 0.3877116419741835,
282
+ "uniform@logit": 0.4054966159612228
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575598955154419,
288
+ 4.557764530181885,
289
+ 1.9903231859207153,
290
+ 8.0,
291
+ 1.9153105020523071,
292
+ 2.5512874126434326,
293
+ 2.642308473587036,
294
+ 3.547258138656616
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.3764144201177104,
299
+ "entropy": 1.6341534970843021,
300
+ "effective_sources": 5.125117733158912,
301
+ "min_weight": 0.00761798355588039
302
+ },
303
+ "correlations": {
304
+ "spearman_weight_teacher_dice": 0.261904761904762,
305
+ "spearman_weight_taxonomy": 0.39440531887330776,
306
+ "top_source": "microns_basil",
307
+ "top_source_is_best_teacher": false
308
+ },
309
+ "init_teacher": "microns_basil",
310
+ "student_init": "top-source",
311
+ "blank_fraction": 0.0,
312
+ "kd_seconds": 1122.6,
313
+ "round0_val": {
314
+ "val_dice": 0.38775386975069404,
315
+ "val_vi": 0.5058585267638911,
316
+ "val_ece": 0.13684088848086562
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 49,
322
+ "selection_seconds": 112.9,
323
+ "round_seconds": 610.4,
324
+ "teacher_dice_labeled": [
325
+ 0.4308437371432156,
326
+ 0.3720464899554072,
327
+ 0.13400588777866665,
328
+ 0.2906832527572902,
329
+ 0.28441244487328066,
330
+ 0.3714445937083196,
331
+ 0.46009083351660035,
332
+ 0.2953659731768761
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 774194,
336
+ "evidence_nonempty_patches": 43,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.3141552482233243,
340
+ "restart_teacher_dice": 0.46009083351660035,
341
+ "weights": [
342
+ 0.027388975830910146,
343
+ 0.511103822265685,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 0.46150720190340494,
349
+ 0.0
350
+ ],
351
+ "ensemble_choice": "top3",
352
+ "candidate_dice": {
353
+ "mixture": 0.4149047036603486,
354
+ "uniform": 0.3931444911550303,
355
+ "top1": 0.46009083351660035,
356
+ "top2": 0.46380715367111625,
357
+ "top3": 0.49022779815240064
358
+ },
359
+ "val_dice": 0.6512893174377166,
360
+ "val_vi": 0.4646900588599244,
361
+ "val_ece": 0.0896417007453064
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 98,
366
+ "selection_seconds": 0.2,
367
+ "round_seconds": 63.2,
368
+ "teacher_dice_labeled": [
369
+ 0.4424330801851372,
370
+ 0.37408893009446964,
371
+ 0.13996203868108806,
372
+ 0.29503398267841263,
373
+ 0.2762732338980843,
374
+ 0.3782590298845219,
375
+ 0.47481626651490355,
376
+ 0.3238189071307628
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 1631452,
380
+ "evidence_nonempty_patches": 85,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.0543864996701088,
385
+ 0.0,
386
+ 0.0,
387
+ 0.0,
388
+ 0.0,
389
+ 0.0,
390
+ 0.9456135003298912,
391
+ 0.0
392
+ ],
393
+ "ensemble_choice": "top2",
394
+ "candidate_dice": {
395
+ "mixture": 0.4356210342800381,
396
+ "uniform": 0.40298612721687643,
397
+ "top1": 0.47481626651490355,
398
+ "top2": 0.47797929634414377,
399
+ "top3": 0.4516145396104275
400
+ },
401
+ "pseudo_student_dice": 0.8275029820365678,
402
+ "pseudo_ensemble_dice": 0.49077896830410456,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 1.0,
405
+ "val_dice": 0.6899674120835443,
406
+ "val_vi": 0.3934530539606663,
407
+ "val_ece": 0.046598598690968274
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 147,
412
+ "selection_seconds": 0.2,
413
+ "round_seconds": 386.1,
414
+ "teacher_dice_labeled": [
415
+ 0.4208794202637337,
416
+ 0.37488266988173913,
417
+ 0.150732512981738,
418
+ 0.280229848328845,
419
+ 0.30736600511815093,
420
+ 0.42137673253425356,
421
+ 0.504630320454826,
422
+ 0.3103878885056744
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.3964222900856918,
426
+ 0.37934827125456433,
427
+ 0.15986144969132293,
428
+ 0.2785786219247478,
429
+ 0.33299853995204853,
430
+ 0.45638475100222214,
431
+ 0.5447891954337357,
432
+ 0.2891779812953886
433
+ ],
434
+ "evidence_fg_pixels": 2470847,
435
+ "evidence_nonempty_patches": 129,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0,
440
+ 0.0,
441
+ 0.0,
442
+ 0.0,
443
+ 0.0,
444
+ 0.0,
445
+ 1.0,
446
+ 0.0
447
+ ],
448
+ "ensemble_choice": "top1",
449
+ "candidate_dice": {
450
+ "mixture": 0.46107124265136823,
451
+ "uniform": 0.4470064837241954,
452
+ "top1": 0.504630320454826,
453
+ "top2": 0.4774312960056267,
454
+ "top3": 0.47954494564006567
455
+ },
456
+ "pseudo_student_dice": 0.8483273711237067,
457
+ "pseudo_ensemble_dice": 0.4447035907635971,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 1.0,
460
+ "val_dice": 0.6997838980735469,
461
+ "val_vi": 0.38111564948839316,
462
+ "val_ece": 0.006551502400643054
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 196,
467
+ "selection_seconds": 0.2,
468
+ "round_seconds": 405.8,
469
+ "teacher_dice_labeled": [
470
+ 0.41735012268474536,
471
+ 0.37774968729190495,
472
+ 0.15129542306014881,
473
+ 0.2833705136853922,
474
+ 0.3061931648198789,
475
+ 0.4232066747177724,
476
+ 0.49688937580258463,
477
+ 0.314315337148227
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.3943931472745527,
481
+ 0.37855105448483334,
482
+ 0.15943182820909615,
483
+ 0.2892929128772673,
484
+ 0.3257258256062749,
485
+ 0.4601414870055501,
486
+ 0.5342473085263869,
487
+ 0.2950977113256563
488
+ ],
489
+ "evidence_fg_pixels": 3255460,
490
+ "evidence_nonempty_patches": 173,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.0,
495
+ 0.0,
496
+ 0.0,
497
+ 0.0,
498
+ 0.0,
499
+ 0.0,
500
+ 1.0,
501
+ 0.0
502
+ ],
503
+ "ensemble_choice": "top1",
504
+ "candidate_dice": {
505
+ "mixture": 0.45595241469488296,
506
+ "uniform": 0.44581060629678865,
507
+ "top1": 0.49688937580258463,
508
+ "top2": 0.46677430571359046,
509
+ "top3": 0.4690154172263659
510
+ },
511
+ "pseudo_student_dice": 0.8894096619935941,
512
+ "pseudo_ensemble_dice": 0.4435759384979648,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 1.0,
515
+ "val_dice": 0.7284449934265951,
516
+ "val_vi": 0.35062932040639544,
517
+ "val_ece": 0.01061670729460243
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 245,
522
+ "selection_seconds": 0.2,
523
+ "round_seconds": 427.2,
524
+ "teacher_dice_labeled": [
525
+ 0.40692426871897414,
526
+ 0.3776928989394102,
527
+ 0.14920549941794428,
528
+ 0.2795811790533572,
529
+ 0.31140825070370776,
530
+ 0.43368676727852196,
531
+ 0.5091293274911578,
532
+ 0.3121180397885524
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.3970244948724663,
536
+ 0.37928996723211816,
537
+ 0.15356131391556158,
538
+ 0.28419405601396547,
539
+ 0.3296259383047535,
540
+ 0.46253273706373266,
541
+ 0.542636728401153,
542
+ 0.3050203065494246
543
+ ],
544
+ "evidence_fg_pixels": 3796031,
545
+ "evidence_nonempty_patches": 213,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0,
550
+ 0.0,
551
+ 0.0,
552
+ 0.0,
553
+ 0.0,
554
+ 0.0,
555
+ 1.0,
556
+ 0.0
557
+ ],
558
+ "ensemble_choice": "top1",
559
+ "candidate_dice": {
560
+ "mixture": 0.4624701194922756,
561
+ "uniform": 0.45307112409178935,
562
+ "top1": 0.5091293274911578,
563
+ "top2": 0.4770389469575239,
564
+ "top3": 0.4788482169595161
565
+ },
566
+ "pseudo_student_dice": 0.8150319479999724,
567
+ "pseudo_ensemble_dice": 0.5618041860169222,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 1.0,
570
+ "val_dice": 0.7360976720287663,
571
+ "val_vi": 0.3467971465172063,
572
+ "val_ece": 0.01788726699061594
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 294,
577
+ "selection_seconds": 0.2,
578
+ "round_seconds": 448.7,
579
+ "teacher_dice_labeled": [
580
+ 0.4131523804861451,
581
+ 0.38148291144188595,
582
+ 0.14959132590158677,
583
+ 0.2859449485429898,
584
+ 0.3070357015540196,
585
+ 0.4312325733658978,
586
+ 0.5087118932311401,
587
+ 0.321087704901554
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.4114461558819054,
591
+ 0.3849032866661021,
592
+ 0.1555940064347239,
593
+ 0.2883347744854101,
594
+ 0.32091747898050904,
595
+ 0.4585541603506631,
596
+ 0.5398959859343434,
597
+ 0.31990600159271626
598
+ ],
599
+ "evidence_fg_pixels": 4607078,
600
+ "evidence_nonempty_patches": 257,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0,
605
+ 0.0,
606
+ 0.0,
607
+ 0.0,
608
+ 0.0,
609
+ 0.0,
610
+ 1.0,
611
+ 0.0
612
+ ],
613
+ "ensemble_choice": "top1",
614
+ "candidate_dice": {
615
+ "mixture": 0.46080784643360345,
616
+ "uniform": 0.4478514590552423,
617
+ "top1": 0.5087118932311401,
618
+ "top2": 0.47603001745833207,
619
+ "top3": 0.47780834110988624
620
+ },
621
+ "pseudo_student_dice": 0.8012167018453978,
622
+ "pseudo_ensemble_dice": 0.4863777827338713,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 1.0,
625
+ "val_dice": 0.7405788014844665,
626
+ "val_vi": 0.31581319789840717,
627
+ "val_ece": 0.019612879670904602
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 294,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 189.0,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7512189727699001,
636
+ "val_vi": 0.3181009168739638,
637
+ "val_ece": 0.021623735484845367
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": -0.006734909767982264,
642
+ "auroc_top20_error": 0.5056221403265146
643
+ },
644
+ "al_seconds": 2570.9,
645
+ "source_archs": [
646
+ "unet",
647
+ "unet",
648
+ "unet",
649
+ "unet",
650
+ "unet",
651
+ "unet",
652
+ "unet",
653
+ "unet"
654
+ ],
655
+ "alphas_final": [
656
+ 0.0,
657
+ 0.0,
658
+ 0.0,
659
+ 0.0,
660
+ 0.0,
661
+ 0.0,
662
+ 1.0,
663
+ 0.0
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 1.0,
667
+ "entropy": -0.0,
668
+ "effective_sources": 1.0,
669
+ "min_weight": 0.0
670
+ },
671
+ "top_source_final": "octopus-vulgaris-vertical-lobe-sfltract",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7474120376241677,
676
+ "patch_iou": 0.6728028364833846,
677
+ "patch_precision": 0.7935101241758076,
678
+ "patch_recall": 0.8178482491923542,
679
+ "patch_vi": 0.28209865954645047,
680
+ "n_patches": 1300,
681
+ "cal_ece": 0.0176318543517363,
682
+ "cal_nll": 0.1534192941139603,
683
+ "cal_brier": 0.04106024181296851,
684
+ "cal_mean_confidence": 0.9636918002651976,
685
+ "cal_accuracy": 0.9460599459134615,
686
+ "cal_predicted_prevalence": 0.2094666466346154,
687
+ "cal_true_prevalence": 0.21078049879807692,
688
+ "cal_mean_probability": 0.20719564276506328
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7474120376241677,
692
+ "patch_iou": 0.6728028364833846,
693
+ "patch_precision": 0.7935101241758076,
694
+ "patch_recall": 0.8178482491923542,
695
+ "patch_vi": 0.28209865954645047,
696
+ "n_patches": 1300,
697
+ "cal_ece": 0.0176318543517363,
698
+ "cal_nll": 0.1534192941139603,
699
+ "cal_brier": 0.04106024181296851,
700
+ "cal_mean_confidence": 0.9636918002651976,
701
+ "cal_accuracy": 0.9460599459134615,
702
+ "cal_predicted_prevalence": 0.2094666466346154,
703
+ "cal_true_prevalence": 0.21078049879807692,
704
+ "cal_mean_probability": 0.20719564276506328
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7625086122496587,
708
+ "patch_iou": 0.6915794905331696,
709
+ "patch_precision": 0.8210280221083377,
710
+ "patch_recall": 0.8201574493133729,
711
+ "patch_vi": 0.26227260743302666,
712
+ "n_patches": 1300,
713
+ "image_dice": 0.8726720894721708,
714
+ "image_iou": 0.784447861167505,
715
+ "image_precision": 0.8901989738983472,
716
+ "image_recall": 0.87096714633107,
717
+ "image_vi": 0.3001978081447007,
718
+ "n_images": 52,
719
+ "cal_ece": 0.008869097294647845,
720
+ "cal_nll": 0.1345410909698496,
721
+ "cal_brier": 0.037687427717699104,
722
+ "cal_mean_confidence": 0.9585626016781935,
723
+ "cal_accuracy": 0.9497438401442307,
724
+ "cal_predicted_prevalence": 0.20746243990384616,
725
+ "cal_true_prevalence": 0.21078049879807692,
726
+ "cal_mean_probability": 0.2073494734025003
727
+ },
728
+ "eval_seconds": 68.7,
729
+ "total_seconds": 3867.7,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.47,
734
+ "peak_cpu_rss_mb": 2183.9,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 95.65,
740
+ "peak_cpu_rss_mb": 4183.8,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 1122.62,
746
+ "peak_cpu_rss_mb": 5939.8,
747
+ "peak_gpu_alloc_mb": 4300.6,
748
+ "peak_gpu_reserved_mb": 4618.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 2570.92,
753
+ "peak_cpu_rss_mb": 5939.8,
754
+ "peak_gpu_alloc_mb": 4420.9,
755
+ "peak_gpu_reserved_mb": 4626.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 68.69,
760
+ "peak_cpu_rss_mb": 5939.8,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4626.0,
763
+ "patches": 1300,
764
+ "images": 52,
765
+ "patches_per_second": 18.9,
766
+ "seconds_per_image": 1.321
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4420.9,
770
+ "peak_cpu_rss_mb": 5939.8,
771
+ "total_seconds": 3859.3
772
+ },
773
+ "student_parameters": 31042369,
774
+ "teacher_parameters": [
775
+ 31042369,
776
+ 31042369,
777
+ 31042369,
778
+ 31042369,
779
+ 31042369,
780
+ 31042369,
781
+ 31042369,
782
+ 31042369
783
+ ],
784
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/whole-mouse-brain/macs-v11-norestart-acq-random_b5_s1.pth"
785
+ }
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-random/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,49,112.9,610.4,"[0.4308437371432156, 0.3720464899554072, 0.13400588777866665, 0.2906832527572902, 0.28441244487328066, 0.3714445937083196, 0.46009083351660035, 0.2953659731768761]",,774194,43,True,kept,0.3141552482233243,0.46009083351660035,"[0.027388975830910146, 0.511103822265685, 0.0, 0.0, 0.0, 0.0, 0.46150720190340494, 0.0]",top3,"{'mixture': 0.4149047036603486, 'uniform': 0.3931444911550303, 'top1': 0.46009083351660035, 'top2': 0.46380715367111625, 'top3': 0.49022779815240064}",0.6512893174377166,0.4646900588599244,0.0896417007453064,,,,,
3
+ 2,98,0.2,63.2,"[0.4424330801851372, 0.37408893009446964, 0.13996203868108806, 0.29503398267841263, 0.2762732338980843, 0.3782590298845219, 0.47481626651490355, 0.3238189071307628]",,1631452,85,False,,,,"[0.0543864996701088, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9456135003298912, 0.0]",top2,"{'mixture': 0.4356210342800381, 'uniform': 0.40298612721687643, 'top1': 0.47481626651490355, 'top2': 0.47797929634414377, 'top3': 0.4516145396104275}",0.6899674120835443,0.3934530539606663,0.046598598690968274,0.8275029820365678,0.49077896830410456,student,1.0,
4
+ 3,147,0.2,386.1,"[0.4208794202637337, 0.37488266988173913, 0.150732512981738, 0.280229848328845, 0.30736600511815093, 0.42137673253425356, 0.504630320454826, 0.3103878885056744]","[0.3964222900856918, 0.37934827125456433, 0.15986144969132293, 0.2785786219247478, 0.33299853995204853, 0.45638475100222214, 0.5447891954337357, 0.2891779812953886]",2470847,129,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.46107124265136823, 'uniform': 0.4470064837241954, 'top1': 0.504630320454826, 'top2': 0.4774312960056267, 'top3': 0.47954494564006567}",0.6997838980735469,0.38111564948839316,0.006551502400643054,0.8483273711237067,0.4447035907635971,student,1.0,
5
+ 4,196,0.2,405.8,"[0.41735012268474536, 0.37774968729190495, 0.15129542306014881, 0.2833705136853922, 0.3061931648198789, 0.4232066747177724, 0.49688937580258463, 0.314315337148227]","[0.3943931472745527, 0.37855105448483334, 0.15943182820909615, 0.2892929128772673, 0.3257258256062749, 0.4601414870055501, 0.5342473085263869, 0.2950977113256563]",3255460,173,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.45595241469488296, 'uniform': 0.44581060629678865, 'top1': 0.49688937580258463, 'top2': 0.46677430571359046, 'top3': 0.4690154172263659}",0.7284449934265951,0.35062932040639544,0.01061670729460243,0.8894096619935941,0.4435759384979648,student,1.0,
6
+ 5,245,0.2,427.2,"[0.40692426871897414, 0.3776928989394102, 0.14920549941794428, 0.2795811790533572, 0.31140825070370776, 0.43368676727852196, 0.5091293274911578, 0.3121180397885524]","[0.3970244948724663, 0.37928996723211816, 0.15356131391556158, 0.28419405601396547, 0.3296259383047535, 0.46253273706373266, 0.542636728401153, 0.3050203065494246]",3796031,213,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.4624701194922756, 'uniform': 0.45307112409178935, 'top1': 0.5091293274911578, 'top2': 0.4770389469575239, 'top3': 0.4788482169595161}",0.7360976720287663,0.3467971465172063,0.01788726699061594,0.8150319479999724,0.5618041860169222,student,1.0,
7
+ 6,294,0.2,448.7,"[0.4131523804861451, 0.38148291144188595, 0.14959132590158677, 0.2859449485429898, 0.3070357015540196, 0.4312325733658978, 0.5087118932311401, 0.321087704901554]","[0.4114461558819054, 0.3849032866661021, 0.1555940064347239, 0.2883347744854101, 0.32091747898050904, 0.4585541603506631, 0.5398959859343434, 0.31990600159271626]",4607078,257,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.46080784643360345, 'uniform': 0.4478514590552423, 'top1': 0.5087118932311401, 'top2': 0.47603001745833207, 'top3': 0.47780834110988624}",0.7405788014844665,0.31581319789840717,0.019612879670904602,0.8012167018453978,0.4863777827338713,student,1.0,
8
+ 7,294,0.0,189.0,,,,,,,,,,,,0.7512189727699001,0.3181009168739638,0.021623735484845367,,,,,True
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [23:08:10][ 0s][START] target=drosophila-vnc variant=macs-v11-norestart-acq-laplace budget=5.0% seed=1 | {"task": "mitochondria", "target": "drosophila-vnc", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [23:08:10][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [23:08:11][ 0s][DATA] drosophila-vnc: train=686 val=147 test=147 patches
4
+ [23:08:20][ 10s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, lucchi=3.80, multiclass=2.60
5
+ [23:08:27][ 17s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 7s
6
+ [23:08:28][ 18s][WEIGHTS] mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020 | eff.sources=1.77 | MMD2 mix=0.1975 uniform=0.3743
7
+ [23:08:28][ 18s][WEIGHTS] per-source: fly-mito=0.039, kasthuri=0.943, lucchi=0.014, multiclass=0.004 | min-MMD source (NeuroADDA rule) = kasthuri
8
+ [23:08:35][ 24s][TEACHERS] target-val Dice: fly-mito=0.278, kasthuri=0.183, lucchi=0.058, multiclass=0.017
9
+ [23:08:35][ 24s][TEACHERS] ensemble target-val Dice: mixture=0.187, mixture@raw=0.185, mixture@logit=0.193, per_source=0.184, per_source@raw=0.184, per_source@logit=0.189, uniform=0.070, uniform@raw=0.088, uniform@logit=0.065
10
+ [23:08:35][ 24s][WEIGHTS] using mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020
11
+ [23:08:35][ 24s][INIT] student initialised from teacher kasthuri (weight 0.838)
12
+ [23:08:38][ 27s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [23:08:38][ 27s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [23:08:51][ 41s][KD] soft labels for 686 patches from 4 teachers in 14s
15
+ [23:09:12][ 61s][KD] epoch 1/5 | patches=686 | loss=0.2005 | 20s
16
+ [23:09:32][ 81s][KD] epoch 2/5 | patches=686 | loss=0.1322 | 20s
17
+ [23:09:52][ 101s][KD] epoch 3/5 | patches=686 | loss=0.1259 | 20s
18
+ [23:10:12][ 121s][KD] epoch 4/5 | patches=686 | loss=0.1216 | 20s
19
+ [23:10:32][ 142s][KD] epoch 5/5 | patches=686 | loss=0.1204 | 20s
20
+ [23:10:33][ 143s][ROUND0] before any target label: val_dice=0.1919 val_vi=0.2213
21
+ [23:10:33][ 143s][AL] patches=686 (pool 686 after dropping blank; free blank negatives: True) | budget=34 (5.0%) | rounds=6 | per_round=5 | acquisition=laplace | first_round=stratified
22
+ [23:10:40][ 150s][AL] round-1 uncertainty quality on 686 patches: {'spearman_uncertainty_error': 0.1281956487029202, 'auroc_top20_error': 0.6150618810253443}
23
+ [23:10:54][ 164s][AL] round 1: stratified cold start: 3 patches from the membrane-rich half (ensemble prevalence >= 0.047) + 2 from the membrane-poor half of 686 candidates
24
+ [23:10:55][ 165s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.303, uniform=0.018, top1=0.312, top2=0.305, top3=0.304 -> using top1
25
+ [23:10:55][ 165s][WEIGHTS] round 1: student kept (labeled Dice 0.123 vs best teacher fly-mito 0.312); distilling the corrected ensemble into it
26
+ [23:10:55][ 165s][WEIGHTS] round 1: teacher Dice on 5 labeled patches + 0 blank (15368 fg px): fly-mito=0.312, kasthuri=0.097, lucchi=0.000, multiclass=0.003 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
27
+ [23:10:59][ 169s][KD] soft labels for 681 patches from 4 teachers in 4s
28
+ [23:11:19][ 189s][KD] epoch 1/2 | patches=681 | loss=0.2934 | 20s
29
+ [23:11:39][ 209s][KD] epoch 2/2 | patches=681 | loss=0.2402 | 20s
30
+ [23:11:43][ 212s][CONS] pseudo-labels for 681 unlabeled patches from the current ensemble in 4s
31
+ [23:11:43][ 213s][FT] round 1/6 epoch 1/5 | patches=5 | loss=1.4014
32
+ [23:11:44][ 214s][FT] round 1/6 epoch 2/5 | patches=5 | loss=1.3138
33
+ [23:11:45][ 215s][FT] round 1/6 epoch 3/5 | patches=5 | loss=1.2332
34
+ [23:11:46][ 216s][FT] round 1/6 epoch 4/5 | patches=5 | loss=1.1817
35
+ [23:11:47][ 217s][FT] round 1/6 epoch 5/5 | patches=5 | loss=1.2248
36
+ [23:11:48][ 218s][AL] round 1/6 | labeled=5 | selection_seconds=21.2000 round_seconds=74.2000 restart_student_dice=0.1231 restart_teacher_dice=0.3119 val_dice=0.2369 val_vi=0.2879 val_ece=0.0156
37
+ [23:11:55][ 225s][AL] round 2: 14/681 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [23:11:57][ 226s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.141, uniform=0.025, top1=0.172, top2=0.142, top3=0.142 -> using top1
39
+ [23:11:57][ 226s][WEIGHTS] round 2: teacher Dice on 10 labeled patches + 0 blank (17002 fg px): fly-mito=0.172, kasthuri=0.135, lucchi=0.001, multiclass=0.003 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
40
+ [23:11:58][ 227s][CONS] round 2: on the 5 new patches student Dice=0.042 vs ensemble 0.040 -> pseudo-labels from the ensemble | consistency x1.00 | judgement set below the foreground gate: source kept
41
+ [23:11:59][ 229s][FT] round 2/6 epoch 1/5 | patches=10 | loss=1.1973
42
+ [23:12:00][ 230s][FT] round 2/6 epoch 2/5 | patches=10 | loss=1.1801
43
+ [23:12:01][ 231s][FT] round 2/6 epoch 3/5 | patches=10 | loss=1.1914
44
+ [23:12:03][ 232s][FT] round 2/6 epoch 4/5 | patches=10 | loss=1.1851
45
+ [23:12:04][ 234s][FT] round 2/6 epoch 5/5 | patches=10 | loss=1.1409
46
+ [23:12:05][ 235s][AL] round 2/6 | labeled=10 | selection_seconds=7.4000 round_seconds=16.0000 pseudo_student_dice=0.0421 pseudo_ensemble_dice=0.0401 consistency_scale=1.0000 val_dice=0.2866 val_vi=0.2713 val_ece=0.0474
47
+ [23:12:12][ 242s][AL] round 3: 31/676 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [23:12:14][ 244s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.146, uniform=0.018, top1=0.182, top2=0.147, top3=0.146 -> using top1
49
+ [23:12:14][ 244s][WEIGHTS] round 3: teacher Dice on 15 labeled patches + 0 blank (24575 fg px): fly-mito=0.182, kasthuri=0.137, lucchi=0.001, multiclass=0.002 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
50
+ [23:12:15][ 245s][CONS] round 3: on the 5 new patches student Dice=0.203 vs ensemble 0.197 -> pseudo-labels from the ensemble | consistency x1.00
51
+ [23:12:16][ 246s][FT] round 3/6 epoch 1/5 | patches=15 | loss=1.1297
52
+ [23:12:18][ 248s][FT] round 3/6 epoch 2/5 | patches=15 | loss=1.1117
53
+ [23:12:19][ 249s][FT] round 3/6 epoch 3/5 | patches=15 | loss=1.0964
54
+ [23:12:21][ 250s][FT] round 3/6 epoch 4/5 | patches=15 | loss=1.0400
55
+ [23:12:22][ 252s][FT] round 3/6 epoch 5/5 | patches=15 | loss=1.0601
56
+ [23:12:23][ 253s][AL] round 3/6 | labeled=15 | selection_seconds=7.3000 round_seconds=17.0000 pseudo_student_dice=0.2030 pseudo_ensemble_dice=0.1971 consistency_scale=1.0000 val_dice=0.4354 val_vi=0.3016 val_ece=0.0098
57
+ [23:12:30][ 260s][AL] round 4: 15/671 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [23:12:33][ 262s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.128, uniform=0.017, top1=0.147, top2=0.129, top3=0.129 -> using top1
59
+ [23:12:33][ 262s][WEIGHTS] round 4: teacher Dice on 20 labeled patches + 0 blank (25508 fg px): fly-mito=0.147, kasthuri=0.122, lucchi=0.001, multiclass=0.002 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
60
+ [23:12:33][ 263s][CONS] round 4: on the 5 new patches student Dice=0.026 vs ensemble 0.011 -> pseudo-labels from the ensemble | consistency x1.00 | judgement set below the foreground gate: source kept
61
+ [23:12:35][ 265s][FT] round 4/6 epoch 1/5 | patches=20 | loss=1.0636
62
+ [23:12:37][ 267s][FT] round 4/6 epoch 2/5 | patches=20 | loss=1.0478
63
+ [23:12:39][ 268s][FT] round 4/6 epoch 3/5 | patches=20 | loss=1.0256
64
+ [23:12:41][ 270s][FT] round 4/6 epoch 4/5 | patches=20 | loss=1.0184
65
+ [23:12:42][ 272s][FT] round 4/6 epoch 5/5 | patches=20 | loss=1.0131
66
+ [23:12:43][ 273s][AL] round 4/6 | labeled=20 | selection_seconds=7.3000 round_seconds=19.3000 pseudo_student_dice=0.0263 pseudo_ensemble_dice=0.0112 consistency_scale=1.0000 val_dice=0.5388 val_vi=0.1580 val_ece=0.0072
67
+ [23:12:51][ 280s][AL] round 5: 99/666 candidates skipped as agreed-empty (predicted prevalence < 0.005)
68
+ [23:12:53][ 283s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.117, uniform=0.011, top1=0.150, top2=0.118, top3=0.117 -> using top1
69
+ [23:12:53][ 283s][WEIGHTS] round 5: teacher Dice on 25 labeled patches + 0 blank (41206 fg px): fly-mito=0.150, kasthuri=0.112, lucchi=0.001, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
70
+ [23:12:58][ 287s][CONS] round 5: on the 5 new patches student Dice=0.588 vs ensemble 0.157 -> pseudo-labels from the student | consistency x0.29
71
+ [23:13:00][ 290s][FT] round 5/6 epoch 1/5 | patches=25 | loss=0.7865
72
+ [23:13:02][ 292s][FT] round 5/6 epoch 2/5 | patches=25 | loss=0.7621
73
+ [23:13:04][ 294s][FT] round 5/6 epoch 3/5 | patches=25 | loss=0.7242
74
+ [23:13:06][ 296s][FT] round 5/6 epoch 4/5 | patches=25 | loss=0.6684
75
+ [23:13:09][ 298s][FT] round 5/6 epoch 5/5 | patches=25 | loss=0.6240
76
+ [23:13:10][ 299s][AL] round 5/6 | labeled=25 | selection_seconds=7.2000 round_seconds=25.2000 pseudo_student_dice=0.5880 pseudo_ensemble_dice=0.1565 consistency_scale=0.2930 val_dice=0.6531 val_vi=0.1316 val_ece=0.0065
77
+ [23:13:17][ 307s][AL] round 6: 116/661 candidates skipped as agreed-empty (predicted prevalence < 0.005)
78
+ [23:13:45][ 335s][WEIGHTS] round 6: teacher agreement with the student on 656 unlabeled patches: fly-mito=0.387, kasthuri=0.467, lucchi=0.009, multiclass=0.001 | blended with labeled Dice at 0.50
79
+ [23:14:11][ 360s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.284, uniform=0.034, top1=0.288, top2=0.284, top3=0.284 -> using mixture
80
+ [23:14:11][ 360s][WEIGHTS] round 6: teacher Dice on 30 labeled patches + 0 blank (67637 fg px): fly-mito=0.288, kasthuri=0.281, lucchi=0.005, multiclass=0.001 | weights: fly-mito=0.130, kasthuri=0.867, lucchi=0.002, multiclass=0.001
81
+ [23:14:15][ 365s][CONS] round 6: on the 5 new patches student Dice=0.411 vs ensemble 0.063 -> pseudo-labels from the student | consistency x0.00
82
+ [23:14:16][ 366s][FT] round 6/6 epoch 1/5 | patches=30 | loss=0.6123
83
+ [23:14:17][ 367s][FT] round 6/6 epoch 2/5 | patches=30 | loss=0.5794
84
+ [23:14:19][ 368s][FT] round 6/6 epoch 3/5 | patches=30 | loss=0.5905
85
+ [23:14:20][ 370s][FT] round 6/6 epoch 4/5 | patches=30 | loss=0.5808
86
+ [23:14:21][ 371s][FT] round 6/6 epoch 5/5 | patches=30 | loss=0.5486
87
+ [23:14:22][ 372s][AL] round 6/6 | labeled=30 | selection_seconds=7.2000 round_seconds=71.4000 pseudo_student_dice=0.4114 pseudo_ensemble_dice=0.0634 consistency_scale=0.0000 val_dice=0.6087 val_vi=0.1785 val_ece=0.0197
88
+ [23:14:26][ 375s][CONS] final consolidation: pseudo-labels refreshed from the student
89
+ [23:14:27][ 377s][FT] final 1/10 epoch 1/1 | patches=30 | loss=0.5766
90
+ [23:14:28][ 378s][FT] final 2/10 epoch 1/1 | patches=30 | loss=0.4982
91
+ [23:14:29][ 379s][FT] final 3/10 epoch 1/1 | patches=30 | loss=0.5141
92
+ [23:14:31][ 380s][FT] final 4/10 epoch 1/1 | patches=30 | loss=0.5012
93
+ [23:14:32][ 381s][FT] final 5/10 epoch 1/1 | patches=30 | loss=0.4460
94
+ [23:14:33][ 383s][FT] final 6/10 epoch 1/1 | patches=30 | loss=0.4272
95
+ [23:14:34][ 384s][FT] final 7/10 epoch 1/1 | patches=30 | loss=0.4768
96
+ [23:14:35][ 385s][FT] final 8/10 epoch 1/1 | patches=30 | loss=0.4484
97
+ [23:14:37][ 386s][FT] final 9/10 epoch 1/1 | patches=30 | loss=0.4726
98
+ [23:14:38][ 387s][FT] final 10/10 epoch 1/1 | patches=30 | loss=0.4304
99
+ [23:14:39][ 389s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=15.6000 val_dice=0.6910 val_vi=0.1376 val_ece=0.0151
100
+ [23:14:39][ 389s][WEIGHTS] final: fly-mito=0.130, kasthuri=0.867, lucchi=0.002, multiclass=0.001
101
+ [23:14:46][ 396s][TEST] raw student (no EMA, no TTA): patch_dice=0.7909 patch_vi=0.1394
102
+ [23:14:47][ 397s][TEST] final model without TTA: patch_dice=0.7909 patch_vi=0.1394
103
+ [23:14:47][ 397s][RESOURCES] {"phases": {"setup": {"seconds": 8.5, "peak_cpu_rss_mb": 2190.7, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 17.69, "peak_cpu_rss_mb": 4161.9, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 114.25, "peak_cpu_rss_mb": 4369.3, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4168.0, "kd_epochs": 5}, "active_learning": {"seconds": 246.0, "peak_cpu_rss_mb": 4472.1, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4178.0, "rounds": 6}, "inference": {"seconds": 8.46, "peak_cpu_rss_mb": 4472.1, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4178.0, "patches": 147, "images": 3, "patches_per_second": 17.4, "seconds_per_image": 2.82}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 4472.1, "total_seconds": 394.9}
104
+ [23:14:47][ 397s][TEST] patch_dice=0.7877 patch_iou=0.6951 patch_precision=0.7281 patch_recall=0.9348 patch_vi=0.1348 image_dice=0.8425 image_iou=0.7285 image_precision=0.7509 image_recall=0.9602 image_vi=0.1642 cal_ece=0.0075 cal_nll=0.0525 cal_brier=0.0154 cal_mean_confidence=0.9862 cal_accuracy=0.9787 cal_predicted_prevalence=0.0745 cal_true_prevalence=0.0594 cal_mean_probability=0.0762
105
+ [23:14:48][ 397s][DONE] drosophila-vnc macs-v11-norestart-acq-laplace b5 s1 | test patch Dice=0.7877 VI=0.1348 | image Dice=0.8425 VI=0.1642 | 397s
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,652 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "drosophila-vnc",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "drosophila-vnc",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "laplace",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "fce9b15",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "drosophila-vnc",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "fce9b15",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "kasthuri-pp",
147
+ "lucchi-pp",
148
+ "multiclass"
149
+ ],
150
+ "alphas": [
151
+ 0.11690492516893997,
152
+ 0.8375897330633602,
153
+ 0.0256027087898516,
154
+ 0.019902632977848233
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "lucchi-pp",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.11690492516893997,
165
+ 0.8375897330633602,
166
+ 0.0256027087898516,
167
+ 0.019902632977848233
168
+ ],
169
+ "per_source": [
170
+ 0.038599207620062845,
171
+ 0.9432861284385984,
172
+ 0.013712296406123614,
173
+ 0.0044023675352152245
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.1917820351790263,
183
+ "mmd2_mixture": 0.19749363071106324,
184
+ "mmd2_uniform": 0.3743489659922599,
185
+ "mmd2_single_source": [
186
+ 0.7042977370508033,
187
+ 0.20706860465273969,
188
+ 0.6307956892595754,
189
+ 0.6534362949819378
190
+ ],
191
+ "median_squared_distance": 0.19645890982127545,
192
+ "gammas": [
193
+ 1.272530730356961,
194
+ 2.545061460713922,
195
+ 5.090122921427844,
196
+ 10.180245842855689,
197
+ 20.360491685711377
198
+ ],
199
+ "max_weight": 0.8375897330633602,
200
+ "entropy": 0.5711595532036933,
201
+ "effective_sources": 1.7703186403916105,
202
+ "min_weight": 0.019902632977848233
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.605076346545893,
207
+ 0.31101778520145595,
208
+ 0.7002952057460718,
209
+ 0.8048259839560096
210
+ ],
211
+ "standardized": [
212
+ -0.0012362667606482206,
213
+ -1.5993052227157551,
214
+ 0.5162331182950395,
215
+ 1.0843083711813646
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9432861284385984,
219
+ "entropy": 0.26340029394025066,
220
+ "effective_sources": 1.301347536237684,
221
+ "min_weight": 0.0044023675352152245
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "kasthuri-pp",
226
+ "seconds": 8.5
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.27840715557699913,
231
+ 0.18341499813983803,
232
+ 0.0577032083417681,
233
+ 0.01681466600081078
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.18652277313599772,
237
+ "mixture@raw": 0.18548230728775292,
238
+ "mixture@logit": 0.19296074616265912,
239
+ "per_source": 0.18415443581907806,
240
+ "per_source@raw": 0.1835051571090219,
241
+ "per_source@logit": 0.18905485087217583,
242
+ "uniform": 0.0696943056822927,
243
+ "uniform@raw": 0.08847159266818436,
244
+ "uniform@logit": 0.06549734203813108
245
+ },
246
+ "val_patches": 147
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 2.5090832710266113,
251
+ 3.80090069770813,
252
+ 2.597146987915039
253
+ ],
254
+ "top_source": "kasthuri-pp",
255
+ "weight_stats": {
256
+ "max_weight": 0.8375897330633602,
257
+ "entropy": 0.5711595532036933,
258
+ "effective_sources": 1.7703186403916105,
259
+ "min_weight": 0.019902632977848233
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.7999999999999999,
263
+ "spearman_weight_taxonomy": -0.21081851067789195,
264
+ "top_source": "kasthuri-pp",
265
+ "top_source_is_best_teacher": false
266
+ },
267
+ "init_teacher": "kasthuri-pp",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.0,
270
+ "kd_seconds": 114.3,
271
+ "round0_val": {
272
+ "val_dice": 0.19189352403793783,
273
+ "val_vi": 0.22130833251687648,
274
+ "val_ece": 0.02232954733842891
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 5,
280
+ "selection_seconds": 21.2,
281
+ "round_seconds": 74.2,
282
+ "teacher_dice_labeled": [
283
+ 0.3118739095489208,
284
+ 0.0968435913812229,
285
+ 0.0004512053628980276,
286
+ 0.00288
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 15368,
290
+ "evidence_nonempty_patches": 5,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.12307992202729044,
294
+ "restart_teacher_dice": 0.3118739095489208,
295
+ "weights": [
296
+ 1.0,
297
+ 0.0,
298
+ 0.0,
299
+ 0.0
300
+ ],
301
+ "ensemble_choice": "top1",
302
+ "candidate_dice": {
303
+ "mixture": 0.30330376940133036,
304
+ "uniform": 0.018090264826557255,
305
+ "top1": 0.3118739095489208,
306
+ "top2": 0.30483917067915484,
307
+ "top3": 0.3042653191818001
308
+ },
309
+ "val_dice": 0.23685093051502523,
310
+ "val_vi": 0.28794167838117374,
311
+ "val_ece": 0.015598701639074236
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 10,
316
+ "selection_seconds": 7.4,
317
+ "round_seconds": 16.0,
318
+ "teacher_dice_labeled": [
319
+ 0.17236378900771807,
320
+ 0.134718532257256,
321
+ 0.0011034322550670772,
322
+ 0.0025857610756766076
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 17002,
326
+ "evidence_nonempty_patches": 7,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 1.0,
331
+ 0.0,
332
+ 0.0,
333
+ 0.0
334
+ ],
335
+ "ensemble_choice": "top1",
336
+ "candidate_dice": {
337
+ "mixture": 0.14129939786469667,
338
+ "uniform": 0.025314333612740988,
339
+ "top1": 0.17236378900771807,
340
+ "top2": 0.14178256808945655,
341
+ "top3": 0.14157927984838914
342
+ },
343
+ "pseudo_student_dice": 0.042085187539733,
344
+ "pseudo_ensemble_dice": 0.04012414510853405,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.2866201808181058,
348
+ "val_vi": 0.27125518727925535,
349
+ "val_ece": 0.04738608310345371
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 15,
354
+ "selection_seconds": 7.3,
355
+ "round_seconds": 17.0,
356
+ "teacher_dice_labeled": [
357
+ 0.1816465346770543,
358
+ 0.13722353870458137,
359
+ 0.0007644952319639481,
360
+ 0.0017971963736570949
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 24575,
364
+ "evidence_nonempty_patches": 12,
365
+ "first_correction": false,
366
+ "restart": "",
367
+ "weights": [
368
+ 1.0,
369
+ 0.0,
370
+ 0.0,
371
+ 0.0
372
+ ],
373
+ "ensemble_choice": "top1",
374
+ "candidate_dice": {
375
+ "mixture": 0.14601875873079226,
376
+ "uniform": 0.017784931883318283,
377
+ "top1": 0.1816465346770543,
378
+ "top2": 0.14662073360149747,
379
+ "top3": 0.14634583948008453
380
+ },
381
+ "pseudo_student_dice": 0.2029553264604811,
382
+ "pseudo_ensemble_dice": 0.1971301728238465,
383
+ "pseudo_source": "ensemble",
384
+ "consistency_scale": 1.0,
385
+ "val_dice": 0.43543202231132283,
386
+ "val_vi": 0.30158674255549045,
387
+ "val_ece": 0.009805639594878747
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 20,
392
+ "selection_seconds": 7.3,
393
+ "round_seconds": 19.3,
394
+ "teacher_dice_labeled": [
395
+ 0.14676982261976956,
396
+ 0.12248808874980222,
397
+ 0.0007346686257830021,
398
+ 0.002188183807439825
399
+ ],
400
+ "teacher_dice_pool": null,
401
+ "evidence_fg_pixels": 25508,
402
+ "evidence_nonempty_patches": 15,
403
+ "first_correction": false,
404
+ "restart": "",
405
+ "weights": [
406
+ 1.0,
407
+ 0.0,
408
+ 0.0,
409
+ 0.0
410
+ ],
411
+ "ensemble_choice": "top1",
412
+ "candidate_dice": {
413
+ "mixture": 0.12848106904231626,
414
+ "uniform": 0.017156491440690803,
415
+ "top1": 0.14676982261976956,
416
+ "top2": 0.12918176006818666,
417
+ "top3": 0.1288194073915982
418
+ },
419
+ "pseudo_student_dice": 0.02631578947368421,
420
+ "pseudo_ensemble_dice": 0.01118521606224816,
421
+ "pseudo_source": "ensemble",
422
+ "consistency_scale": 1.0,
423
+ "val_dice": 0.538829033552655,
424
+ "val_vi": 0.15799834303392746,
425
+ "val_ece": 0.007239701747245221
426
+ },
427
+ {
428
+ "round": 5,
429
+ "n_labeled": 25,
430
+ "selection_seconds": 7.2,
431
+ "round_seconds": 25.2,
432
+ "teacher_dice_labeled": [
433
+ 0.14991183354172677,
434
+ 0.11196244467753076,
435
+ 0.0005527650267970872,
436
+ 0.0013616492678149112
437
+ ],
438
+ "teacher_dice_pool": null,
439
+ "evidence_fg_pixels": 41206,
440
+ "evidence_nonempty_patches": 20,
441
+ "first_correction": false,
442
+ "restart": "",
443
+ "weights": [
444
+ 1.0,
445
+ 0.0,
446
+ 0.0,
447
+ 0.0
448
+ ],
449
+ "ensemble_choice": "top1",
450
+ "candidate_dice": {
451
+ "mixture": 0.11684489229345535,
452
+ "uniform": 0.011136968085106383,
453
+ "top1": 0.14991183354172677,
454
+ "top2": 0.11754230882560181,
455
+ "top3": 0.11732180427977626
456
+ },
457
+ "pseudo_student_dice": 0.5880473899154907,
458
+ "pseudo_ensemble_dice": 0.15650009421145017,
459
+ "pseudo_source": "student",
460
+ "consistency_scale": 0.293,
461
+ "val_dice": 0.6531419798130339,
462
+ "val_vi": 0.13160857087554498,
463
+ "val_ece": 0.006511332969372438
464
+ },
465
+ {
466
+ "round": 6,
467
+ "n_labeled": 30,
468
+ "selection_seconds": 7.2,
469
+ "round_seconds": 71.4,
470
+ "teacher_dice_labeled": [
471
+ 0.28795011474485044,
472
+ 0.280563902813102,
473
+ 0.0054258056716156265,
474
+ 0.0008719495006685415
475
+ ],
476
+ "teacher_dice_pool": [
477
+ 0.3870062594431254,
478
+ 0.4669729462302163,
479
+ 0.009022441201141316,
480
+ 0.0009105291166930196
481
+ ],
482
+ "evidence_fg_pixels": 67637,
483
+ "evidence_nonempty_patches": 24,
484
+ "first_correction": false,
485
+ "restart": "",
486
+ "weights": [
487
+ 0.13025564297709144,
488
+ 0.8667965482101361,
489
+ 0.0016914617097016046,
490
+ 0.0012563471030710067
491
+ ],
492
+ "ensemble_choice": "mixture",
493
+ "candidate_dice": {
494
+ "mixture": 0.2837908050450364,
495
+ "uniform": 0.034392525491845516,
496
+ "top1": 0.28795011474485044,
497
+ "top2": 0.2838905935041172,
498
+ "top3": 0.2838305958183957
499
+ },
500
+ "pseudo_student_dice": 0.41143576121906894,
501
+ "pseudo_ensemble_dice": 0.06339725733876152,
502
+ "pseudo_source": "student",
503
+ "consistency_scale": 0.0,
504
+ "val_dice": 0.608747389325827,
505
+ "val_vi": 0.17846436977004534,
506
+ "val_ece": 0.01971239731023785
507
+ },
508
+ {
509
+ "round": 7,
510
+ "n_labeled": 30,
511
+ "selection_seconds": 0.0,
512
+ "round_seconds": 15.6,
513
+ "final_consolidation": true,
514
+ "val_dice": 0.6909546100135161,
515
+ "val_vi": 0.13761017851695848,
516
+ "val_ece": 0.015077464841051817
517
+ }
518
+ ],
519
+ "uncertainty_quality": {
520
+ "spearman_uncertainty_error": 0.1281956487029202,
521
+ "auroc_top20_error": 0.6150618810253443
522
+ },
523
+ "al_seconds": 246.0,
524
+ "source_archs": [
525
+ "unet",
526
+ "unet",
527
+ "unet",
528
+ "unet"
529
+ ],
530
+ "alphas_final": [
531
+ 0.13025564297709144,
532
+ 0.8667965482101361,
533
+ 0.0016914617097016046,
534
+ 0.0012563471030710067
535
+ ],
536
+ "weight_stats_final": {
537
+ "max_weight": 0.8667965482101361,
538
+ "entropy": 0.4085908200891099,
539
+ "effective_sources": 1.5046959031685392,
540
+ "min_weight": 0.0012563471030710067
541
+ },
542
+ "top_source_final": "kasthuri-pp",
543
+ "ensemble_choice_final": "",
544
+ "restart": "kept",
545
+ "test_raw_student": {
546
+ "patch_dice": 0.79094270337799,
547
+ "patch_iou": 0.6974377079183249,
548
+ "patch_precision": 0.7248810371901514,
549
+ "patch_recall": 0.9449957914805975,
550
+ "patch_vi": 0.13943115167621045,
551
+ "n_patches": 147,
552
+ "cal_ece": 0.014094231018419017,
553
+ "cal_nll": 0.061826090976241234,
554
+ "cal_brier": 0.016988086156188117,
555
+ "cal_mean_confidence": 0.9927206806975483,
556
+ "cal_accuracy": 0.9786484906462585,
557
+ "cal_predicted_prevalence": 0.07579985119047619,
558
+ "cal_true_prevalence": 0.05939094387755102,
559
+ "cal_mean_probability": 0.0756547042173509
560
+ },
561
+ "test_notta": {
562
+ "patch_dice": 0.79094270337799,
563
+ "patch_iou": 0.6974377079183249,
564
+ "patch_precision": 0.7248810371901514,
565
+ "patch_recall": 0.9449957914805975,
566
+ "patch_vi": 0.13943115167621045,
567
+ "n_patches": 147,
568
+ "cal_ece": 0.014094231018419017,
569
+ "cal_nll": 0.061826090976241234,
570
+ "cal_brier": 0.016988086156188117,
571
+ "cal_mean_confidence": 0.9927206806975483,
572
+ "cal_accuracy": 0.9786484906462585,
573
+ "cal_predicted_prevalence": 0.07579985119047619,
574
+ "cal_true_prevalence": 0.05939094387755102,
575
+ "cal_mean_probability": 0.0756547042173509
576
+ },
577
+ "test": {
578
+ "patch_dice": 0.7877385379966639,
579
+ "patch_iou": 0.6951161067329877,
580
+ "patch_precision": 0.7280763728942042,
581
+ "patch_recall": 0.9348244922204363,
582
+ "patch_vi": 0.1348154343767868,
583
+ "n_patches": 147,
584
+ "image_dice": 0.8425339902518142,
585
+ "image_iou": 0.728532153833435,
586
+ "image_precision": 0.7508811622248409,
587
+ "image_recall": 0.9602402210801045,
588
+ "image_vi": 0.1642342012294927,
589
+ "n_images": 3,
590
+ "cal_ece": 0.00746777378342397,
591
+ "cal_nll": 0.05250644355455002,
592
+ "cal_brier": 0.015442382133295839,
593
+ "cal_mean_confidence": 0.9861893405351245,
594
+ "cal_accuracy": 0.9787215667517006,
595
+ "cal_predicted_prevalence": 0.07450441113945579,
596
+ "cal_true_prevalence": 0.05939094387755102,
597
+ "cal_mean_probability": 0.07621637154438468
598
+ },
599
+ "eval_seconds": 8.5,
600
+ "total_seconds": 397.0,
601
+ "resources": {
602
+ "phases": {
603
+ "setup": {
604
+ "seconds": 8.5,
605
+ "peak_cpu_rss_mb": 2190.7,
606
+ "peak_gpu_alloc_mb": 592.4,
607
+ "peak_gpu_reserved_mb": 594.0
608
+ },
609
+ "features_and_weights": {
610
+ "seconds": 17.69,
611
+ "peak_cpu_rss_mb": 4161.9,
612
+ "peak_gpu_alloc_mb": 2298.2,
613
+ "peak_gpu_reserved_mb": 2640.0
614
+ },
615
+ "distillation": {
616
+ "seconds": 114.25,
617
+ "peak_cpu_rss_mb": 4369.3,
618
+ "peak_gpu_alloc_mb": 3826.7,
619
+ "peak_gpu_reserved_mb": 4168.0,
620
+ "kd_epochs": 5
621
+ },
622
+ "active_learning": {
623
+ "seconds": 246.0,
624
+ "peak_cpu_rss_mb": 4472.1,
625
+ "peak_gpu_alloc_mb": 3947.0,
626
+ "peak_gpu_reserved_mb": 4178.0,
627
+ "rounds": 6
628
+ },
629
+ "inference": {
630
+ "seconds": 8.46,
631
+ "peak_cpu_rss_mb": 4472.1,
632
+ "peak_gpu_alloc_mb": 2149.5,
633
+ "peak_gpu_reserved_mb": 4178.0,
634
+ "patches": 147,
635
+ "images": 3,
636
+ "patches_per_second": 17.4,
637
+ "seconds_per_image": 2.82
638
+ }
639
+ },
640
+ "peak_gpu_alloc_mb": 3947.0,
641
+ "peak_cpu_rss_mb": 4472.1,
642
+ "total_seconds": 394.9
643
+ },
644
+ "student_parameters": 31042369,
645
+ "teacher_parameters": [
646
+ 31042369,
647
+ 31042369,
648
+ 31042369,
649
+ 31042369
650
+ ],
651
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/drosophila-vnc/macs-v11-norestart-acq-laplace_b5_s1.pth"
652
+ }
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,5,21.2,74.2,"[0.3118739095489208, 0.0968435913812229, 0.0004512053628980276, 0.00288]",,15368,5,True,kept,0.12307992202729044,0.3118739095489208,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.30330376940133036, 'uniform': 0.018090264826557255, 'top1': 0.3118739095489208, 'top2': 0.30483917067915484, 'top3': 0.3042653191818001}",0.23685093051502523,0.28794167838117374,0.015598701639074236,,,,,
3
+ 2,10,7.4,16.0,"[0.17236378900771807, 0.134718532257256, 0.0011034322550670772, 0.0025857610756766076]",,17002,7,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.14129939786469667, 'uniform': 0.025314333612740988, 'top1': 0.17236378900771807, 'top2': 0.14178256808945655, 'top3': 0.14157927984838914}",0.2866201808181058,0.27125518727925535,0.04738608310345371,0.042085187539733,0.04012414510853405,ensemble,1.0,
4
+ 3,15,7.3,17.0,"[0.1816465346770543, 0.13722353870458137, 0.0007644952319639481, 0.0017971963736570949]",,24575,12,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.14601875873079226, 'uniform': 0.017784931883318283, 'top1': 0.1816465346770543, 'top2': 0.14662073360149747, 'top3': 0.14634583948008453}",0.43543202231132283,0.30158674255549045,0.009805639594878747,0.2029553264604811,0.1971301728238465,ensemble,1.0,
5
+ 4,20,7.3,19.3,"[0.14676982261976956, 0.12248808874980222, 0.0007346686257830021, 0.002188183807439825]",,25508,15,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.12848106904231626, 'uniform': 0.017156491440690803, 'top1': 0.14676982261976956, 'top2': 0.12918176006818666, 'top3': 0.1288194073915982}",0.538829033552655,0.15799834303392746,0.007239701747245221,0.02631578947368421,0.01118521606224816,ensemble,1.0,
6
+ 5,25,7.2,25.2,"[0.14991183354172677, 0.11196244467753076, 0.0005527650267970872, 0.0013616492678149112]",,41206,20,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.11684489229345535, 'uniform': 0.011136968085106383, 'top1': 0.14991183354172677, 'top2': 0.11754230882560181, 'top3': 0.11732180427977626}",0.6531419798130339,0.13160857087554498,0.006511332969372438,0.5880473899154907,0.15650009421145017,student,0.293,
7
+ 6,30,7.2,71.4,"[0.28795011474485044, 0.280563902813102, 0.0054258056716156265, 0.0008719495006685415]","[0.3870062594431254, 0.4669729462302163, 0.009022441201141316, 0.0009105291166930196]",67637,24,False,,,,"[0.13025564297709144, 0.8667965482101361, 0.0016914617097016046, 0.0012563471030710067]",mixture,"{'mixture': 0.2837908050450364, 'uniform': 0.034392525491845516, 'top1': 0.28795011474485044, 'top2': 0.2838905935041172, 'top3': 0.2838305958183957}",0.608747389325827,0.17846436977004534,0.01971239731023785,0.41143576121906894,0.06339725733876152,student,0.0,
8
+ 7,30,0.0,15.6,,,,,,,,,,,,0.6909546100135161,0.13761017851695848,0.015077464841051817,,,,,True
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [12:09:17][ 0s][START] target=drosophila-vnc variant=macs-v11-norestart-acq-laplace budget=5.0% seed=2 | {"task": "mitochondria", "target": "drosophila-vnc", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [12:09:17][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [12:09:17][ 0s][DATA] drosophila-vnc: train=686 val=147 test=147 patches
4
+ [12:09:18][ 2s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, lucchi=3.80, multiclass=2.60
5
+ [12:09:19][ 2s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [12:09:20][ 3s][WEIGHTS] mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020 | eff.sources=1.77 | MMD2 mix=0.1975 uniform=0.3743
7
+ [12:09:20][ 3s][WEIGHTS] per-source: fly-mito=0.039, kasthuri=0.943, lucchi=0.014, multiclass=0.004 | min-MMD source (NeuroADDA rule) = kasthuri
8
+ [12:09:26][ 10s][TEACHERS] target-val Dice: fly-mito=0.278, kasthuri=0.183, lucchi=0.058, multiclass=0.017
9
+ [12:09:26][ 10s][TEACHERS] ensemble target-val Dice: mixture=0.187, mixture@raw=0.185, mixture@logit=0.193, per_source=0.184, per_source@raw=0.184, per_source@logit=0.189, uniform=0.070, uniform@raw=0.088, uniform@logit=0.065
10
+ [12:09:26][ 10s][WEIGHTS] using mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020
11
+ [12:09:26][ 10s][INIT] student initialised from teacher kasthuri (weight 0.838)
12
+ [12:09:30][ 13s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [12:09:30][ 13s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [12:09:44][ 27s][KD] soft labels for 686 patches from 4 teachers in 14s
15
+ [12:10:05][ 48s][KD] epoch 1/5 | patches=686 | loss=0.1999 | 21s
16
+ [12:10:25][ 69s][KD] epoch 2/5 | patches=686 | loss=0.1335 | 21s
17
+ [12:10:46][ 89s][KD] epoch 3/5 | patches=686 | loss=0.1266 | 21s
18
+ [12:11:07][ 110s][KD] epoch 4/5 | patches=686 | loss=0.1231 | 21s
19
+ [12:11:28][ 131s][KD] epoch 5/5 | patches=686 | loss=0.1203 | 21s
20
+ [12:11:29][ 132s][ROUND0] before any target label: val_dice=0.2059 val_vi=0.2207
21
+ [12:11:29][ 132s][AL] patches=686 (pool 686 after dropping blank; free blank negatives: True) | budget=34 (5.0%) | rounds=6 | per_round=5 | acquisition=laplace | first_round=stratified
22
+ [12:11:36][ 140s][AL] round-1 uncertainty quality on 686 patches: {'spearman_uncertainty_error': 0.126648544840516, 'auroc_top20_error': 0.6094229345181423}
23
+ [12:11:51][ 154s][AL] round 1: stratified cold start: 3 patches from the membrane-rich half (ensemble prevalence >= 0.047) + 2 from the membrane-poor half of 686 candidates
24
+ [12:11:52][ 155s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.531, uniform=0.067, top1=0.531, top2=0.531, top3=0.531 -> using mixture
25
+ [12:11:52][ 156s][WEIGHTS] round 1: student kept (labeled Dice 0.583 vs best teacher kasthuri 0.531); distilling the corrected ensemble into it
26
+ [12:11:52][ 156s][WEIGHTS] round 1: teacher Dice on 5 labeled patches + 0 blank (19579 fg px): fly-mito=0.363, kasthuri=0.531, lucchi=0.014, multiclass=0.002 | weights: fly-mito=0.025, kasthuri=0.974, lucchi=0.000, multiclass=0.000
27
+ [12:12:06][ 170s][KD] soft labels for 681 patches from 4 teachers in 14s
28
+ [12:12:27][ 190s][KD] epoch 1/2 | patches=681 | loss=0.0886 | 21s
29
+ [12:12:48][ 211s][KD] epoch 2/2 | patches=681 | loss=0.0859 | 21s
30
+ [12:13:02][ 225s][CONS] pseudo-labels for 681 unlabeled patches from the current ensemble in 14s
31
+ [12:13:03][ 226s][FT] round 1/6 epoch 1/5 | patches=5 | loss=0.9031
32
+ [12:13:04][ 227s][FT] round 1/6 epoch 2/5 | patches=5 | loss=0.8632
33
+ [12:13:05][ 228s][FT] round 1/6 epoch 3/5 | patches=5 | loss=0.8447
34
+ [12:13:06][ 229s][FT] round 1/6 epoch 4/5 | patches=5 | loss=0.8470
35
+ [12:13:07][ 230s][FT] round 1/6 epoch 5/5 | patches=5 | loss=0.8177
36
+ [12:13:08][ 232s][AL] round 1/6 | labeled=5 | selection_seconds=22.1000 round_seconds=98.5000 restart_student_dice=0.5832 restart_teacher_dice=0.5310 val_dice=0.1982 val_vi=0.2106 val_ece=0.0303
37
+ [12:13:16][ 239s][AL] round 2: 242/681 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [12:13:18][ 241s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.363, uniform=0.033, top1=0.364, top2=0.363, top3=0.363 -> using mixture
39
+ [12:13:18][ 241s][WEIGHTS] round 2: teacher Dice on 10 labeled patches + 0 blank (46033 fg px): fly-mito=0.334, kasthuri=0.364, lucchi=0.006, multiclass=0.001 | weights: fly-mito=0.094, kasthuri=0.905, lucchi=0.001, multiclass=0.001
40
+ [12:13:19][ 242s][CONS] round 2: on the 5 new patches student Dice=0.153 vs ensemble 0.218 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [12:13:20][ 243s][FT] round 2/6 epoch 1/5 | patches=10 | loss=0.9990
42
+ [12:13:21][ 245s][FT] round 2/6 epoch 2/5 | patches=10 | loss=0.9318
43
+ [12:13:23][ 246s][FT] round 2/6 epoch 3/5 | patches=10 | loss=0.8588
44
+ [12:13:24][ 248s][FT] round 2/6 epoch 4/5 | patches=10 | loss=0.7714
45
+ [12:13:26][ 249s][FT] round 2/6 epoch 5/5 | patches=10 | loss=0.6310
46
+ [12:13:27][ 250s][AL] round 2/6 | labeled=10 | selection_seconds=7.6000 round_seconds=17.6000 pseudo_student_dice=0.1526 pseudo_ensemble_dice=0.2182 consistency_scale=1.0000 val_dice=0.4146 val_vi=0.1946 val_ece=0.0208
47
+ [12:13:35][ 258s][AL] round 3: 141/676 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [12:13:37][ 260s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.242, uniform=0.021, top1=0.334, top2=0.243, top3=0.243 -> using top1
49
+ [12:13:37][ 260s][WEIGHTS] round 3: teacher Dice on 15 labeled patches + 0 blank (71466 fg px): fly-mito=0.334, kasthuri=0.243, lucchi=0.005, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
50
+ [12:13:38][ 261s][CONS] round 3: on the 5 new patches student Dice=0.270 vs ensemble 0.334 -> pseudo-labels from the ensemble | consistency x1.00
51
+ [12:13:39][ 262s][FT] round 3/6 epoch 1/5 | patches=15 | loss=0.9433
52
+ [12:13:41][ 264s][FT] round 3/6 epoch 2/5 | patches=15 | loss=0.8414
53
+ [12:13:42][ 266s][FT] round 3/6 epoch 3/5 | patches=15 | loss=0.6321
54
+ [12:13:44][ 267s][FT] round 3/6 epoch 4/5 | patches=15 | loss=0.5810
55
+ [12:13:45][ 269s][FT] round 3/6 epoch 5/5 | patches=15 | loss=0.5354
56
+ [12:13:47][ 270s][AL] round 3/6 | labeled=15 | selection_seconds=7.6000 round_seconds=18.4000 pseudo_student_dice=0.2699 pseudo_ensemble_dice=0.3335 consistency_scale=1.0000 val_dice=0.5844 val_vi=0.1675 val_ece=0.0049
57
+ [12:13:54][ 277s][AL] round 4: 64/671 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [12:13:56][ 280s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.194, uniform=0.017, top1=0.322, top2=0.194, top3=0.194 -> using top1
59
+ [12:13:56][ 280s][WEIGHTS] round 4: teacher Dice on 20 labeled patches + 0 blank (88303 fg px): fly-mito=0.322, kasthuri=0.195, lucchi=0.006, multiclass=0.000 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
60
+ [12:13:57][ 281s][CONS] round 4: on the 5 new patches student Dice=0.113 vs ensemble 0.276 -> pseudo-labels from the ensemble | consistency x1.00
61
+ [12:13:59][ 283s][FT] round 4/6 epoch 1/5 | patches=20 | loss=0.6223
62
+ [12:14:01][ 285s][FT] round 4/6 epoch 2/5 | patches=20 | loss=0.6012
63
+ [12:14:03][ 286s][FT] round 4/6 epoch 3/5 | patches=20 | loss=0.5775
64
+ [12:14:05][ 288s][FT] round 4/6 epoch 4/5 | patches=20 | loss=0.5477
65
+ [12:14:07][ 290s][FT] round 4/6 epoch 5/5 | patches=20 | loss=0.5058
66
+ [12:14:08][ 292s][AL] round 4/6 | labeled=20 | selection_seconds=7.5000 round_seconds=20.7000 pseudo_student_dice=0.1127 pseudo_ensemble_dice=0.2760 consistency_scale=1.0000 val_dice=0.6994 val_vi=0.1209 val_ece=0.0073
67
+ [12:14:16][ 299s][AL] round 5: 133/666 candidates skipped as agreed-empty (predicted prevalence < 0.005)
68
+ [12:14:19][ 302s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.182, uniform=0.023, top1=0.284, top2=0.182, top3=0.182 -> using top1
69
+ [12:14:19][ 302s][WEIGHTS] round 5: teacher Dice on 25 labeled patches + 0 blank (100786 fg px): fly-mito=0.284, kasthuri=0.184, lucchi=0.018, multiclass=0.000 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
70
+ [12:14:23][ 306s][CONS] round 5: on the 5 new patches student Dice=0.494 vs ensemble 0.137 -> pseudo-labels from the student | consistency x0.00
71
+ [12:14:24][ 308s][FT] round 5/6 epoch 1/5 | patches=25 | loss=0.4278
72
+ [12:14:25][ 309s][FT] round 5/6 epoch 2/5 | patches=25 | loss=0.3891
73
+ [12:14:27][ 310s][FT] round 5/6 epoch 3/5 | patches=25 | loss=0.3514
74
+ [12:14:28][ 311s][FT] round 5/6 epoch 4/5 | patches=25 | loss=0.3588
75
+ [12:14:29][ 312s][FT] round 5/6 epoch 5/5 | patches=25 | loss=0.3080
76
+ [12:14:30][ 313s][AL] round 5/6 | labeled=25 | selection_seconds=7.4000 round_seconds=20.5000 pseudo_student_dice=0.4939 pseudo_ensemble_dice=0.1373 consistency_scale=0.0000 val_dice=0.6982 val_vi=0.1222 val_ece=0.0099
77
+ [12:14:37][ 321s][AL] round 6: 123/661 candidates skipped as agreed-empty (predicted prevalence < 0.005)
78
+ [12:15:07][ 350s][WEIGHTS] round 6: teacher agreement with the student on 656 unlabeled patches: fly-mito=0.359, kasthuri=0.416, lucchi=0.011, multiclass=0.001 | blended with labeled Dice at 0.50
79
+ [12:15:32][ 376s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.306, uniform=0.035, top1=0.317, top2=0.306, top3=0.306 -> using top1
80
+ [12:15:32][ 376s][WEIGHTS] round 6: teacher Dice on 30 labeled patches + 0 blank (109183 fg px): fly-mito=0.317, kasthuri=0.306, lucchi=0.014, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
81
+ [12:15:37][ 380s][CONS] round 6: on the 5 new patches student Dice=0.583 vs ensemble 0.190 -> pseudo-labels from the student | consistency x0.28
82
+ [12:15:40][ 383s][FT] round 6/6 epoch 1/5 | patches=30 | loss=0.3750
83
+ [12:15:42][ 385s][FT] round 6/6 epoch 2/5 | patches=30 | loss=0.3679
84
+ [12:15:45][ 388s][FT] round 6/6 epoch 3/5 | patches=30 | loss=0.3280
85
+ [12:15:47][ 390s][FT] round 6/6 epoch 4/5 | patches=30 | loss=0.3097
86
+ [12:15:50][ 393s][FT] round 6/6 epoch 5/5 | patches=30 | loss=0.3035
87
+ [12:15:51][ 394s][AL] round 6/6 | labeled=30 | selection_seconds=7.4000 round_seconds=79.7000 pseudo_student_dice=0.5830 pseudo_ensemble_dice=0.1899 consistency_scale=0.2770 val_dice=0.7796 val_vi=0.1032 val_ece=0.0075
88
+ [12:15:54][ 398s][CONS] final consolidation: pseudo-labels refreshed from the student
89
+ [12:15:57][ 400s][FT] final 1/10 epoch 1/1 | patches=30 | loss=0.3236
90
+ [12:15:59][ 403s][FT] final 2/10 epoch 1/1 | patches=30 | loss=0.2798
91
+ [12:16:02][ 405s][FT] final 3/10 epoch 1/1 | patches=30 | loss=0.2968
92
+ [12:16:04][ 408s][FT] final 4/10 epoch 1/1 | patches=30 | loss=0.2693
93
+ [12:16:07][ 410s][FT] final 5/10 epoch 1/1 | patches=30 | loss=0.2312
94
+ [12:16:10][ 413s][FT] final 6/10 epoch 1/1 | patches=30 | loss=0.2003
95
+ [12:16:12][ 415s][FT] final 7/10 epoch 1/1 | patches=30 | loss=0.2203
96
+ [12:16:15][ 418s][FT] final 8/10 epoch 1/1 | patches=30 | loss=0.1931
97
+ [12:16:17][ 420s][FT] final 9/10 epoch 1/1 | patches=30 | loss=0.2420
98
+ [12:16:20][ 423s][FT] final 10/10 epoch 1/1 | patches=30 | loss=0.1780
99
+ [12:16:21][ 424s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=28.9000 val_dice=0.7771 val_vi=0.0989 val_ece=0.0088
100
+ [12:16:21][ 424s][WEIGHTS] final: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
101
+ [12:16:28][ 431s][TEST] raw student (no EMA, no TTA): patch_dice=0.8138 patch_vi=0.1142
102
+ [12:16:29][ 433s][TEST] final model without TTA: patch_dice=0.8138 patch_vi=0.1142
103
+ [12:16:29][ 433s][RESOURCES] {"phases": {"setup": {"seconds": 0.75, "peak_cpu_rss_mb": 2191.5, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 11.38, "peak_cpu_rss_mb": 4114.7, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 117.78, "peak_cpu_rss_mb": 4292.5, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4168.0, "kd_epochs": 5}, "active_learning": {"seconds": 292.01, "peak_cpu_rss_mb": 4424.3, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4178.0, "rounds": 6}, "inference": {"seconds": 8.63, "peak_cpu_rss_mb": 4424.3, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4178.0, "patches": 147, "images": 3, "patches_per_second": 17.0, "seconds_per_image": 2.877}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 4424.3, "total_seconds": 430.6}
104
+ [12:16:29][ 433s][TEST] patch_dice=0.8323 patch_iou=0.7579 patch_precision=0.8281 patch_recall=0.9090 patch_vi=0.1053 image_dice=0.8863 image_iou=0.7972 image_precision=0.8331 image_recall=0.9485 image_vi=0.1257 cal_ece=0.0064 cal_nll=0.0393 cal_brier=0.0111 cal_mean_confidence=0.9915 cal_accuracy=0.9852 cal_predicted_prevalence=0.0663 cal_true_prevalence=0.0594 cal_mean_probability=0.0664
105
+ [12:16:30][ 433s][DONE] drosophila-vnc macs-v11-norestart-acq-laplace b5 s2 | test patch Dice=0.8323 VI=0.1053 | image Dice=0.8863 VI=0.1257 | 433s
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,652 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "drosophila-vnc",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "drosophila-vnc",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "laplace",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "drosophila-vnc",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "aecf380",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "kasthuri-pp",
147
+ "lucchi-pp",
148
+ "multiclass"
149
+ ],
150
+ "alphas": [
151
+ 0.11690492516893997,
152
+ 0.8375897330633602,
153
+ 0.0256027087898516,
154
+ 0.019902632977848233
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "lucchi-pp",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.11690492516893997,
165
+ 0.8375897330633602,
166
+ 0.0256027087898516,
167
+ 0.019902632977848233
168
+ ],
169
+ "per_source": [
170
+ 0.038599207620062845,
171
+ 0.9432861284385984,
172
+ 0.013712296406123614,
173
+ 0.0044023675352152245
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.1917820351790263,
183
+ "mmd2_mixture": 0.19749363071106324,
184
+ "mmd2_uniform": 0.3743489659922599,
185
+ "mmd2_single_source": [
186
+ 0.7042977370508033,
187
+ 0.20706860465273969,
188
+ 0.6307956892595754,
189
+ 0.6534362949819378
190
+ ],
191
+ "median_squared_distance": 0.19645890982127545,
192
+ "gammas": [
193
+ 1.272530730356961,
194
+ 2.545061460713922,
195
+ 5.090122921427844,
196
+ 10.180245842855689,
197
+ 20.360491685711377
198
+ ],
199
+ "max_weight": 0.8375897330633602,
200
+ "entropy": 0.5711595532036933,
201
+ "effective_sources": 1.7703186403916105,
202
+ "min_weight": 0.019902632977848233
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.605076346545893,
207
+ 0.31101778520145595,
208
+ 0.7002952057460718,
209
+ 0.8048259839560096
210
+ ],
211
+ "standardized": [
212
+ -0.0012362667606482206,
213
+ -1.5993052227157551,
214
+ 0.5162331182950395,
215
+ 1.0843083711813646
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9432861284385984,
219
+ "entropy": 0.26340029394025066,
220
+ "effective_sources": 1.301347536237684,
221
+ "min_weight": 0.0044023675352152245
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "kasthuri-pp",
226
+ "seconds": 1.4
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.27840715557699913,
231
+ 0.18341499813983803,
232
+ 0.0577032083417681,
233
+ 0.01681466600081078
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.18652277313599772,
237
+ "mixture@raw": 0.18548230728775292,
238
+ "mixture@logit": 0.19296074616265912,
239
+ "per_source": 0.18415443581907806,
240
+ "per_source@raw": 0.1835051571090219,
241
+ "per_source@logit": 0.18905485087217583,
242
+ "uniform": 0.0696943056822927,
243
+ "uniform@raw": 0.08847159266818436,
244
+ "uniform@logit": 0.06549734203813108
245
+ },
246
+ "val_patches": 147
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 2.5090832710266113,
251
+ 3.80090069770813,
252
+ 2.597146987915039
253
+ ],
254
+ "top_source": "kasthuri-pp",
255
+ "weight_stats": {
256
+ "max_weight": 0.8375897330633602,
257
+ "entropy": 0.5711595532036933,
258
+ "effective_sources": 1.7703186403916105,
259
+ "min_weight": 0.019902632977848233
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.7999999999999999,
263
+ "spearman_weight_taxonomy": -0.21081851067789195,
264
+ "top_source": "kasthuri-pp",
265
+ "top_source_is_best_teacher": false
266
+ },
267
+ "init_teacher": "kasthuri-pp",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.0,
270
+ "kd_seconds": 117.8,
271
+ "round0_val": {
272
+ "val_dice": 0.2058871697531777,
273
+ "val_vi": 0.22072946276036065,
274
+ "val_ece": 0.019761043084348236
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 5,
280
+ "selection_seconds": 22.1,
281
+ "round_seconds": 98.5,
282
+ "teacher_dice_labeled": [
283
+ 0.36295908671523197,
284
+ 0.5310285360135809,
285
+ 0.013736820762368207,
286
+ 0.0019869574077847974
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 19579,
290
+ "evidence_nonempty_patches": 5,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.5831796951819076,
294
+ "restart_teacher_dice": 0.5310285360135809,
295
+ "weights": [
296
+ 0.025328879887354556,
297
+ 0.9743856190601974,
298
+ 0.00016881695486452877,
299
+ 0.0001166840975834896
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.531149750640248,
304
+ "uniform": 0.0667619235317304,
305
+ "top1": 0.5310285360135809,
306
+ "top2": 0.5311354323916325,
307
+ "top3": 0.5311354323916325
308
+ },
309
+ "val_dice": 0.19819172565480536,
310
+ "val_vi": 0.21059685476621876,
311
+ "val_ece": 0.030250068283869655
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 10,
316
+ "selection_seconds": 7.6,
317
+ "round_seconds": 17.6,
318
+ "teacher_dice_labeled": [
319
+ 0.3342600608199596,
320
+ 0.36433835993119296,
321
+ 0.0058655469460196525,
322
+ 0.0008455101244417466
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 46033,
326
+ "evidence_nonempty_patches": 10,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 0.09351739812091488,
331
+ 0.9051474776121796,
332
+ 0.0007676199810288104,
333
+ 0.0005675042858766415
334
+ ],
335
+ "ensemble_choice": "mixture",
336
+ "candidate_dice": {
337
+ "mixture": 0.36326152072288853,
338
+ "uniform": 0.032810331945778634,
339
+ "top1": 0.36433835993119296,
340
+ "top2": 0.3632638740962572,
341
+ "top3": 0.3632524156254308
342
+ },
343
+ "pseudo_student_dice": 0.15260812899705997,
344
+ "pseudo_ensemble_dice": 0.21822732695501648,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.41463101296538946,
348
+ "val_vi": 0.19460083461243838,
349
+ "val_ece": 0.020840921132885007
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 15,
354
+ "selection_seconds": 7.6,
355
+ "round_seconds": 18.4,
356
+ "teacher_dice_labeled": [
357
+ 0.3339991879232587,
358
+ 0.24314318156375442,
359
+ 0.005117478909572614,
360
+ 0.0005446547028838769
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 71466,
364
+ "evidence_nonempty_patches": 14,
365
+ "first_correction": false,
366
+ "restart": "",
367
+ "weights": [
368
+ 1.0,
369
+ 0.0,
370
+ 0.0,
371
+ 0.0
372
+ ],
373
+ "ensemble_choice": "top1",
374
+ "candidate_dice": {
375
+ "mixture": 0.2424702747842685,
376
+ "uniform": 0.021214923601429972,
377
+ "top1": 0.3339991879232587,
378
+ "top2": 0.24252174949350494,
379
+ "top3": 0.2425010931351115
380
+ },
381
+ "pseudo_student_dice": 0.2699233539569674,
382
+ "pseudo_ensemble_dice": 0.3335354950696935,
383
+ "pseudo_source": "ensemble",
384
+ "consistency_scale": 1.0,
385
+ "val_dice": 0.5843989124516004,
386
+ "val_vi": 0.16750684661110102,
387
+ "val_ece": 0.004899511730954534
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 20,
392
+ "selection_seconds": 7.5,
393
+ "round_seconds": 20.7,
394
+ "teacher_dice_labeled": [
395
+ 0.32164944334569073,
396
+ 0.19456246320800594,
397
+ 0.006338947937308593,
398
+ 0.000440294884676609
399
+ ],
400
+ "teacher_dice_pool": null,
401
+ "evidence_fg_pixels": 88303,
402
+ "evidence_nonempty_patches": 18,
403
+ "first_correction": false,
404
+ "restart": "",
405
+ "weights": [
406
+ 1.0,
407
+ 0.0,
408
+ 0.0,
409
+ 0.0
410
+ ],
411
+ "ensemble_choice": "top1",
412
+ "candidate_dice": {
413
+ "mixture": 0.19353505028082205,
414
+ "uniform": 0.017062989853238304,
415
+ "top1": 0.32164944334569073,
416
+ "top2": 0.19381819105561976,
417
+ "top3": 0.19362159275834012
418
+ },
419
+ "pseudo_student_dice": 0.11274676329596497,
420
+ "pseudo_ensemble_dice": 0.2759716745795445,
421
+ "pseudo_source": "ensemble",
422
+ "consistency_scale": 1.0,
423
+ "val_dice": 0.6993540102840254,
424
+ "val_vi": 0.12093193704679728,
425
+ "val_ece": 0.007255122349904359
426
+ },
427
+ {
428
+ "round": 5,
429
+ "n_labeled": 25,
430
+ "selection_seconds": 7.4,
431
+ "round_seconds": 20.5,
432
+ "teacher_dice_labeled": [
433
+ 0.28431461799312685,
434
+ 0.1835229273015314,
435
+ 0.0176183379740382,
436
+ 0.00038568800806977984
437
+ ],
438
+ "teacher_dice_pool": null,
439
+ "evidence_fg_pixels": 100786,
440
+ "evidence_nonempty_patches": 23,
441
+ "first_correction": false,
442
+ "restart": "",
443
+ "weights": [
444
+ 1.0,
445
+ 0.0,
446
+ 0.0,
447
+ 0.0
448
+ ],
449
+ "ensemble_choice": "top1",
450
+ "candidate_dice": {
451
+ "mixture": 0.18152320914405376,
452
+ "uniform": 0.023056570492629457,
453
+ "top1": 0.28431461799312685,
454
+ "top2": 0.1816722357064336,
455
+ "top3": 0.18160171744910858
456
+ },
457
+ "pseudo_student_dice": 0.49388154674498286,
458
+ "pseudo_ensemble_dice": 0.13730756264748847,
459
+ "pseudo_source": "student",
460
+ "consistency_scale": 0.0,
461
+ "val_dice": 0.6982076177663978,
462
+ "val_vi": 0.12219064496731252,
463
+ "val_ece": 0.009867805570635917
464
+ },
465
+ {
466
+ "round": 6,
467
+ "n_labeled": 30,
468
+ "selection_seconds": 7.4,
469
+ "round_seconds": 79.7,
470
+ "teacher_dice_labeled": [
471
+ 0.31740826893484075,
472
+ 0.30628203034957413,
473
+ 0.013855732783164331,
474
+ 0.0007705463176043627
475
+ ],
476
+ "teacher_dice_pool": [
477
+ 0.358785858335439,
478
+ 0.4158121410750507,
479
+ 0.011455642146002096,
480
+ 0.0011850973087883954
481
+ ],
482
+ "evidence_fg_pixels": 109183,
483
+ "evidence_nonempty_patches": 27,
484
+ "first_correction": false,
485
+ "restart": "",
486
+ "weights": [
487
+ 1.0,
488
+ 0.0,
489
+ 0.0,
490
+ 0.0
491
+ ],
492
+ "ensemble_choice": "top1",
493
+ "candidate_dice": {
494
+ "mixture": 0.3063970994102441,
495
+ "uniform": 0.03496920739101875,
496
+ "top1": 0.31740826893484075,
497
+ "top2": 0.30644533343595115,
498
+ "top3": 0.3064190484860375
499
+ },
500
+ "pseudo_student_dice": 0.5830105146651909,
501
+ "pseudo_ensemble_dice": 0.18987521606326807,
502
+ "pseudo_source": "student",
503
+ "consistency_scale": 0.277,
504
+ "val_dice": 0.7795886737738887,
505
+ "val_vi": 0.10321806923354346,
506
+ "val_ece": 0.007524647510925679
507
+ },
508
+ {
509
+ "round": 7,
510
+ "n_labeled": 30,
511
+ "selection_seconds": 0.0,
512
+ "round_seconds": 28.9,
513
+ "final_consolidation": true,
514
+ "val_dice": 0.7771382821975249,
515
+ "val_vi": 0.09893786775402841,
516
+ "val_ece": 0.008758624116729442
517
+ }
518
+ ],
519
+ "uncertainty_quality": {
520
+ "spearman_uncertainty_error": 0.126648544840516,
521
+ "auroc_top20_error": 0.6094229345181423
522
+ },
523
+ "al_seconds": 292.0,
524
+ "source_archs": [
525
+ "unet",
526
+ "unet",
527
+ "unet",
528
+ "unet"
529
+ ],
530
+ "alphas_final": [
531
+ 1.0,
532
+ 0.0,
533
+ 0.0,
534
+ 0.0
535
+ ],
536
+ "weight_stats_final": {
537
+ "max_weight": 1.0,
538
+ "entropy": -0.0,
539
+ "effective_sources": 1.0,
540
+ "min_weight": 0.0
541
+ },
542
+ "top_source_final": "fly-brain-mito-benchmark",
543
+ "ensemble_choice_final": "",
544
+ "restart": "kept",
545
+ "test_raw_student": {
546
+ "patch_dice": 0.8138396684227535,
547
+ "patch_iou": 0.7341542006754566,
548
+ "patch_precision": 0.8001245475759902,
549
+ "patch_recall": 0.9119421120838823,
550
+ "patch_vi": 0.11419680921494532,
551
+ "n_patches": 147,
552
+ "cal_ece": 0.011223098567597907,
553
+ "cal_nll": 0.05504557527311981,
554
+ "cal_brier": 0.013421014793791255,
555
+ "cal_mean_confidence": 0.9949232920450249,
556
+ "cal_accuracy": 0.9837239583333334,
557
+ "cal_predicted_prevalence": 0.06801392431972789,
558
+ "cal_true_prevalence": 0.05939094387755102,
559
+ "cal_mean_probability": 0.06709936536024964
560
+ },
561
+ "test_notta": {
562
+ "patch_dice": 0.8138396684227535,
563
+ "patch_iou": 0.7341542006754566,
564
+ "patch_precision": 0.8001245475759902,
565
+ "patch_recall": 0.9119421120838823,
566
+ "patch_vi": 0.11419680921494532,
567
+ "n_patches": 147,
568
+ "cal_ece": 0.011223098567597907,
569
+ "cal_nll": 0.05504557527311981,
570
+ "cal_brier": 0.013421014793791255,
571
+ "cal_mean_confidence": 0.9949232920450249,
572
+ "cal_accuracy": 0.9837239583333334,
573
+ "cal_predicted_prevalence": 0.06801392431972789,
574
+ "cal_true_prevalence": 0.05939094387755102,
575
+ "cal_mean_probability": 0.06709936536024964
576
+ },
577
+ "test": {
578
+ "patch_dice": 0.8322875309966076,
579
+ "patch_iou": 0.7578700879195538,
580
+ "patch_precision": 0.8280970395677735,
581
+ "patch_recall": 0.9090226856163043,
582
+ "patch_vi": 0.10528060887477136,
583
+ "n_patches": 147,
584
+ "image_dice": 0.8862696494450427,
585
+ "image_iou": 0.7971637240024779,
586
+ "image_precision": 0.8330888536136852,
587
+ "image_recall": 0.9484565471613607,
588
+ "image_vi": 0.125726327245971,
589
+ "n_images": 3,
590
+ "cal_ece": 0.0064357235725075925,
591
+ "cal_nll": 0.03925682527344598,
592
+ "cal_brier": 0.011056755049628232,
593
+ "cal_mean_confidence": 0.9915352959508038,
594
+ "cal_accuracy": 0.9852452699829932,
595
+ "cal_predicted_prevalence": 0.06629331420068027,
596
+ "cal_true_prevalence": 0.05939094387755102,
597
+ "cal_mean_probability": 0.06635219970296335
598
+ },
599
+ "eval_seconds": 8.6,
600
+ "total_seconds": 432.6,
601
+ "resources": {
602
+ "phases": {
603
+ "setup": {
604
+ "seconds": 0.75,
605
+ "peak_cpu_rss_mb": 2191.5,
606
+ "peak_gpu_alloc_mb": 592.4,
607
+ "peak_gpu_reserved_mb": 594.0
608
+ },
609
+ "features_and_weights": {
610
+ "seconds": 11.38,
611
+ "peak_cpu_rss_mb": 4114.7,
612
+ "peak_gpu_alloc_mb": 2298.2,
613
+ "peak_gpu_reserved_mb": 2640.0
614
+ },
615
+ "distillation": {
616
+ "seconds": 117.78,
617
+ "peak_cpu_rss_mb": 4292.5,
618
+ "peak_gpu_alloc_mb": 3826.7,
619
+ "peak_gpu_reserved_mb": 4168.0,
620
+ "kd_epochs": 5
621
+ },
622
+ "active_learning": {
623
+ "seconds": 292.01,
624
+ "peak_cpu_rss_mb": 4424.3,
625
+ "peak_gpu_alloc_mb": 3947.0,
626
+ "peak_gpu_reserved_mb": 4178.0,
627
+ "rounds": 6
628
+ },
629
+ "inference": {
630
+ "seconds": 8.63,
631
+ "peak_cpu_rss_mb": 4424.3,
632
+ "peak_gpu_alloc_mb": 2149.5,
633
+ "peak_gpu_reserved_mb": 4178.0,
634
+ "patches": 147,
635
+ "images": 3,
636
+ "patches_per_second": 17.0,
637
+ "seconds_per_image": 2.877
638
+ }
639
+ },
640
+ "peak_gpu_alloc_mb": 3947.0,
641
+ "peak_cpu_rss_mb": 4424.3,
642
+ "total_seconds": 430.6
643
+ },
644
+ "student_parameters": 31042369,
645
+ "teacher_parameters": [
646
+ 31042369,
647
+ 31042369,
648
+ 31042369,
649
+ 31042369
650
+ ],
651
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/drosophila-vnc/macs-v11-norestart-acq-laplace_b5_s2.pth"
652
+ }
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,5,22.1,98.5,"[0.36295908671523197, 0.5310285360135809, 0.013736820762368207, 0.0019869574077847974]",,19579,5,True,kept,0.5831796951819076,0.5310285360135809,"[0.025328879887354556, 0.9743856190601974, 0.00016881695486452877, 0.0001166840975834896]",mixture,"{'mixture': 0.531149750640248, 'uniform': 0.0667619235317304, 'top1': 0.5310285360135809, 'top2': 0.5311354323916325, 'top3': 0.5311354323916325}",0.19819172565480536,0.21059685476621876,0.030250068283869655,,,,,
3
+ 2,10,7.6,17.6,"[0.3342600608199596, 0.36433835993119296, 0.0058655469460196525, 0.0008455101244417466]",,46033,10,False,,,,"[0.09351739812091488, 0.9051474776121796, 0.0007676199810288104, 0.0005675042858766415]",mixture,"{'mixture': 0.36326152072288853, 'uniform': 0.032810331945778634, 'top1': 0.36433835993119296, 'top2': 0.3632638740962572, 'top3': 0.3632524156254308}",0.41463101296538946,0.19460083461243838,0.020840921132885007,0.15260812899705997,0.21822732695501648,ensemble,1.0,
4
+ 3,15,7.6,18.4,"[0.3339991879232587, 0.24314318156375442, 0.005117478909572614, 0.0005446547028838769]",,71466,14,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.2424702747842685, 'uniform': 0.021214923601429972, 'top1': 0.3339991879232587, 'top2': 0.24252174949350494, 'top3': 0.2425010931351115}",0.5843989124516004,0.16750684661110102,0.004899511730954534,0.2699233539569674,0.3335354950696935,ensemble,1.0,
5
+ 4,20,7.5,20.7,"[0.32164944334569073, 0.19456246320800594, 0.006338947937308593, 0.000440294884676609]",,88303,18,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.19353505028082205, 'uniform': 0.017062989853238304, 'top1': 0.32164944334569073, 'top2': 0.19381819105561976, 'top3': 0.19362159275834012}",0.6993540102840254,0.12093193704679728,0.007255122349904359,0.11274676329596497,0.2759716745795445,ensemble,1.0,
6
+ 5,25,7.4,20.5,"[0.28431461799312685, 0.1835229273015314, 0.0176183379740382, 0.00038568800806977984]",,100786,23,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.18152320914405376, 'uniform': 0.023056570492629457, 'top1': 0.28431461799312685, 'top2': 0.1816722357064336, 'top3': 0.18160171744910858}",0.6982076177663978,0.12219064496731252,0.009867805570635917,0.49388154674498286,0.13730756264748847,student,0.0,
7
+ 6,30,7.4,79.7,"[0.31740826893484075, 0.30628203034957413, 0.013855732783164331, 0.0007705463176043627]","[0.358785858335439, 0.4158121410750507, 0.011455642146002096, 0.0011850973087883954]",109183,27,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.3063970994102441, 'uniform': 0.03496920739101875, 'top1': 0.31740826893484075, 'top2': 0.30644533343595115, 'top3': 0.3064190484860375}",0.7795886737738887,0.10321806923354346,0.007524647510925679,0.5830105146651909,0.18987521606326807,student,0.277,
8
+ 7,30,0.0,28.9,,,,,,,,,,,,0.7771382821975249,0.09893786775402841,0.008758624116729442,,,,,True
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [13:30:41][ 0s][START] target=drosophila-vnc variant=macs-v11-norestart-acq-margin budget=5.0% seed=2 | {"task": "mitochondria", "target": "drosophila-vnc", "variant": "macs-v11-norestart-acq-margin", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "margin", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [13:30:41][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [13:30:41][ 0s][DATA] drosophila-vnc: train=686 val=147 test=147 patches
4
+ [13:30:42][ 2s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, lucchi=3.80, multiclass=2.60
5
+ [13:30:42][ 2s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [13:30:44][ 3s][WEIGHTS] mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020 | eff.sources=1.77 | MMD2 mix=0.1975 uniform=0.3743
7
+ [13:30:44][ 3s][WEIGHTS] per-source: fly-mito=0.039, kasthuri=0.943, lucchi=0.014, multiclass=0.004 | min-MMD source (NeuroADDA rule) = kasthuri
8
+ [13:30:50][ 10s][TEACHERS] target-val Dice: fly-mito=0.278, kasthuri=0.183, lucchi=0.058, multiclass=0.017
9
+ [13:30:50][ 10s][TEACHERS] ensemble target-val Dice: mixture=0.187, mixture@raw=0.185, mixture@logit=0.193, per_source=0.184, per_source@raw=0.184, per_source@logit=0.189, uniform=0.070, uniform@raw=0.088, uniform@logit=0.065
10
+ [13:30:50][ 10s][WEIGHTS] using mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020
11
+ [13:30:50][ 10s][INIT] student initialised from teacher kasthuri (weight 0.838)
12
+ [13:30:53][ 13s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [13:30:53][ 13s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [13:31:08][ 27s][KD] soft labels for 686 patches from 4 teachers in 14s
15
+ [13:31:28][ 48s][KD] epoch 1/5 | patches=686 | loss=0.1999 | 21s
16
+ [13:31:49][ 68s][KD] epoch 2/5 | patches=686 | loss=0.1335 | 21s
17
+ [13:32:10][ 89s][KD] epoch 3/5 | patches=686 | loss=0.1266 | 21s
18
+ [13:32:30][ 110s][KD] epoch 4/5 | patches=686 | loss=0.1231 | 21s
19
+ [13:32:51][ 131s][KD] epoch 5/5 | patches=686 | loss=0.1203 | 21s
20
+ [13:32:52][ 132s][ROUND0] before any target label: val_dice=0.2058 val_vi=0.2207
21
+ [13:32:52][ 132s][AL] patches=686 (pool 686 after dropping blank; free blank negatives: True) | budget=34 (5.0%) | rounds=6 | per_round=5 | acquisition=margin | first_round=stratified
22
+ [13:32:56][ 136s][AL] round-1 uncertainty quality on 686 patches: {'spearman_uncertainty_error': 0.07993511898383816, 'auroc_top20_error': 0.5728207976303819}
23
+ [13:33:11][ 150s][AL] round 1: stratified cold start: 3 patches from the membrane-rich half (ensemble prevalence >= 0.047) + 2 from the membrane-poor half of 686 candidates
24
+ [13:33:12][ 151s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.531, uniform=0.067, top1=0.531, top2=0.531, top3=0.531 -> using mixture
25
+ [13:33:12][ 151s][WEIGHTS] round 1: student kept (labeled Dice 0.583 vs best teacher kasthuri 0.531); distilling the corrected ensemble into it
26
+ [13:33:12][ 151s][WEIGHTS] round 1: teacher Dice on 5 labeled patches + 0 blank (19579 fg px): fly-mito=0.363, kasthuri=0.531, lucchi=0.014, multiclass=0.002 | weights: fly-mito=0.025, kasthuri=0.974, lucchi=0.000, multiclass=0.000
27
+ [13:33:26][ 166s][KD] soft labels for 681 patches from 4 teachers in 14s
28
+ [13:33:47][ 186s][KD] epoch 1/2 | patches=681 | loss=0.0885 | 21s
29
+ [13:34:08][ 207s][KD] epoch 2/2 | patches=681 | loss=0.0859 | 21s
30
+ [13:34:22][ 221s][CONS] pseudo-labels for 681 unlabeled patches from the current ensemble in 14s
31
+ [13:34:23][ 222s][FT] round 1/6 epoch 1/5 | patches=5 | loss=0.9208
32
+ [13:34:24][ 223s][FT] round 1/6 epoch 2/5 | patches=5 | loss=0.8768
33
+ [13:34:25][ 224s][FT] round 1/6 epoch 3/5 | patches=5 | loss=0.8140
34
+ [13:34:26][ 225s][FT] round 1/6 epoch 4/5 | patches=5 | loss=0.8660
35
+ [13:34:27][ 227s][FT] round 1/6 epoch 5/5 | patches=5 | loss=0.7604
36
+ [13:34:28][ 228s][AL] round 1/6 | labeled=5 | selection_seconds=18.3000 round_seconds=94.9000 restart_student_dice=0.5832 restart_teacher_dice=0.5310 val_dice=0.2276 val_vi=0.2140 val_ece=0.0322
37
+ [13:34:32][ 231s][AL] round 2: 210/681 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [13:34:34][ 233s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.293, uniform=0.025, top1=0.384, top2=0.293, top3=0.293 -> using top1
39
+ [13:34:34][ 233s][WEIGHTS] round 2: teacher Dice on 10 labeled patches + 0 blank (56186 fg px): fly-mito=0.384, kasthuri=0.287, lucchi=0.007, multiclass=0.002 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
40
+ [13:34:35][ 234s][CONS] round 2: on the 5 new patches student Dice=0.097 vs ensemble 0.398 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [13:34:36][ 236s][FT] round 2/6 epoch 1/5 | patches=10 | loss=1.1322
42
+ [13:34:38][ 237s][FT] round 2/6 epoch 2/5 | patches=10 | loss=1.0126
43
+ [13:34:39][ 239s][FT] round 2/6 epoch 3/5 | patches=10 | loss=0.9161
44
+ [13:34:41][ 240s][FT] round 2/6 epoch 4/5 | patches=10 | loss=0.8452
45
+ [13:34:42][ 241s][FT] round 2/6 epoch 5/5 | patches=10 | loss=0.8654
46
+ [13:34:43][ 243s][AL] round 2/6 | labeled=10 | selection_seconds=3.9000 round_seconds=13.8000 pseudo_student_dice=0.0965 pseudo_ensemble_dice=0.3979 consistency_scale=1.0000 val_dice=0.4151 val_vi=0.1911 val_ece=0.0070
47
+ [13:34:47][ 246s][AL] round 3: 147/676 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [13:34:49][ 248s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.263, uniform=0.022, top1=0.307, top2=0.263, top3=0.263 -> using top1
49
+ [13:34:49][ 248s][WEIGHTS] round 3: teacher Dice on 15 labeled patches + 0 blank (65212 fg px): fly-mito=0.307, kasthuri=0.261, lucchi=0.014, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
50
+ [13:34:54][ 253s][CONS] round 3: on the 5 new patches student Dice=0.400 vs ensemble 0.128 -> pseudo-labels from the student | consistency x0.00
51
+ [13:34:54][ 254s][FT] round 3/6 epoch 1/5 | patches=15 | loss=0.8282
52
+ [13:34:55][ 255s][FT] round 3/6 epoch 2/5 | patches=15 | loss=0.6492
53
+ [13:34:56][ 255s][FT] round 3/6 epoch 3/5 | patches=15 | loss=0.5065
54
+ [13:34:57][ 256s][FT] round 3/6 epoch 4/5 | patches=15 | loss=0.5487
55
+ [13:34:58][ 257s][FT] round 3/6 epoch 5/5 | patches=15 | loss=0.5168
56
+ [13:34:59][ 258s][AL] round 3/6 | labeled=15 | selection_seconds=3.9000 round_seconds=14.6000 pseudo_student_dice=0.3998 pseudo_ensemble_dice=0.1283 consistency_scale=0.0000 val_dice=0.5541 val_vi=0.1877 val_ece=0.0034
57
+ [13:35:03][ 262s][AL] round 4: 43/671 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [13:35:32][ 291s][WEIGHTS] round 4: teacher agreement with the student on 666 unlabeled patches: fly-mito=0.377, kasthuri=0.417, lucchi=0.009, multiclass=0.002 | blended with labeled Dice at 0.50
59
+ [13:35:58][ 317s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.325, uniform=0.031, top1=0.328, top2=0.326, top3=0.325 -> using mixture
60
+ [13:35:58][ 317s][WEIGHTS] round 4: teacher Dice on 20 labeled patches + 0 blank (71602 fg px): fly-mito=0.328, kasthuri=0.325, lucchi=0.011, multiclass=0.002 | weights: fly-mito=0.126, kasthuri=0.872, lucchi=0.001, multiclass=0.001
61
+ [13:36:03][ 322s][CONS] round 4: on the 5 new patches student Dice=0.338 vs ensemble 0.000 -> pseudo-labels from the student | consistency x0.00
62
+ [13:36:04][ 323s][FT] round 4/6 epoch 1/5 | patches=20 | loss=0.5445
63
+ [13:36:05][ 324s][FT] round 4/6 epoch 2/5 | patches=20 | loss=0.5171
64
+ [13:36:06][ 325s][FT] round 4/6 epoch 3/5 | patches=20 | loss=0.4741
65
+ [13:36:06][ 326s][FT] round 4/6 epoch 4/5 | patches=20 | loss=0.4724
66
+ [13:36:07][ 327s][FT] round 4/6 epoch 5/5 | patches=20 | loss=0.4460
67
+ [13:36:09][ 328s][AL] round 4/6 | labeled=20 | selection_seconds=3.9000 round_seconds=68.6000 pseudo_student_dice=0.3375 pseudo_ensemble_dice=0.0001 consistency_scale=0.0000 val_dice=0.7049 val_vi=0.1246 val_ece=0.0086
68
+ [13:36:12][ 332s][AL] round 5: 136/666 candidates skipped as agreed-empty (predicted prevalence < 0.005)
69
+ [13:36:42][ 361s][WEIGHTS] round 5: teacher agreement with the student on 661 unlabeled patches: fly-mito=0.343, kasthuri=0.434, lucchi=0.010, multiclass=0.001 | blended with labeled Dice at 0.50
70
+ [13:37:08][ 387s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.312, uniform=0.035, top1=0.312, top2=0.312, top3=0.312 -> using mixture
71
+ [13:37:08][ 387s][WEIGHTS] round 5: teacher Dice on 25 labeled patches + 0 blank (93337 fg px): fly-mito=0.312, kasthuri=0.311, lucchi=0.010, multiclass=0.001 | weights: fly-mito=0.123, kasthuri=0.874, lucchi=0.001, multiclass=0.001
72
+ [13:37:12][ 392s][CONS] round 5: on the 5 new patches student Dice=0.425 vs ensemble 0.000 -> pseudo-labels from the student | consistency x0.00
73
+ [13:37:14][ 393s][FT] round 5/6 epoch 1/5 | patches=25 | loss=0.4196
74
+ [13:37:15][ 394s][FT] round 5/6 epoch 2/5 | patches=25 | loss=0.3617
75
+ [13:37:16][ 395s][FT] round 5/6 epoch 3/5 | patches=25 | loss=0.4179
76
+ [13:37:17][ 396s][FT] round 5/6 epoch 4/5 | patches=25 | loss=0.3490
77
+ [13:37:18][ 397s][FT] round 5/6 epoch 5/5 | patches=25 | loss=0.4248
78
+ [13:37:19][ 399s][AL] round 5/6 | labeled=25 | selection_seconds=3.8000 round_seconds=69.5000 pseudo_student_dice=0.4253 pseudo_ensemble_dice=0.0000 consistency_scale=0.0000 val_dice=0.6628 val_vi=0.1320 val_ece=0.0144
79
+ [13:37:23][ 402s][AL] round 6: 141/661 candidates skipped as agreed-empty (predicted prevalence < 0.005)
80
+ [13:37:52][ 432s][WEIGHTS] round 6: teacher agreement with the student on 656 unlabeled patches: fly-mito=0.359, kasthuri=0.426, lucchi=0.007, multiclass=0.001 | blended with labeled Dice at 0.50
81
+ [13:38:18][ 457s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.317, uniform=0.037, top1=0.316, top2=0.317, top3=0.317 -> using mixture
82
+ [13:38:18][ 457s][WEIGHTS] round 6: teacher Dice on 30 labeled patches + 0 blank (101937 fg px): fly-mito=0.314, kasthuri=0.316, lucchi=0.008, multiclass=0.001 | weights: fly-mito=0.121, kasthuri=0.877, lucchi=0.001, multiclass=0.001
83
+ [13:38:23][ 462s][CONS] round 6: on the 5 new patches student Dice=0.619 vs ensemble 0.407 -> pseudo-labels from the student | consistency x0.40
84
+ [13:38:25][ 465s][FT] round 6/6 epoch 1/5 | patches=30 | loss=0.4783
85
+ [13:38:28][ 467s][FT] round 6/6 epoch 2/5 | patches=30 | loss=0.4042
86
+ [13:38:30][ 470s][FT] round 6/6 epoch 3/5 | patches=30 | loss=0.3390
87
+ [13:38:33][ 472s][FT] round 6/6 epoch 4/5 | patches=30 | loss=0.3294
88
+ [13:38:35][ 475s][FT] round 6/6 epoch 5/5 | patches=30 | loss=0.3309
89
+ [13:38:37][ 476s][AL] round 6/6 | labeled=30 | selection_seconds=3.8000 round_seconds=76.3000 pseudo_student_dice=0.6186 pseudo_ensemble_dice=0.4073 consistency_scale=0.3950 val_dice=0.6835 val_vi=0.1245 val_ece=0.0127
90
+ [13:38:40][ 480s][CONS] final consolidation: pseudo-labels refreshed from the student
91
+ [13:38:43][ 482s][FT] final 1/10 epoch 1/1 | patches=30 | loss=0.3316
92
+ [13:38:45][ 485s][FT] final 2/10 epoch 1/1 | patches=30 | loss=0.2807
93
+ [13:38:48][ 487s][FT] final 3/10 epoch 1/1 | patches=30 | loss=0.3052
94
+ [13:38:50][ 490s][FT] final 4/10 epoch 1/1 | patches=30 | loss=0.2432
95
+ [13:38:53][ 492s][FT] final 5/10 epoch 1/1 | patches=30 | loss=0.2443
96
+ [13:38:55][ 495s][FT] final 6/10 epoch 1/1 | patches=30 | loss=0.2739
97
+ [13:38:58][ 497s][FT] final 7/10 epoch 1/1 | patches=30 | loss=0.2722
98
+ [13:39:00][ 500s][FT] final 8/10 epoch 1/1 | patches=30 | loss=0.2558
99
+ [13:39:03][ 502s][FT] final 9/10 epoch 1/1 | patches=30 | loss=0.2214
100
+ [13:39:05][ 505s][FT] final 10/10 epoch 1/1 | patches=30 | loss=0.2567
101
+ [13:39:06][ 506s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=28.7000 val_dice=0.7389 val_vi=0.1129 val_ece=0.0112
102
+ [13:39:06][ 506s][WEIGHTS] final: fly-mito=0.121, kasthuri=0.877, lucchi=0.001, multiclass=0.001
103
+ [13:39:14][ 513s][TEST] raw student (no EMA, no TTA): patch_dice=0.8171 patch_vi=0.1140
104
+ [13:39:15][ 514s][TEST] final model without TTA: patch_dice=0.8171 patch_vi=0.1140
105
+ [13:39:15][ 514s][RESOURCES] {"phases": {"setup": {"seconds": 0.77, "peak_cpu_rss_mb": 2191.8, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 11.09, "peak_cpu_rss_mb": 4114.3, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 117.87, "peak_cpu_rss_mb": 4292.8, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4168.0, "kd_epochs": 5}, "active_learning": {"seconds": 374.13, "peak_cpu_rss_mb": 4406.5, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4176.0, "rounds": 6}, "inference": {"seconds": 8.56, "peak_cpu_rss_mb": 4406.5, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4176.0, "patches": 147, "images": 3, "patches_per_second": 17.2, "seconds_per_image": 2.853}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 4406.5, "total_seconds": 512.4}
106
+ [13:39:15][ 514s][TEST] patch_dice=0.8349 patch_iou=0.7587 patch_precision=0.8561 patch_recall=0.8840 patch_vi=0.1017 image_dice=0.9032 image_iou=0.8241 image_precision=0.8944 image_recall=0.9141 image_vi=0.1090 cal_ece=0.0030 cal_nll=0.0326 cal_brier=0.0094 cal_mean_confidence=0.9897 cal_accuracy=0.9869 cal_predicted_prevalence=0.0606 cal_true_prevalence=0.0594 cal_mean_probability=0.0604
107
+ [13:39:15][ 515s][DONE] drosophila-vnc macs-v11-norestart-acq-margin b5 s2 | test patch Dice=0.8349 VI=0.1017 | image Dice=0.9032 VI=0.1090 | 514s
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,662 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "drosophila-vnc",
3
+ "variant": "macs-v11-norestart-acq-margin",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "drosophila-vnc",
9
+ "variant": "macs-v11-norestart-acq-margin",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "margin",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "drosophila-vnc",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-margin",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "aecf380",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "kasthuri-pp",
147
+ "lucchi-pp",
148
+ "multiclass"
149
+ ],
150
+ "alphas": [
151
+ 0.11690492516893997,
152
+ 0.8375897330633602,
153
+ 0.0256027087898516,
154
+ 0.019902632977848233
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "lucchi-pp",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.11690492516893997,
165
+ 0.8375897330633602,
166
+ 0.0256027087898516,
167
+ 0.019902632977848233
168
+ ],
169
+ "per_source": [
170
+ 0.038599207620062845,
171
+ 0.9432861284385984,
172
+ 0.013712296406123614,
173
+ 0.0044023675352152245
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.1917820351790263,
183
+ "mmd2_mixture": 0.19749363071106324,
184
+ "mmd2_uniform": 0.3743489659922599,
185
+ "mmd2_single_source": [
186
+ 0.7042977370508033,
187
+ 0.20706860465273969,
188
+ 0.6307956892595754,
189
+ 0.6534362949819378
190
+ ],
191
+ "median_squared_distance": 0.19645890982127545,
192
+ "gammas": [
193
+ 1.272530730356961,
194
+ 2.545061460713922,
195
+ 5.090122921427844,
196
+ 10.180245842855689,
197
+ 20.360491685711377
198
+ ],
199
+ "max_weight": 0.8375897330633602,
200
+ "entropy": 0.5711595532036933,
201
+ "effective_sources": 1.7703186403916105,
202
+ "min_weight": 0.019902632977848233
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.605076346545893,
207
+ 0.31101778520145595,
208
+ 0.7002952057460718,
209
+ 0.8048259839560096
210
+ ],
211
+ "standardized": [
212
+ -0.0012362667606482206,
213
+ -1.5993052227157551,
214
+ 0.5162331182950395,
215
+ 1.0843083711813646
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9432861284385984,
219
+ "entropy": 0.26340029394025066,
220
+ "effective_sources": 1.301347536237684,
221
+ "min_weight": 0.0044023675352152245
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "kasthuri-pp",
226
+ "seconds": 1.7
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.27840715557699913,
231
+ 0.18341499813983803,
232
+ 0.0577032083417681,
233
+ 0.01681466600081078
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.18652277313599772,
237
+ "mixture@raw": 0.18548230728775292,
238
+ "mixture@logit": 0.19296074616265912,
239
+ "per_source": 0.18415443581907806,
240
+ "per_source@raw": 0.1835051571090219,
241
+ "per_source@logit": 0.18905485087217583,
242
+ "uniform": 0.0696943056822927,
243
+ "uniform@raw": 0.08847159266818436,
244
+ "uniform@logit": 0.06549734203813108
245
+ },
246
+ "val_patches": 147
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 2.5090832710266113,
251
+ 3.80090069770813,
252
+ 2.597146987915039
253
+ ],
254
+ "top_source": "kasthuri-pp",
255
+ "weight_stats": {
256
+ "max_weight": 0.8375897330633602,
257
+ "entropy": 0.5711595532036933,
258
+ "effective_sources": 1.7703186403916105,
259
+ "min_weight": 0.019902632977848233
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.7999999999999999,
263
+ "spearman_weight_taxonomy": -0.21081851067789195,
264
+ "top_source": "kasthuri-pp",
265
+ "top_source_is_best_teacher": false
266
+ },
267
+ "init_teacher": "kasthuri-pp",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.0,
270
+ "kd_seconds": 117.9,
271
+ "round0_val": {
272
+ "val_dice": 0.20583852352297866,
273
+ "val_vi": 0.2206894295217048,
274
+ "val_ece": 0.019786654639967937
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 5,
280
+ "selection_seconds": 18.3,
281
+ "round_seconds": 94.9,
282
+ "teacher_dice_labeled": [
283
+ 0.36295908671523197,
284
+ 0.5310285360135809,
285
+ 0.013736820762368207,
286
+ 0.0019869574077847974
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 19579,
290
+ "evidence_nonempty_patches": 5,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.583215536844693,
294
+ "restart_teacher_dice": 0.5310285360135809,
295
+ "weights": [
296
+ 0.025328879887354556,
297
+ 0.9743856190601974,
298
+ 0.00016881695486452877,
299
+ 0.0001166840975834896
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.531149750640248,
304
+ "uniform": 0.0667619235317304,
305
+ "top1": 0.5310285360135809,
306
+ "top2": 0.5311354323916325,
307
+ "top3": 0.5311354323916325
308
+ },
309
+ "val_dice": 0.22762768970263805,
310
+ "val_vi": 0.2139711243244451,
311
+ "val_ece": 0.03221462987886444
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 10,
316
+ "selection_seconds": 3.9,
317
+ "round_seconds": 13.8,
318
+ "teacher_dice_labeled": [
319
+ 0.38401783708865406,
320
+ 0.28656576040595816,
321
+ 0.006609724978735469,
322
+ 0.001720193654790828
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 56186,
326
+ "evidence_nonempty_patches": 10,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 1.0,
331
+ 0.0,
332
+ 0.0,
333
+ 0.0
334
+ ],
335
+ "ensemble_choice": "top1",
336
+ "candidate_dice": {
337
+ "mixture": 0.29303699199791533,
338
+ "uniform": 0.024812635707781746,
339
+ "top1": 0.38401783708865406,
340
+ "top2": 0.29324058902043343,
341
+ "top3": 0.2931189822302791
342
+ },
343
+ "pseudo_student_dice": 0.09651973250447396,
344
+ "pseudo_ensemble_dice": 0.3979095217735406,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.41508196440410405,
348
+ "val_vi": 0.1910820541092168,
349
+ "val_ece": 0.007020516502335978
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 15,
354
+ "selection_seconds": 3.9,
355
+ "round_seconds": 14.6,
356
+ "teacher_dice_labeled": [
357
+ 0.3067076899556643,
358
+ 0.2610554773924798,
359
+ 0.014201309254393293,
360
+ 0.0014810969278690527
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 65212,
364
+ "evidence_nonempty_patches": 14,
365
+ "first_correction": false,
366
+ "restart": "",
367
+ "weights": [
368
+ 1.0,
369
+ 0.0,
370
+ 0.0,
371
+ 0.0
372
+ ],
373
+ "ensemble_choice": "top1",
374
+ "candidate_dice": {
375
+ "mixture": 0.26331644529645354,
376
+ "uniform": 0.022352339093262688,
377
+ "top1": 0.3067076899556643,
378
+ "top2": 0.2632606335914767,
379
+ "top3": 0.26327461896504517
380
+ },
381
+ "pseudo_student_dice": 0.39983894945490583,
382
+ "pseudo_ensemble_dice": 0.12834515276777023,
383
+ "pseudo_source": "student",
384
+ "consistency_scale": 0.0,
385
+ "val_dice": 0.5541464148558664,
386
+ "val_vi": 0.18765088084462966,
387
+ "val_ece": 0.0034033482403390374
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 20,
392
+ "selection_seconds": 3.9,
393
+ "round_seconds": 68.6,
394
+ "teacher_dice_labeled": [
395
+ 0.32843252673042683,
396
+ 0.32500226774835783,
397
+ 0.011205289601600254,
398
+ 0.001607866862380934
399
+ ],
400
+ "teacher_dice_pool": [
401
+ 0.37703511707654025,
402
+ 0.41697163557551786,
403
+ 0.009469044489436806,
404
+ 0.001867650226971613
405
+ ],
406
+ "evidence_fg_pixels": 71602,
407
+ "evidence_nonempty_patches": 15,
408
+ "first_correction": false,
409
+ "restart": "",
410
+ "weights": [
411
+ 0.12596412966410978,
412
+ 0.8720632836330818,
413
+ 0.0011561112109388508,
414
+ 0.0008164754918695407
415
+ ],
416
+ "ensemble_choice": "mixture",
417
+ "candidate_dice": {
418
+ "mixture": 0.3254468576327058,
419
+ "uniform": 0.03129050120454881,
420
+ "top1": 0.32843252673042683,
421
+ "top2": 0.3255205919573236,
422
+ "top3": 0.32547291784264754
423
+ },
424
+ "pseudo_student_dice": 0.33754523002699444,
425
+ "pseudo_ensemble_dice": 7.686395080707149e-05,
426
+ "pseudo_source": "student",
427
+ "consistency_scale": 0.0,
428
+ "val_dice": 0.7049201214465788,
429
+ "val_vi": 0.12461696322525986,
430
+ "val_ece": 0.008641253938814855
431
+ },
432
+ {
433
+ "round": 5,
434
+ "n_labeled": 25,
435
+ "selection_seconds": 3.8,
436
+ "round_seconds": 69.5,
437
+ "teacher_dice_labeled": [
438
+ 0.31201821320261003,
439
+ 0.3108151802191612,
440
+ 0.009948750155924245,
441
+ 0.0009971843286295514
442
+ ],
443
+ "teacher_dice_pool": [
444
+ 0.3428589401009912,
445
+ 0.43397047373891273,
446
+ 0.00959118250712609,
447
+ 0.0009592051120907552
448
+ ],
449
+ "evidence_fg_pixels": 93337,
450
+ "evidence_nonempty_patches": 20,
451
+ "first_correction": false,
452
+ "restart": "",
453
+ "weights": [
454
+ 0.12349790890107877,
455
+ 0.8742455597184858,
456
+ 0.0013189906070092267,
457
+ 0.0009375407734261823
458
+ ],
459
+ "ensemble_choice": "mixture",
460
+ "candidate_dice": {
461
+ "mixture": 0.3118025581344997,
462
+ "uniform": 0.03485867907823771,
463
+ "top1": 0.31201821320261003,
464
+ "top2": 0.3118660509609209,
465
+ "top3": 0.31182082107141296
466
+ },
467
+ "pseudo_student_dice": 0.42525555049156843,
468
+ "pseudo_ensemble_dice": 3.389256058295204e-05,
469
+ "pseudo_source": "student",
470
+ "consistency_scale": 0.0,
471
+ "val_dice": 0.6627517799862803,
472
+ "val_vi": 0.13200599901825022,
473
+ "val_ece": 0.014428097276413115
474
+ },
475
+ {
476
+ "round": 6,
477
+ "n_labeled": 30,
478
+ "selection_seconds": 3.8,
479
+ "round_seconds": 76.3,
480
+ "teacher_dice_labeled": [
481
+ 0.31439930418264694,
482
+ 0.3158112661728686,
483
+ 0.008469861850983751,
484
+ 0.000731929251973725
485
+ ],
486
+ "teacher_dice_pool": [
487
+ 0.35933004834555277,
488
+ 0.42554124651196956,
489
+ 0.006534919388207661,
490
+ 0.0005166021294979816
491
+ ],
492
+ "evidence_fg_pixels": 101937,
493
+ "evidence_nonempty_patches": 25,
494
+ "first_correction": false,
495
+ "restart": "",
496
+ "weights": [
497
+ 0.12071086575697663,
498
+ 0.8771562753946593,
499
+ 0.0012404086509053586,
500
+ 0.0008924501974586932
501
+ ],
502
+ "ensemble_choice": "mixture",
503
+ "candidate_dice": {
504
+ "mixture": 0.3167068292410805,
505
+ "uniform": 0.03696126287935871,
506
+ "top1": 0.3158112661728686,
507
+ "top2": 0.3167952146594093,
508
+ "top3": 0.31674336464528546
509
+ },
510
+ "pseudo_student_dice": 0.6185659343554081,
511
+ "pseudo_ensemble_dice": 0.40730560578661845,
512
+ "pseudo_source": "student",
513
+ "consistency_scale": 0.395,
514
+ "val_dice": 0.6835278718987173,
515
+ "val_vi": 0.12453932816493471,
516
+ "val_ece": 0.012681996756738407
517
+ },
518
+ {
519
+ "round": 7,
520
+ "n_labeled": 30,
521
+ "selection_seconds": 0.0,
522
+ "round_seconds": 28.7,
523
+ "final_consolidation": true,
524
+ "val_dice": 0.7389110295338063,
525
+ "val_vi": 0.11285964003514103,
526
+ "val_ece": 0.011176637690902614
527
+ }
528
+ ],
529
+ "uncertainty_quality": {
530
+ "spearman_uncertainty_error": 0.07993511898383816,
531
+ "auroc_top20_error": 0.5728207976303819
532
+ },
533
+ "al_seconds": 374.1,
534
+ "source_archs": [
535
+ "unet",
536
+ "unet",
537
+ "unet",
538
+ "unet"
539
+ ],
540
+ "alphas_final": [
541
+ 0.12071086575697663,
542
+ 0.8771562753946593,
543
+ 0.0012404086509053586,
544
+ 0.0008924501974586932
545
+ ],
546
+ "weight_stats_final": {
547
+ "max_weight": 0.8771562753946593,
548
+ "entropy": 0.38476242814608885,
549
+ "effective_sources": 1.4692652239117807,
550
+ "min_weight": 0.0008924501974586932
551
+ },
552
+ "top_source_final": "kasthuri-pp",
553
+ "ensemble_choice_final": "",
554
+ "restart": "kept",
555
+ "test_raw_student": {
556
+ "patch_dice": 0.8170945417514479,
557
+ "patch_iou": 0.7325863544605868,
558
+ "patch_precision": 0.8206006516040203,
559
+ "patch_recall": 0.8926114311565548,
560
+ "patch_vi": 0.11397135888121473,
561
+ "n_patches": 147,
562
+ "cal_ece": 0.009251723975275686,
563
+ "cal_nll": 0.059870382370229576,
564
+ "cal_brier": 0.0121247786045106,
565
+ "cal_mean_confidence": 0.9941307853684778,
566
+ "cal_accuracy": 0.9849728954081632,
567
+ "cal_predicted_prevalence": 0.06171609268707483,
568
+ "cal_true_prevalence": 0.05939094387755102,
569
+ "cal_mean_probability": 0.06030104652931691
570
+ },
571
+ "test_notta": {
572
+ "patch_dice": 0.8170945417514479,
573
+ "patch_iou": 0.7325863544605868,
574
+ "patch_precision": 0.8206006516040203,
575
+ "patch_recall": 0.8926114311565548,
576
+ "patch_vi": 0.11397135888121473,
577
+ "n_patches": 147,
578
+ "cal_ece": 0.009251723975275686,
579
+ "cal_nll": 0.059870382370229576,
580
+ "cal_brier": 0.0121247786045106,
581
+ "cal_mean_confidence": 0.9941307853684778,
582
+ "cal_accuracy": 0.9849728954081632,
583
+ "cal_predicted_prevalence": 0.06171609268707483,
584
+ "cal_true_prevalence": 0.05939094387755102,
585
+ "cal_mean_probability": 0.06030104652931691
586
+ },
587
+ "test": {
588
+ "patch_dice": 0.8348826233141908,
589
+ "patch_iou": 0.7586723040300558,
590
+ "patch_precision": 0.8560631492580926,
591
+ "patch_recall": 0.8840063786551214,
592
+ "patch_vi": 0.10169670823361057,
593
+ "n_patches": 147,
594
+ "image_dice": 0.9031688922650402,
595
+ "image_iou": 0.8240584503474547,
596
+ "image_precision": 0.894351360788363,
597
+ "image_recall": 0.914061361626028,
598
+ "image_vi": 0.10897988313866609,
599
+ "n_images": 3,
600
+ "cal_ece": 0.003019011167729832,
601
+ "cal_nll": 0.0325651706703299,
602
+ "cal_brier": 0.009432980359557166,
603
+ "cal_mean_confidence": 0.9897270955516048,
604
+ "cal_accuracy": 0.9869393069727891,
605
+ "cal_predicted_prevalence": 0.06056016156462585,
606
+ "cal_true_prevalence": 0.05939094387755102,
607
+ "cal_mean_probability": 0.06044280983044895
608
+ },
609
+ "eval_seconds": 8.6,
610
+ "total_seconds": 514.4,
611
+ "resources": {
612
+ "phases": {
613
+ "setup": {
614
+ "seconds": 0.77,
615
+ "peak_cpu_rss_mb": 2191.8,
616
+ "peak_gpu_alloc_mb": 592.4,
617
+ "peak_gpu_reserved_mb": 594.0
618
+ },
619
+ "features_and_weights": {
620
+ "seconds": 11.09,
621
+ "peak_cpu_rss_mb": 4114.3,
622
+ "peak_gpu_alloc_mb": 2298.2,
623
+ "peak_gpu_reserved_mb": 2640.0
624
+ },
625
+ "distillation": {
626
+ "seconds": 117.87,
627
+ "peak_cpu_rss_mb": 4292.8,
628
+ "peak_gpu_alloc_mb": 3826.7,
629
+ "peak_gpu_reserved_mb": 4168.0,
630
+ "kd_epochs": 5
631
+ },
632
+ "active_learning": {
633
+ "seconds": 374.13,
634
+ "peak_cpu_rss_mb": 4406.5,
635
+ "peak_gpu_alloc_mb": 3947.0,
636
+ "peak_gpu_reserved_mb": 4176.0,
637
+ "rounds": 6
638
+ },
639
+ "inference": {
640
+ "seconds": 8.56,
641
+ "peak_cpu_rss_mb": 4406.5,
642
+ "peak_gpu_alloc_mb": 2149.5,
643
+ "peak_gpu_reserved_mb": 4176.0,
644
+ "patches": 147,
645
+ "images": 3,
646
+ "patches_per_second": 17.2,
647
+ "seconds_per_image": 2.853
648
+ }
649
+ },
650
+ "peak_gpu_alloc_mb": 3947.0,
651
+ "peak_cpu_rss_mb": 4406.5,
652
+ "total_seconds": 512.4
653
+ },
654
+ "student_parameters": 31042369,
655
+ "teacher_parameters": [
656
+ 31042369,
657
+ 31042369,
658
+ 31042369,
659
+ 31042369
660
+ ],
661
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/drosophila-vnc/macs-v11-norestart-acq-margin_b5_s2.pth"
662
+ }
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-2/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,5,18.3,94.9,"[0.36295908671523197, 0.5310285360135809, 0.013736820762368207, 0.0019869574077847974]",,19579,5,True,kept,0.583215536844693,0.5310285360135809,"[0.025328879887354556, 0.9743856190601974, 0.00016881695486452877, 0.0001166840975834896]",mixture,"{'mixture': 0.531149750640248, 'uniform': 0.0667619235317304, 'top1': 0.5310285360135809, 'top2': 0.5311354323916325, 'top3': 0.5311354323916325}",0.22762768970263805,0.2139711243244451,0.03221462987886444,,,,,
3
+ 2,10,3.9,13.8,"[0.38401783708865406, 0.28656576040595816, 0.006609724978735469, 0.001720193654790828]",,56186,10,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.29303699199791533, 'uniform': 0.024812635707781746, 'top1': 0.38401783708865406, 'top2': 0.29324058902043343, 'top3': 0.2931189822302791}",0.41508196440410405,0.1910820541092168,0.007020516502335978,0.09651973250447396,0.3979095217735406,ensemble,1.0,
4
+ 3,15,3.9,14.6,"[0.3067076899556643, 0.2610554773924798, 0.014201309254393293, 0.0014810969278690527]",,65212,14,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.26331644529645354, 'uniform': 0.022352339093262688, 'top1': 0.3067076899556643, 'top2': 0.2632606335914767, 'top3': 0.26327461896504517}",0.5541464148558664,0.18765088084462966,0.0034033482403390374,0.39983894945490583,0.12834515276777023,student,0.0,
5
+ 4,20,3.9,68.6,"[0.32843252673042683, 0.32500226774835783, 0.011205289601600254, 0.001607866862380934]","[0.37703511707654025, 0.41697163557551786, 0.009469044489436806, 0.001867650226971613]",71602,15,False,,,,"[0.12596412966410978, 0.8720632836330818, 0.0011561112109388508, 0.0008164754918695407]",mixture,"{'mixture': 0.3254468576327058, 'uniform': 0.03129050120454881, 'top1': 0.32843252673042683, 'top2': 0.3255205919573236, 'top3': 0.32547291784264754}",0.7049201214465788,0.12461696322525986,0.008641253938814855,0.33754523002699444,7.686395080707149e-05,student,0.0,
6
+ 5,25,3.8,69.5,"[0.31201821320261003, 0.3108151802191612, 0.009948750155924245, 0.0009971843286295514]","[0.3428589401009912, 0.43397047373891273, 0.00959118250712609, 0.0009592051120907552]",93337,20,False,,,,"[0.12349790890107877, 0.8742455597184858, 0.0013189906070092267, 0.0009375407734261823]",mixture,"{'mixture': 0.3118025581344997, 'uniform': 0.03485867907823771, 'top1': 0.31201821320261003, 'top2': 0.3118660509609209, 'top3': 0.31182082107141296}",0.6627517799862803,0.13200599901825022,0.014428097276413115,0.42525555049156843,3.389256058295204e-05,student,0.0,
7
+ 6,30,3.8,76.3,"[0.31439930418264694, 0.3158112661728686, 0.008469861850983751, 0.000731929251973725]","[0.35933004834555277, 0.42554124651196956, 0.006534919388207661, 0.0005166021294979816]",101937,25,False,,,,"[0.12071086575697663, 0.8771562753946593, 0.0012404086509053586, 0.0008924501974586932]",mixture,"{'mixture': 0.3167068292410805, 'uniform': 0.03696126287935871, 'top1': 0.3158112661728686, 'top2': 0.3167952146594093, 'top3': 0.31674336464528546}",0.6835278718987173,0.12453932816493471,0.012681996756738407,0.6185659343554081,0.40730560578661845,student,0.395,
8
+ 7,30,0.0,28.7,,,,,,,,,,,,0.7389110295338063,0.11285964003514103,0.011176637690902614,,,,,True
macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-entropy/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [07:50:03][ 0s][START] target=kasthuri-pp variant=macs-v11-norestart-acq-entropy budget=5.0% seed=1 | {"task": "mitochondria", "target": "kasthuri-pp", "variant": "macs-v11-norestart-acq-entropy", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "entropy", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [07:50:03][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [07:50:04][ 1s][DATA] kasthuri-pp: train=12023 val=2376 test=2376 patches
4
+ [07:50:05][ 2s][CALIB] source-val temperatures: fly-mito=1.38, lucchi=3.80, dros-vnc=2.77, multiclass=2.60
5
+ [07:50:05][ 2s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [07:50:06][ 4s][WEIGHTS] mixture: fly-mito=0.055, lucchi=0.143, dros-vnc=0.678, multiclass=0.124 | eff.sources=2.61 | MMD2 mix=0.1257 uniform=0.2386
7
+ [07:50:06][ 4s][WEIGHTS] per-source: fly-mito=0.004, lucchi=0.027, dros-vnc=0.949, multiclass=0.020 | min-MMD source (NeuroADDA rule) = dros-vnc
8
+ [07:50:45][ 42s][TEACHERS] target-val Dice: fly-mito=0.194, lucchi=0.137, dros-vnc=0.349, multiclass=0.152
9
+ [07:50:45][ 42s][TEACHERS] ensemble target-val Dice: mixture=0.341, mixture@raw=0.346, mixture@logit=0.321, per_source=0.348, per_source@raw=0.348, per_source@logit=0.346, uniform=0.188, uniform@raw=0.183, uniform@logit=0.207
10
+ [07:50:45][ 42s][WEIGHTS] using mixture: fly-mito=0.055, lucchi=0.143, dros-vnc=0.678, multiclass=0.124
11
+ [07:50:45][ 42s][INIT] student initialised from teacher dros-vnc (weight 0.678)
12
+ [07:50:54][ 51s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [07:50:54][ 51s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [07:52:56][ 173s][KD] soft labels for 6000 patches from 4 teachers in 122s
15
+ [07:55:54][ 351s][KD] epoch 1/5 | patches=6000 | loss=0.1770 | 178s
16
+ [07:58:51][ 529s][KD] epoch 2/5 | patches=6000 | loss=0.1513 | 178s
17
+ [08:01:49][ 706s][KD] epoch 3/5 | patches=6000 | loss=0.1493 | 178s
18
+ [08:04:47][ 884s][KD] epoch 4/5 | patches=6000 | loss=0.1449 | 178s
19
+ [08:07:45][ 1062s][KD] epoch 5/5 | patches=6000 | loss=0.1438 | 178s
20
+ [08:07:51][ 1068s][ROUND0] before any target label: val_dice=0.2223 val_vi=0.1502
21
+ [08:07:51][ 1068s][AL] patches=12023 (pool 10327 after dropping blank; free blank negatives: True) | budget=601 (5.0%) | rounds=6 | per_round=100 | acquisition=entropy | first_round=stratified
22
+ [08:08:33][ 1110s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': -0.3458863863149128, 'auroc_top20_error': 0.36265166015625}
23
+ [08:09:14][ 1151s][AL] round 1: stratified cold start: 50 patches from the membrane-rich half (ensemble prevalence >= 0.034) + 50 from the membrane-poor half of 2000 candidates
24
+ [08:09:30][ 1167s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.203, uniform=0.004, top1=0.204, top2=0.205, top3=0.204 -> using mixture
25
+ [08:09:32][ 1169s][WEIGHTS] round 1: student kept (labeled Dice 0.038 vs best teacher dros-vnc 0.204); distilling the corrected ensemble into it
26
+ [08:09:32][ 1169s][WEIGHTS] round 1: teacher Dice on 100 labeled patches + 100 blank (277958 fg px): fly-mito=0.038, lucchi=0.009, dros-vnc=0.204, multiclass=0.002 | weights: fly-mito=0.014, lucchi=0.028, dros-vnc=0.935, multiclass=0.023
27
+ [08:11:34][ 1292s][KD] soft labels for 6000 patches from 4 teachers in 123s
28
+ [08:14:33][ 1470s][KD] epoch 1/2 | patches=6000 | loss=0.0603 | 178s
29
+ [08:17:31][ 1648s][KD] epoch 2/2 | patches=6000 | loss=0.0593 | 178s
30
+ [08:18:12][ 1689s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 41s
31
+ [08:18:24][ 1702s][FT] round 1/6 epoch 1/5 | patches=200 | loss=0.9295
32
+ [08:18:37][ 1714s][FT] round 1/6 epoch 2/5 | patches=200 | loss=0.8602
33
+ [08:18:49][ 1727s][FT] round 1/6 epoch 3/5 | patches=200 | loss=0.5114
34
+ [08:19:02][ 1739s][FT] round 1/6 epoch 4/5 | patches=200 | loss=0.4687
35
+ [08:19:15][ 1752s][FT] round 1/6 epoch 5/5 | patches=200 | loss=0.3942
36
+ [08:19:20][ 1758s][AL] round 1/6 | labeled=100 | selection_seconds=83.3000 round_seconds=683.6000 restart_student_dice=0.0379 restart_teacher_dice=0.2043 val_dice=0.7305 val_vi=0.0986 val_ece=0.0061
37
+ [08:20:02][ 1799s][AL] round 2: 2781/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [08:20:33][ 1830s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.135, uniform=0.014, top1=0.137, top2=0.137, top3=0.136 -> using mixture
39
+ [08:20:33][ 1830s][WEIGHTS] round 2: teacher Dice on 200 labeled patches + 200 blank (1027506 fg px): fly-mito=0.076, lucchi=0.033, dros-vnc=0.137, multiclass=0.008 | weights: fly-mito=0.038, lucchi=0.064, dros-vnc=0.855, multiclass=0.043
40
+ [08:20:54][ 1851s][CONS] round 2: on the 100 new patches student Dice=0.590 vs ensemble 0.109 -> pseudo-labels from the student | consistency x0.30
41
+ [08:21:18][ 1875s][FT] round 2/6 epoch 1/5 | patches=400 | loss=0.2601
42
+ [08:21:42][ 1900s][FT] round 2/6 epoch 2/5 | patches=400 | loss=0.2320
43
+ [08:22:07][ 1924s][FT] round 2/6 epoch 3/5 | patches=400 | loss=0.2258
44
+ [08:22:31][ 1948s][FT] round 2/6 epoch 4/5 | patches=400 | loss=0.1876
45
+ [08:22:55][ 1973s][FT] round 2/6 epoch 5/5 | patches=400 | loss=0.1990
46
+ [08:23:01][ 1978s][AL] round 2/6 | labeled=200 | selection_seconds=42.0000 round_seconds=214.9000 pseudo_student_dice=0.5901 pseudo_ensemble_dice=0.1087 consistency_scale=0.3000 val_dice=0.8368 val_vi=0.0604 val_ece=0.0019
47
+ [08:23:43][ 2020s][AL] round 3: 2240/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [08:25:28][ 2126s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.116, lucchi=0.014, dros-vnc=0.264, multiclass=0.001 | blended with labeled Dice at 0.50
49
+ [08:27:04][ 2221s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.214, uniform=0.013, top1=0.215, top2=0.215, top3=0.214 -> using mixture
50
+ [08:27:04][ 2221s][WEIGHTS] round 3: teacher Dice on 300 labeled patches + 300 blank (1431921 fg px): fly-mito=0.094, lucchi=0.020, dros-vnc=0.215, multiclass=0.004 | weights: fly-mito=0.023, lucchi=0.028, dros-vnc=0.929, multiclass=0.021
51
+ [08:27:25][ 2242s][CONS] round 3: on the 100 new patches student Dice=0.816 vs ensemble 0.232 -> pseudo-labels from the student | consistency x1.00
52
+ [08:28:01][ 2278s][FT] round 3/6 epoch 1/5 | patches=600 | loss=0.2296
53
+ [08:28:37][ 2314s][FT] round 3/6 epoch 2/5 | patches=600 | loss=0.2064
54
+ [08:29:13][ 2350s][FT] round 3/6 epoch 3/5 | patches=600 | loss=0.1887
55
+ [08:29:49][ 2386s][FT] round 3/6 epoch 4/5 | patches=600 | loss=0.1811
56
+ [08:30:25][ 2422s][FT] round 3/6 epoch 5/5 | patches=600 | loss=0.1760
57
+ [08:30:31][ 2428s][AL] round 3/6 | labeled=300 | selection_seconds=41.9000 round_seconds=443.8000 pseudo_student_dice=0.8157 pseudo_ensemble_dice=0.2319 consistency_scale=1.0000 val_dice=0.8475 val_vi=0.0524 val_ece=0.0034
58
+ [08:31:13][ 2470s][AL] round 4: 2399/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [08:33:05][ 2583s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.110, lucchi=0.014, dros-vnc=0.272, multiclass=0.002 | blended with labeled Dice at 0.50
60
+ [08:34:48][ 2685s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.213, uniform=0.012, top1=0.214, top2=0.214, top3=0.213 -> using mixture
61
+ [08:34:48][ 2685s][WEIGHTS] round 4: teacher Dice on 400 labeled patches + 400 blank (1887583 fg px): fly-mito=0.091, lucchi=0.018, dros-vnc=0.214, multiclass=0.004 | weights: fly-mito=0.022, lucchi=0.028, dros-vnc=0.930, multiclass=0.021
62
+ [08:35:09][ 2706s][CONS] round 4: on the 100 new patches student Dice=0.820 vs ensemble 0.124 -> pseudo-labels from the student | consistency x1.00
63
+ [08:35:57][ 2754s][FT] round 4/6 epoch 1/5 | patches=800 | loss=0.1679
64
+ [08:36:44][ 2801s][FT] round 4/6 epoch 2/5 | patches=800 | loss=0.1625
65
+ [08:37:32][ 2849s][FT] round 4/6 epoch 3/5 | patches=800 | loss=0.1553
66
+ [08:38:19][ 2897s][FT] round 4/6 epoch 4/5 | patches=800 | loss=0.1472
67
+ [08:39:07][ 2944s][FT] round 4/6 epoch 5/5 | patches=800 | loss=0.1651
68
+ [08:39:13][ 2950s][AL] round 4/6 | labeled=400 | selection_seconds=42.0000 round_seconds=516.3000 pseudo_student_dice=0.8200 pseudo_ensemble_dice=0.1235 consistency_scale=1.0000 val_dice=0.8402 val_vi=0.0520 val_ece=0.0027
69
+ [08:39:55][ 2992s][AL] round 5: 2595/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [08:41:55][ 3112s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.111, lucchi=0.013, dros-vnc=0.290, multiclass=0.001 | blended with labeled Dice at 0.50
71
+ [08:43:45][ 3222s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.220, uniform=0.013, top1=0.221, top2=0.221, top3=0.221 -> using mixture
72
+ [08:43:45][ 3222s][WEIGHTS] round 5: teacher Dice on 500 labeled patches + 500 blank (2417674 fg px): fly-mito=0.091, lucchi=0.017, dros-vnc=0.221, multiclass=0.005 | weights: fly-mito=0.021, lucchi=0.026, dros-vnc=0.934, multiclass=0.020
73
+ [08:44:06][ 3243s][CONS] round 5: on the 100 new patches student Dice=0.806 vs ensemble 0.138 -> pseudo-labels from the student | consistency x1.00
74
+ [08:45:05][ 3302s][FT] round 5/6 epoch 1/5 | patches=1000 | loss=0.1638
75
+ [08:46:04][ 3362s][FT] round 5/6 epoch 2/5 | patches=1000 | loss=0.1541
76
+ [08:47:04][ 3421s][FT] round 5/6 epoch 3/5 | patches=1000 | loss=0.1552
77
+ [08:48:03][ 3480s][FT] round 5/6 epoch 4/5 | patches=1000 | loss=0.1423
78
+ [08:49:02][ 3540s][FT] round 5/6 epoch 5/5 | patches=1000 | loss=0.1438
79
+ [08:49:08][ 3546s][AL] round 5/6 | labeled=500 | selection_seconds=42.0000 round_seconds=589.6000 pseudo_student_dice=0.8063 pseudo_ensemble_dice=0.1379 consistency_scale=1.0000 val_dice=0.8604 val_vi=0.0508 val_ece=0.0027
80
+ [08:49:50][ 3587s][AL] round 6: 2336/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [08:51:51][ 3708s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.116, lucchi=0.015, dros-vnc=0.272, multiclass=0.003 | blended with labeled Dice at 0.50
82
+ [08:53:42][ 3819s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.214, uniform=0.013, top1=0.216, top2=0.216, top3=0.215 -> using mixture
83
+ [08:53:42][ 3819s][WEIGHTS] round 6: teacher Dice on 512 labeled patches + 512 blank (2411238 fg px): fly-mito=0.093, lucchi=0.018, dros-vnc=0.216, multiclass=0.005 | weights: fly-mito=0.022, lucchi=0.027, dros-vnc=0.930, multiclass=0.021
84
+ [08:54:03][ 3840s][CONS] round 6: on the 100 new patches student Dice=0.830 vs ensemble 0.171 -> pseudo-labels from the student | consistency x1.00
85
+ [08:55:14][ 3911s][FT] round 6/6 epoch 1/5 | patches=1200 | loss=0.1388
86
+ [08:56:25][ 3982s][FT] round 6/6 epoch 2/5 | patches=1200 | loss=0.1365
87
+ [08:57:36][ 4053s][FT] round 6/6 epoch 3/5 | patches=1200 | loss=0.1608
88
+ [08:58:47][ 4124s][FT] round 6/6 epoch 4/5 | patches=1200 | loss=0.1408
89
+ [08:59:58][ 4196s][FT] round 6/6 epoch 5/5 | patches=1200 | loss=0.1164
90
+ [09:00:04][ 4201s][AL] round 6/6 | labeled=600 | selection_seconds=42.0000 round_seconds=650.0000 pseudo_student_dice=0.8301 pseudo_ensemble_dice=0.1706 consistency_scale=1.0000 val_dice=0.8608 val_vi=0.0520 val_ece=0.0029
91
+ [09:00:14][ 4212s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [09:01:25][ 4282s][FT] final 1/10 epoch 1/1 | patches=1200 | loss=0.1211
93
+ [09:02:36][ 4353s][FT] final 2/10 epoch 1/1 | patches=1200 | loss=0.1199
94
+ [09:03:47][ 4425s][FT] final 3/10 epoch 1/1 | patches=1200 | loss=0.1234
95
+ [09:04:58][ 4496s][FT] final 4/10 epoch 1/1 | patches=1200 | loss=0.1219
96
+ [09:06:09][ 4567s][FT] final 5/10 epoch 1/1 | patches=1200 | loss=0.1027
97
+ [09:07:21][ 4638s][FT] final 6/10 epoch 1/1 | patches=1200 | loss=0.1009
98
+ [09:08:32][ 4709s][FT] final 7/10 epoch 1/1 | patches=1200 | loss=0.0915
99
+ [09:09:43][ 4780s][FT] final 8/10 epoch 1/1 | patches=1200 | loss=0.0918
100
+ [09:10:54][ 4851s][FT] final 9/10 epoch 1/1 | patches=1200 | loss=0.0996
101
+ [09:12:05][ 4923s][FT] final 10/10 epoch 1/1 | patches=1200 | loss=0.0947
102
+ [09:12:11][ 4928s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=721.2000 val_dice=0.8854 val_vi=0.0413 val_ece=0.0029
103
+ [09:12:11][ 4928s][WEIGHTS] final: fly-mito=0.022, lucchi=0.027, dros-vnc=0.930, multiclass=0.021
104
+ [09:14:02][ 5040s][TEST] raw student (no EMA, no TTA): patch_dice=0.8665 patch_vi=0.0276
105
+ [09:14:15][ 5053s][TEST] final model without TTA: patch_dice=0.8665 patch_vi=0.0276
106
+ [09:14:15][ 5053s][RESOURCES] {"phases": {"setup": {"seconds": 0.75, "peak_cpu_rss_mb": 2191.9, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 48.62, "peak_cpu_rss_mb": 4172.5, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 1011.42, "peak_cpu_rss_mb": 5948.1, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4128.0, "kd_epochs": 5}, "active_learning": {"seconds": 3860.3, "peak_cpu_rss_mb": 5948.1, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4170.0, "rounds": 6}, "inference": {"seconds": 124.22, "peak_cpu_rss_mb": 5948.1, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4172.0, "patches": 2376, "images": 24, "patches_per_second": 19.1, "seconds_per_image": 5.176}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 5948.1, "total_seconds": 5045.3}
107
+ [09:14:15][ 5053s][TEST] patch_dice=0.8759 patch_iou=0.8475 patch_precision=0.9330 patch_recall=0.9041 patch_vi=0.0263 image_dice=0.9468 image_iou=0.8995 image_precision=0.9461 image_recall=0.9481 image_vi=0.0320 cal_ece=0.0016 cal_nll=0.0114 cal_brier=0.0026 cal_mean_confidence=0.9985 cal_accuracy=0.9969 cal_predicted_prevalence=0.0271 cal_true_prevalence=0.0268 cal_mean_probability=0.0270
108
+ [09:14:16][ 5054s][DONE] kasthuri-pp macs-v11-norestart-acq-entropy b5 s1 | test patch Dice=0.8759 VI=0.0263 | image Dice=0.9468 VI=0.0320 | 5053s
macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-entropy/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,667 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "kasthuri-pp",
3
+ "variant": "macs-v11-norestart-acq-entropy",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "kasthuri-pp",
9
+ "variant": "macs-v11-norestart-acq-entropy",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "entropy",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "kasthuri-pp",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-entropy",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "aecf380",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "lucchi-pp",
147
+ "drosophila-vnc",
148
+ "multiclass"
149
+ ],
150
+ "alphas": [
151
+ 0.055262541562243715,
152
+ 0.1430436080615447,
153
+ 0.6777947281235579,
154
+ 0.12389912225265376
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "lucchi-pp",
160
+ "drosophila-vnc",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.055262541562243715,
165
+ 0.1430436080615447,
166
+ 0.6777947281235579,
167
+ 0.12389912225265376
168
+ ],
169
+ "per_source": [
170
+ 0.00394341763649415,
171
+ 0.027391591802199966,
172
+ 0.9486104893290658,
173
+ 0.020054501232240087
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.11610906469392875,
183
+ "mmd2_mixture": 0.12571430106500386,
184
+ "mmd2_uniform": 0.23862555861405582,
185
+ "mmd2_single_source": [
186
+ 0.7126149676152926,
187
+ 0.43664360111426287,
188
+ 0.17981946303704704,
189
+ 0.44826934222434894
190
+ ],
191
+ "median_squared_distance": 0.17346729616407242,
192
+ "gammas": [
193
+ 1.4411938476491837,
194
+ 2.8823876952983674,
195
+ 5.764775390596735,
196
+ 11.52955078119347,
197
+ 23.05910156238694
198
+ ],
199
+ "max_weight": 0.6777947281235579,
200
+ "entropy": 0.9605236371075117,
201
+ "effective_sources": 2.6130644127307936,
202
+ "min_weight": 0.055262541562243715
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6491305090540279,
207
+ 0.5572005449783343,
208
+ 0.3890693813540105,
209
+ 0.571988659588714
210
+ ],
211
+ "standardized": [
212
+ 1.1309430868146413,
213
+ 0.16184892180501523,
214
+ -1.610532164849744,
215
+ 0.31774015623008967
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9486104893290658,
219
+ "entropy": 0.24881632938562975,
220
+ "effective_sources": 1.2825064526877779,
221
+ "min_weight": 0.00394341763649415
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "drosophila-vnc",
226
+ "seconds": 1.4
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.194080938472025,
231
+ 0.1369313835617696,
232
+ 0.3485636136721979,
233
+ 0.15175646072001214
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.34088805889447826,
237
+ "mixture@raw": 0.34615631820143733,
238
+ "mixture@logit": 0.32096912740211536,
239
+ "per_source": 0.34760137972472194,
240
+ "per_source@raw": 0.3482221938843253,
241
+ "per_source@logit": 0.34643796682361483,
242
+ "uniform": 0.1882329719806286,
243
+ "uniform@raw": 0.18328511906937095,
244
+ "uniform@logit": 0.20666689954871842
245
+ },
246
+ "val_patches": 1024
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 3.80090069770813,
251
+ 2.767641305923462,
252
+ 2.597146987915039
253
+ ],
254
+ "top_source": "drosophila-vnc",
255
+ "weight_stats": {
256
+ "max_weight": 0.6777947281235579,
257
+ "entropy": 0.9605236371075117,
258
+ "effective_sources": 2.6130644127307936,
259
+ "min_weight": 0.055262541562243715
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.19999999999999998,
263
+ "spearman_weight_taxonomy": 0.2581988897471611,
264
+ "top_source": "drosophila-vnc",
265
+ "top_source_is_best_teacher": true
266
+ },
267
+ "init_teacher": "drosophila-vnc",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.14106296265491142,
270
+ "kd_seconds": 1011.4,
271
+ "round0_val": {
272
+ "val_dice": 0.22230521027783137,
273
+ "val_vi": 0.15021869142723604,
274
+ "val_ece": 0.024154192170000647
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 100,
280
+ "selection_seconds": 83.3,
281
+ "round_seconds": 683.6,
282
+ "teacher_dice_labeled": [
283
+ 0.03781776614152498,
284
+ 0.008631654211325996,
285
+ 0.20429526102680404,
286
+ 0.002462217997419853
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 277958,
290
+ "evidence_nonempty_patches": 81,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.037854588964460804,
294
+ "restart_teacher_dice": 0.20429526102680404,
295
+ "weights": [
296
+ 0.014425496757348876,
297
+ 0.027887828907199822,
298
+ 0.9349764743833905,
299
+ 0.022710199952060868
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.20296856291238885,
304
+ "uniform": 0.003791982665222102,
305
+ "top1": 0.20429526102680404,
306
+ "top2": 0.20459987978743366,
307
+ "top3": 0.20364223129632752
308
+ },
309
+ "val_dice": 0.7304906483112401,
310
+ "val_vi": 0.09860420800166039,
311
+ "val_ece": 0.006122067360769768
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 200,
316
+ "selection_seconds": 42.0,
317
+ "round_seconds": 214.9,
318
+ "teacher_dice_labeled": [
319
+ 0.07584090652827795,
320
+ 0.03299669818917039,
321
+ 0.13684430388898855,
322
+ 0.0081834642784292
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 1027506,
326
+ "evidence_nonempty_patches": 178,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 0.0378790588809147,
331
+ 0.06388027088587322,
332
+ 0.8550684864561654,
333
+ 0.04317218377704667
334
+ ],
335
+ "ensemble_choice": "mixture",
336
+ "candidate_dice": {
337
+ "mixture": 0.1345944737548064,
338
+ "uniform": 0.01422790922259778,
339
+ "top1": 0.13684430388898855,
340
+ "top2": 0.13741123518504308,
341
+ "top3": 0.13573152285302534
342
+ },
343
+ "pseudo_student_dice": 0.5900695150463006,
344
+ "pseudo_ensemble_dice": 0.10871404767259664,
345
+ "pseudo_source": "student",
346
+ "consistency_scale": 0.3,
347
+ "val_dice": 0.8367504873013976,
348
+ "val_vi": 0.0604071687246516,
349
+ "val_ece": 0.0018813678527083225
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 300,
354
+ "selection_seconds": 41.9,
355
+ "round_seconds": 443.8,
356
+ "teacher_dice_labeled": [
357
+ 0.09410491162631666,
358
+ 0.019753152250683706,
359
+ 0.21479288222850765,
360
+ 0.004277525336689255
361
+ ],
362
+ "teacher_dice_pool": [
363
+ 0.11583249102758529,
364
+ 0.014004986028802935,
365
+ 0.26411840031088085,
366
+ 0.0010927551573748757
367
+ ],
368
+ "evidence_fg_pixels": 1431921,
369
+ "evidence_nonempty_patches": 269,
370
+ "first_correction": false,
371
+ "restart": "",
372
+ "weights": [
373
+ 0.02265206800706618,
374
+ 0.027876604279621704,
375
+ 0.928787550559032,
376
+ 0.020683777154280256
377
+ ],
378
+ "ensemble_choice": "mixture",
379
+ "candidate_dice": {
380
+ "mixture": 0.21362074475237053,
381
+ "uniform": 0.013180744674238559,
382
+ "top1": 0.21479288222850765,
383
+ "top2": 0.21514335117603156,
384
+ "top3": 0.21427675306672375
385
+ },
386
+ "pseudo_student_dice": 0.8157384611809655,
387
+ "pseudo_ensemble_dice": 0.23191085602224795,
388
+ "pseudo_source": "student",
389
+ "consistency_scale": 1.0,
390
+ "val_dice": 0.8474988516944891,
391
+ "val_vi": 0.052352724445911526,
392
+ "val_ece": 0.0033775932266113576
393
+ },
394
+ {
395
+ "round": 4,
396
+ "n_labeled": 400,
397
+ "selection_seconds": 42.0,
398
+ "round_seconds": 516.3,
399
+ "teacher_dice_labeled": [
400
+ 0.0905930387266031,
401
+ 0.017877815086345897,
402
+ 0.21396067424212706,
403
+ 0.004024708778821875
404
+ ],
405
+ "teacher_dice_pool": [
406
+ 0.11028078012272939,
407
+ 0.013610624233042259,
408
+ 0.2721740555641988,
409
+ 0.001608773147522873
410
+ ],
411
+ "evidence_fg_pixels": 1887583,
412
+ "evidence_nonempty_patches": 362,
413
+ "first_correction": false,
414
+ "restart": "",
415
+ "weights": [
416
+ 0.022070079558340224,
417
+ 0.027608530821177382,
418
+ 0.9295014342696468,
419
+ 0.02081995535083564
420
+ ],
421
+ "ensemble_choice": "mixture",
422
+ "candidate_dice": {
423
+ "mixture": 0.21284120228465636,
424
+ "uniform": 0.012371191155121971,
425
+ "top1": 0.21396067424212706,
426
+ "top2": 0.21427996967549467,
427
+ "top3": 0.21346076574775963
428
+ },
429
+ "pseudo_student_dice": 0.820048584988824,
430
+ "pseudo_ensemble_dice": 0.12350500020243735,
431
+ "pseudo_source": "student",
432
+ "consistency_scale": 1.0,
433
+ "val_dice": 0.8401894013194965,
434
+ "val_vi": 0.05195238749177214,
435
+ "val_ece": 0.002747599314205605
436
+ },
437
+ {
438
+ "round": 5,
439
+ "n_labeled": 500,
440
+ "selection_seconds": 42.0,
441
+ "round_seconds": 589.6,
442
+ "teacher_dice_labeled": [
443
+ 0.09141055023752703,
444
+ 0.017051576100546896,
445
+ 0.22105584207629211,
446
+ 0.004550119226199254
447
+ ],
448
+ "teacher_dice_pool": [
449
+ 0.11144896610606583,
450
+ 0.013122411638998625,
451
+ 0.2900320636792412,
452
+ 0.0014239416017628541
453
+ ],
454
+ "evidence_fg_pixels": 2417674,
455
+ "evidence_nonempty_patches": 461,
456
+ "first_correction": false,
457
+ "restart": "",
458
+ "weights": [
459
+ 0.020826516930618596,
460
+ 0.025628153924054202,
461
+ 0.9339558016859595,
462
+ 0.019589527459367744
463
+ ],
464
+ "ensemble_choice": "mixture",
465
+ "candidate_dice": {
466
+ "mixture": 0.21996896223701284,
467
+ "uniform": 0.013380655892565459,
468
+ "top1": 0.22105584207629211,
469
+ "top2": 0.22140687033401255,
470
+ "top3": 0.22059841909763112
471
+ },
472
+ "pseudo_student_dice": 0.8062622159868228,
473
+ "pseudo_ensemble_dice": 0.13791089170693827,
474
+ "pseudo_source": "student",
475
+ "consistency_scale": 1.0,
476
+ "val_dice": 0.8603952180050969,
477
+ "val_vi": 0.05084424495510591,
478
+ "val_ece": 0.002686674098639422
479
+ },
480
+ {
481
+ "round": 6,
482
+ "n_labeled": 600,
483
+ "selection_seconds": 42.0,
484
+ "round_seconds": 650.0,
485
+ "teacher_dice_labeled": [
486
+ 0.0929883618669614,
487
+ 0.0183669711352127,
488
+ 0.2156353693180218,
489
+ 0.004857743495817465
490
+ ],
491
+ "teacher_dice_pool": [
492
+ 0.115820433241756,
493
+ 0.015135867659614768,
494
+ 0.27208450552603364,
495
+ 0.0028672229574325868
496
+ ],
497
+ "evidence_fg_pixels": 2411238,
498
+ "evidence_nonempty_patches": 471,
499
+ "first_correction": false,
500
+ "restart": "",
501
+ "weights": [
502
+ 0.022237263579107578,
503
+ 0.02729243992452504,
504
+ 0.9298178119198955,
505
+ 0.02065248457647184
506
+ ],
507
+ "ensemble_choice": "mixture",
508
+ "candidate_dice": {
509
+ "mixture": 0.21446330415652365,
510
+ "uniform": 0.013375940114072303,
511
+ "top1": 0.2156353693180218,
512
+ "top2": 0.2159996588536014,
513
+ "top3": 0.21513142769519916
514
+ },
515
+ "pseudo_student_dice": 0.8300632758147568,
516
+ "pseudo_ensemble_dice": 0.17062110708034692,
517
+ "pseudo_source": "student",
518
+ "consistency_scale": 1.0,
519
+ "val_dice": 0.8607512127522224,
520
+ "val_vi": 0.05201825374881291,
521
+ "val_ece": 0.0029437962306920057
522
+ },
523
+ {
524
+ "round": 7,
525
+ "n_labeled": 600,
526
+ "selection_seconds": 0.0,
527
+ "round_seconds": 721.2,
528
+ "final_consolidation": true,
529
+ "val_dice": 0.8854431193714826,
530
+ "val_vi": 0.0413108489859979,
531
+ "val_ece": 0.0028508722852614143
532
+ }
533
+ ],
534
+ "uncertainty_quality": {
535
+ "spearman_uncertainty_error": -0.3458863863149128,
536
+ "auroc_top20_error": 0.36265166015625
537
+ },
538
+ "al_seconds": 3860.3,
539
+ "source_archs": [
540
+ "unet",
541
+ "unet",
542
+ "unet",
543
+ "unet"
544
+ ],
545
+ "alphas_final": [
546
+ 0.022237263579107578,
547
+ 0.02729243992452504,
548
+ 0.9298178119198955,
549
+ 0.02065248457647184
550
+ ],
551
+ "weight_stats_final": {
552
+ "max_weight": 0.9298178119198955,
553
+ "entropy": 0.3307084327822969,
554
+ "effective_sources": 1.3919538850150148,
555
+ "min_weight": 0.02065248457647184
556
+ },
557
+ "top_source_final": "drosophila-vnc",
558
+ "ensemble_choice_final": "",
559
+ "restart": "kept",
560
+ "test_raw_student": {
561
+ "patch_dice": 0.8665314979226896,
562
+ "patch_iou": 0.8374277072784165,
563
+ "patch_precision": 0.9208533164412269,
564
+ "patch_recall": 0.9051563822798545,
565
+ "patch_vi": 0.027594797590052678,
566
+ "n_patches": 2376,
567
+ "cal_ece": 0.0021656661630985764,
568
+ "cal_nll": 0.01375716441216002,
569
+ "cal_brier": 0.002850755817302684,
570
+ "cal_mean_confidence": 0.9987719470711373,
571
+ "cal_accuracy": 0.9966062809080387,
572
+ "cal_predicted_prevalence": 0.027316623263888888,
573
+ "cal_true_prevalence": 0.026826286958122895,
574
+ "cal_mean_probability": 0.027120532269459516
575
+ },
576
+ "test_notta": {
577
+ "patch_dice": 0.8665314979226896,
578
+ "patch_iou": 0.8374277072784165,
579
+ "patch_precision": 0.9208533164412269,
580
+ "patch_recall": 0.9051563822798545,
581
+ "patch_vi": 0.027594797590052678,
582
+ "n_patches": 2376,
583
+ "cal_ece": 0.0021656661630985764,
584
+ "cal_nll": 0.01375716441216002,
585
+ "cal_brier": 0.002850755817302684,
586
+ "cal_mean_confidence": 0.9987719470711373,
587
+ "cal_accuracy": 0.9966062809080387,
588
+ "cal_predicted_prevalence": 0.027316623263888888,
589
+ "cal_true_prevalence": 0.026826286958122895,
590
+ "cal_mean_probability": 0.027120532269459516
591
+ },
592
+ "test": {
593
+ "patch_dice": 0.875913909393184,
594
+ "patch_iou": 0.8474997327678472,
595
+ "patch_precision": 0.9330206901599026,
596
+ "patch_recall": 0.904096587521667,
597
+ "patch_vi": 0.026343271704068902,
598
+ "n_patches": 2376,
599
+ "image_dice": 0.9468178241085186,
600
+ "image_iou": 0.8995131509390805,
601
+ "image_precision": 0.9460566273553056,
602
+ "image_recall": 0.9480638794469338,
603
+ "image_vi": 0.03204408346277166,
604
+ "n_images": 24,
605
+ "cal_ece": 0.0016236001779007755,
606
+ "cal_nll": 0.011411511158590052,
607
+ "cal_brier": 0.002567256205654599,
608
+ "cal_mean_confidence": 0.9984630915407051,
609
+ "cal_accuracy": 0.9968504215330387,
610
+ "cal_predicted_prevalence": 0.027095499263468013,
611
+ "cal_true_prevalence": 0.026826286958122895,
612
+ "cal_mean_probability": 0.02698464092476411
613
+ },
614
+ "eval_seconds": 124.2,
615
+ "total_seconds": 5052.7,
616
+ "resources": {
617
+ "phases": {
618
+ "setup": {
619
+ "seconds": 0.75,
620
+ "peak_cpu_rss_mb": 2191.9,
621
+ "peak_gpu_alloc_mb": 592.4,
622
+ "peak_gpu_reserved_mb": 594.0
623
+ },
624
+ "features_and_weights": {
625
+ "seconds": 48.62,
626
+ "peak_cpu_rss_mb": 4172.5,
627
+ "peak_gpu_alloc_mb": 2298.2,
628
+ "peak_gpu_reserved_mb": 2640.0
629
+ },
630
+ "distillation": {
631
+ "seconds": 1011.42,
632
+ "peak_cpu_rss_mb": 5948.1,
633
+ "peak_gpu_alloc_mb": 3826.7,
634
+ "peak_gpu_reserved_mb": 4128.0,
635
+ "kd_epochs": 5
636
+ },
637
+ "active_learning": {
638
+ "seconds": 3860.3,
639
+ "peak_cpu_rss_mb": 5948.1,
640
+ "peak_gpu_alloc_mb": 3947.0,
641
+ "peak_gpu_reserved_mb": 4170.0,
642
+ "rounds": 6
643
+ },
644
+ "inference": {
645
+ "seconds": 124.22,
646
+ "peak_cpu_rss_mb": 5948.1,
647
+ "peak_gpu_alloc_mb": 2149.5,
648
+ "peak_gpu_reserved_mb": 4172.0,
649
+ "patches": 2376,
650
+ "images": 24,
651
+ "patches_per_second": 19.1,
652
+ "seconds_per_image": 5.176
653
+ }
654
+ },
655
+ "peak_gpu_alloc_mb": 3947.0,
656
+ "peak_cpu_rss_mb": 5948.1,
657
+ "total_seconds": 5045.3
658
+ },
659
+ "student_parameters": 31042369,
660
+ "teacher_parameters": [
661
+ 31042369,
662
+ 31042369,
663
+ 31042369,
664
+ 31042369
665
+ ],
666
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/kasthuri-pp/macs-v11-norestart-acq-entropy_b5_s1.pth"
667
+ }
macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-entropy/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,100,83.3,683.6,"[0.03781776614152498, 0.008631654211325996, 0.20429526102680404, 0.002462217997419853]",,277958,81,True,kept,0.037854588964460804,0.20429526102680404,"[0.014425496757348876, 0.027887828907199822, 0.9349764743833905, 0.022710199952060868]",mixture,"{'mixture': 0.20296856291238885, 'uniform': 0.003791982665222102, 'top1': 0.20429526102680404, 'top2': 0.20459987978743366, 'top3': 0.20364223129632752}",0.7304906483112401,0.09860420800166039,0.006122067360769768,,,,,
3
+ 2,200,42.0,214.9,"[0.07584090652827795, 0.03299669818917039, 0.13684430388898855, 0.0081834642784292]",,1027506,178,False,,,,"[0.0378790588809147, 0.06388027088587322, 0.8550684864561654, 0.04317218377704667]",mixture,"{'mixture': 0.1345944737548064, 'uniform': 0.01422790922259778, 'top1': 0.13684430388898855, 'top2': 0.13741123518504308, 'top3': 0.13573152285302534}",0.8367504873013976,0.0604071687246516,0.0018813678527083225,0.5900695150463006,0.10871404767259664,student,0.3,
4
+ 3,300,41.9,443.8,"[0.09410491162631666, 0.019753152250683706, 0.21479288222850765, 0.004277525336689255]","[0.11583249102758529, 0.014004986028802935, 0.26411840031088085, 0.0010927551573748757]",1431921,269,False,,,,"[0.02265206800706618, 0.027876604279621704, 0.928787550559032, 0.020683777154280256]",mixture,"{'mixture': 0.21362074475237053, 'uniform': 0.013180744674238559, 'top1': 0.21479288222850765, 'top2': 0.21514335117603156, 'top3': 0.21427675306672375}",0.8474988516944891,0.052352724445911526,0.0033775932266113576,0.8157384611809655,0.23191085602224795,student,1.0,
5
+ 4,400,42.0,516.3,"[0.0905930387266031, 0.017877815086345897, 0.21396067424212706, 0.004024708778821875]","[0.11028078012272939, 0.013610624233042259, 0.2721740555641988, 0.001608773147522873]",1887583,362,False,,,,"[0.022070079558340224, 0.027608530821177382, 0.9295014342696468, 0.02081995535083564]",mixture,"{'mixture': 0.21284120228465636, 'uniform': 0.012371191155121971, 'top1': 0.21396067424212706, 'top2': 0.21427996967549467, 'top3': 0.21346076574775963}",0.8401894013194965,0.05195238749177214,0.002747599314205605,0.820048584988824,0.12350500020243735,student,1.0,
6
+ 5,500,42.0,589.6,"[0.09141055023752703, 0.017051576100546896, 0.22105584207629211, 0.004550119226199254]","[0.11144896610606583, 0.013122411638998625, 0.2900320636792412, 0.0014239416017628541]",2417674,461,False,,,,"[0.020826516930618596, 0.025628153924054202, 0.9339558016859595, 0.019589527459367744]",mixture,"{'mixture': 0.21996896223701284, 'uniform': 0.013380655892565459, 'top1': 0.22105584207629211, 'top2': 0.22140687033401255, 'top3': 0.22059841909763112}",0.8603952180050969,0.05084424495510591,0.002686674098639422,0.8062622159868228,0.13791089170693827,student,1.0,
7
+ 6,600,42.0,650.0,"[0.0929883618669614, 0.0183669711352127, 0.2156353693180218, 0.004857743495817465]","[0.115820433241756, 0.015135867659614768, 0.27208450552603364, 0.0028672229574325868]",2411238,471,False,,,,"[0.022237263579107578, 0.02729243992452504, 0.9298178119198955, 0.02065248457647184]",mixture,"{'mixture': 0.21446330415652365, 'uniform': 0.013375940114072303, 'top1': 0.2156353693180218, 'top2': 0.2159996588536014, 'top3': 0.21513142769519916}",0.8607512127522224,0.05201825374881291,0.0029437962306920057,0.8300632758147568,0.17062110708034692,student,1.0,
8
+ 7,600,0.0,721.2,,,,,,,,,,,,0.8854431193714826,0.0413108489859979,0.0028508722852614143,,,,,True
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [23:30:06][ 0s][START] target=lucchi-pp variant=macs-v11-norestart-acq-laplace budget=5.0% seed=1 | {"task": "mitochondria", "target": "lucchi-pp", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [23:30:06][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [23:30:06][ 0s][DATA] lucchi-pp: train=8050 val=1750 test=1750 patches
4
+ [23:30:08][ 2s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, dros-vnc=2.77, multiclass=2.60
5
+ [23:30:08][ 2s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [23:30:09][ 3s][WEIGHTS] mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920 | eff.sources=1.44 | MMD2 mix=0.0050 uniform=0.2092
7
+ [23:30:09][ 3s][WEIGHTS] per-source: fly-mito=0.013, kasthuri=0.022, dros-vnc=0.005, multiclass=0.960 | min-MMD source (NeuroADDA rule) = multiclass
8
+ [23:30:47][ 41s][TEACHERS] target-val Dice: fly-mito=0.243, kasthuri=0.161, dros-vnc=0.162, multiclass=0.833
9
+ [23:30:47][ 41s][TEACHERS] ensemble target-val Dice: mixture=0.834, mixture@raw=0.833, mixture@logit=0.835, per_source=0.834, per_source@raw=0.833, per_source@logit=0.834, uniform=0.331, uniform@raw=0.184, uniform@logit=0.220
10
+ [23:30:47][ 41s][WEIGHTS] using mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920
11
+ [23:30:47][ 41s][INIT] student initialised from teacher multiclass (weight 0.920)
12
+ [23:30:50][ 44s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [23:30:50][ 44s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [23:32:54][ 168s][KD] soft labels for 6000 patches from 4 teachers in 123s
15
+ [23:35:54][ 348s][KD] epoch 1/5 | patches=6000 | loss=0.1185 | 180s
16
+ [23:38:54][ 528s][KD] epoch 2/5 | patches=6000 | loss=0.1064 | 181s
17
+ [23:41:55][ 709s][KD] epoch 3/5 | patches=6000 | loss=0.1046 | 181s
18
+ [23:44:55][ 889s][KD] epoch 4/5 | patches=6000 | loss=0.1035 | 180s
19
+ [23:47:55][ 1069s][KD] epoch 5/5 | patches=6000 | loss=0.1028 | 180s
20
+ [23:48:02][ 1075s][ROUND0] before any target label: val_dice=0.8843 val_vi=0.0624
21
+ [23:48:02][ 1075s][AL] patches=8050 (pool 8050 after dropping blank; free blank negatives: True) | budget=402 (5.0%) | rounds=6 | per_round=67 | acquisition=laplace | first_round=stratified
22
+ [23:49:29][ 1163s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': 0.0892883911765001, 'auroc_top20_error': 0.473226806640625}
23
+ [23:50:11][ 1205s][AL] round 1: stratified cold start: 34 patches from the membrane-rich half (ensemble prevalence >= 0.074) + 33 from the membrane-poor half of 2000 candidates
24
+ [23:50:17][ 1211s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.932, uniform=0.354, top1=0.932, top2=0.932, top3=0.932 -> using mixture
25
+ [23:50:18][ 1212s][WEIGHTS] round 1: student kept (labeled Dice 0.940 vs best teacher multiclass 0.932); distilling the corrected ensemble into it
26
+ [23:50:18][ 1212s][WEIGHTS] round 1: teacher Dice on 67 labeled patches + 0 blank (352197 fg px): fly-mito=0.288, kasthuri=0.000, dros-vnc=0.023, multiclass=0.932 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
27
+ [23:52:22][ 1336s][KD] soft labels for 6000 patches from 4 teachers in 124s
28
+ [23:55:22][ 1516s][KD] epoch 1/2 | patches=6000 | loss=0.0467 | 180s
29
+ [23:58:23][ 1697s][KD] epoch 2/2 | patches=6000 | loss=0.0462 | 181s
30
+ [23:59:04][ 1738s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 42s
31
+ [23:59:09][ 1743s][FT] round 1/6 epoch 1/5 | patches=67 | loss=0.3159
32
+ [23:59:14][ 1748s][FT] round 1/6 epoch 2/5 | patches=67 | loss=0.3304
33
+ [23:59:19][ 1753s][FT] round 1/6 epoch 3/5 | patches=67 | loss=0.3587
34
+ [23:59:24][ 1758s][FT] round 1/6 epoch 4/5 | patches=67 | loss=0.3334
35
+ [23:59:29][ 1763s][FT] round 1/6 epoch 5/5 | patches=67 | loss=0.2772
36
+ [23:59:35][ 1769s][AL] round 1/6 | labeled=67 | selection_seconds=129.3000 round_seconds=687.5000 restart_student_dice=0.9401 restart_teacher_dice=0.9318 val_dice=0.8065 val_vi=0.0844 val_ece=0.0065
37
+ [00:01:02][ 1856s][AL] round 2: 1197/7983 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [00:01:13][ 1867s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.840, uniform=0.218, top1=0.840, top2=0.840, top3=0.840 -> using mixture
39
+ [00:01:13][ 1867s][WEIGHTS] round 2: teacher Dice on 134 labeled patches + 0 blank (778080 fg px): fly-mito=0.289, kasthuri=0.000, dros-vnc=0.012, multiclass=0.840 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
40
+ [00:01:18][ 1871s][CONS] round 2: on the 67 new patches student Dice=0.770 vs ensemble 0.763 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [00:01:26][ 1880s][FT] round 2/6 epoch 1/5 | patches=134 | loss=0.4674
42
+ [00:01:35][ 1889s][FT] round 2/6 epoch 2/5 | patches=134 | loss=0.3997
43
+ [00:01:44][ 1898s][FT] round 2/6 epoch 3/5 | patches=134 | loss=0.3579
44
+ [00:01:53][ 1907s][FT] round 2/6 epoch 4/5 | patches=134 | loss=0.3644
45
+ [00:02:02][ 1915s][FT] round 2/6 epoch 5/5 | patches=134 | loss=0.3159
46
+ [00:04:10][ 0s][START] target=lucchi-pp variant=macs-v11-norestart-acq-laplace budget=5.0% seed=1 | {"task": "mitochondria", "target": "lucchi-pp", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
47
+ [00:04:10][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
48
+ [00:04:15][ 5s][DATA] lucchi-pp: train=8050 val=1750 test=1750 patches
49
+ [00:04:26][ 16s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, dros-vnc=2.77, multiclass=2.60
50
+ [00:04:36][ 26s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 9s
51
+ [00:04:37][ 27s][WEIGHTS] mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920 | eff.sources=1.44 | MMD2 mix=0.0050 uniform=0.2092
52
+ [00:04:37][ 27s][WEIGHTS] per-source: fly-mito=0.013, kasthuri=0.022, dros-vnc=0.005, multiclass=0.960 | min-MMD source (NeuroADDA rule) = multiclass
53
+ [00:05:16][ 66s][TEACHERS] target-val Dice: fly-mito=0.243, kasthuri=0.161, dros-vnc=0.162, multiclass=0.833
54
+ [00:05:16][ 66s][TEACHERS] ensemble target-val Dice: mixture=0.834, mixture@raw=0.833, mixture@logit=0.835, per_source=0.834, per_source@raw=0.833, per_source@logit=0.834, uniform=0.331, uniform@raw=0.184, uniform@logit=0.220
55
+ [00:05:16][ 66s][WEIGHTS] using mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920
56
+ [00:05:16][ 66s][INIT] student initialised from teacher multiclass (weight 0.920)
57
+ [00:05:27][ 76s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
58
+ [00:05:27][ 76s][KD] distilling the mixture ensemble (prob space) into the student
59
+ [00:07:29][ 199s][KD] soft labels for 6000 patches from 4 teachers in 123s
60
+ [00:10:29][ 379s][KD] epoch 1/5 | patches=6000 | loss=0.1185 | 179s
61
+ [00:13:31][ 561s][KD] epoch 2/5 | patches=6000 | loss=0.1064 | 182s
62
+ [00:16:30][ 740s][KD] epoch 3/5 | patches=6000 | loss=0.1043 | 179s
63
+ [00:19:29][ 918s][KD] epoch 4/5 | patches=6000 | loss=0.1035 | 179s
64
+ [00:22:28][ 1097s][KD] epoch 5/5 | patches=6000 | loss=0.1031 | 179s
65
+ [00:22:33][ 1103s][ROUND0] before any target label: val_dice=0.8827 val_vi=0.0617
66
+ [00:22:33][ 1103s][AL] patches=8050 (pool 8050 after dropping blank; free blank negatives: True) | budget=402 (5.0%) | rounds=6 | per_round=67 | acquisition=laplace | first_round=stratified
67
+ [00:24:00][ 1190s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': 0.08900566294125338, 'auroc_top20_error': 0.471344873046875}
68
+ [00:24:42][ 1232s][AL] round 1: stratified cold start: 34 patches from the membrane-rich half (ensemble prevalence >= 0.074) + 33 from the membrane-poor half of 2000 candidates
69
+ [00:24:47][ 1237s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.932, uniform=0.354, top1=0.932, top2=0.932, top3=0.932 -> using mixture
70
+ [00:24:48][ 1238s][WEIGHTS] round 1: student kept (labeled Dice 0.940 vs best teacher multiclass 0.932); distilling the corrected ensemble into it
71
+ [00:24:48][ 1238s][WEIGHTS] round 1: teacher Dice on 67 labeled patches + 0 blank (352197 fg px): fly-mito=0.288, kasthuri=0.000, dros-vnc=0.023, multiclass=0.932 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
72
+ [00:26:51][ 1361s][KD] soft labels for 6000 patches from 4 teachers in 123s
73
+ [00:29:50][ 1540s][KD] epoch 1/2 | patches=6000 | loss=0.0466 | 179s
74
+ [00:32:49][ 1719s][KD] epoch 2/2 | patches=6000 | loss=0.0459 | 179s
75
+ [00:33:30][ 1760s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 41s
76
+ [00:33:35][ 1765s][FT] round 1/6 epoch 1/5 | patches=67 | loss=0.3159
77
+ [00:33:39][ 1769s][FT] round 1/6 epoch 2/5 | patches=67 | loss=0.3248
78
+ [00:33:44][ 1774s][FT] round 1/6 epoch 3/5 | patches=67 | loss=0.3628
79
+ [00:33:48][ 1778s][FT] round 1/6 epoch 4/5 | patches=67 | loss=0.3215
80
+ [00:33:53][ 1783s][FT] round 1/6 epoch 5/5 | patches=67 | loss=0.2480
81
+ [00:33:59][ 1789s][AL] round 1/6 | labeled=67 | selection_seconds=128.5000 round_seconds=679.8000 restart_student_dice=0.9398 restart_teacher_dice=0.9318 val_dice=0.8461 val_vi=0.0856 val_ece=0.0067
82
+ [00:35:25][ 1875s][AL] round 2: 1183/7983 candidates skipped as agreed-empty (predicted prevalence < 0.005)
83
+ [00:35:36][ 1886s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.819, uniform=0.253, top1=0.819, top2=0.819, top3=0.819 -> using mixture
84
+ [00:35:36][ 1886s][WEIGHTS] round 2: teacher Dice on 134 labeled patches + 0 blank (650845 fg px): fly-mito=0.246, kasthuri=0.000, dros-vnc=0.024, multiclass=0.819 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
85
+ [00:35:40][ 1889s][CONS] round 2: on the 67 new patches student Dice=0.680 vs ensemble 0.689 -> pseudo-labels from the ensemble | consistency x1.00
86
+ [00:35:48][ 1898s][FT] round 2/6 epoch 1/5 | patches=134 | loss=0.5413
87
+ [00:35:56][ 1906s][FT] round 2/6 epoch 2/5 | patches=134 | loss=0.3978
88
+ [00:36:05][ 1914s][FT] round 2/6 epoch 3/5 | patches=134 | loss=0.3414
89
+ [00:36:13][ 1923s][FT] round 2/6 epoch 4/5 | patches=134 | loss=0.3627
90
+ [00:36:22][ 1931s][FT] round 2/6 epoch 5/5 | patches=134 | loss=0.3053
91
+ [00:36:27][ 1937s][AL] round 2/6 | labeled=134 | selection_seconds=86.6000 round_seconds=142.8000 pseudo_student_dice=0.6799 pseudo_ensemble_dice=0.6885 consistency_scale=1.0000 val_dice=0.8239 val_vi=0.0783 val_ece=0.0062
92
+ [00:37:53][ 2023s][AL] round 3: 1286/7916 candidates skipped as agreed-empty (predicted prevalence < 0.005)
93
+ [00:38:08][ 2038s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.826, uniform=0.199, top1=0.826, top2=0.826, top3=0.826 -> using mixture
94
+ [00:38:08][ 2038s][WEIGHTS] round 3: teacher Dice on 201 labeled patches + 0 blank (1077649 fg px): fly-mito=0.271, kasthuri=0.000, dros-vnc=0.016, multiclass=0.826 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
95
+ [00:38:12][ 2042s][CONS] round 3: on the 67 new patches student Dice=0.843 vs ensemble 0.836 -> pseudo-labels from the ensemble | consistency x1.00
96
+ [00:38:25][ 2054s][FT] round 3/6 epoch 1/5 | patches=201 | loss=0.3340
97
+ [00:38:37][ 2067s][FT] round 3/6 epoch 2/5 | patches=201 | loss=0.3026
98
+ [00:38:49][ 2079s][FT] round 3/6 epoch 3/5 | patches=201 | loss=0.2820
99
+ [00:39:02][ 2092s][FT] round 3/6 epoch 4/5 | patches=201 | loss=0.2937
100
+ [00:39:14][ 2104s][FT] round 3/6 epoch 5/5 | patches=201 | loss=0.2591
101
+ [00:39:20][ 2110s][AL] round 3/6 | labeled=201 | selection_seconds=85.8000 round_seconds=167.1000 pseudo_student_dice=0.8429 pseudo_ensemble_dice=0.8358 consistency_scale=1.0000 val_dice=0.8594 val_vi=0.0649 val_ece=0.0037
102
+ [00:40:45][ 2195s][AL] round 4: 1380/7849 candidates skipped as agreed-empty (predicted prevalence < 0.005)
103
+ [00:41:05][ 2215s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.841, uniform=0.192, top1=0.841, top2=0.841, top3=0.841 -> using mixture
104
+ [00:41:05][ 2215s][WEIGHTS] round 4: teacher Dice on 268 labeled patches + 0 blank (1455704 fg px): fly-mito=0.281, kasthuri=0.001, dros-vnc=0.023, multiclass=0.841 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
105
+ [00:41:09][ 2219s][CONS] round 4: on the 67 new patches student Dice=0.865 vs ensemble 0.884 -> pseudo-labels from the ensemble | consistency x1.00
106
+ [00:41:25][ 2235s][FT] round 4/6 epoch 1/5 | patches=268 | loss=0.2903
107
+ [00:41:41][ 2251s][FT] round 4/6 epoch 2/5 | patches=268 | loss=0.3076
108
+ [00:41:58][ 2267s][FT] round 4/6 epoch 3/5 | patches=268 | loss=0.2736
109
+ [00:42:14][ 2284s][FT] round 4/6 epoch 4/5 | patches=268 | loss=0.2825
110
+ [00:42:30][ 2300s][FT] round 4/6 epoch 5/5 | patches=268 | loss=0.2638
111
+ [00:42:36][ 2306s][AL] round 4/6 | labeled=268 | selection_seconds=84.9000 round_seconds=190.2000 pseudo_student_dice=0.8653 pseudo_ensemble_dice=0.8842 consistency_scale=1.0000 val_dice=0.8642 val_vi=0.0689 val_ece=0.0044
112
+ [00:44:00][ 2390s][AL] round 5: 1217/7782 candidates skipped as agreed-empty (predicted prevalence < 0.005)
113
+ [00:44:25][ 2415s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.849, uniform=0.205, top1=0.849, top2=0.849, top3=0.849 -> using mixture
114
+ [00:44:25][ 2415s][WEIGHTS] round 5: teacher Dice on 335 labeled patches + 0 blank (1867412 fg px): fly-mito=0.284, kasthuri=0.001, dros-vnc=0.023, multiclass=0.849 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
115
+ [00:44:29][ 2419s][CONS] round 5: on the 67 new patches student Dice=0.875 vs ensemble 0.877 -> pseudo-labels from the ensemble | consistency x1.00
116
+ [00:44:49][ 2439s][FT] round 5/6 epoch 1/5 | patches=335 | loss=0.2433
117
+ [00:45:09][ 2459s][FT] round 5/6 epoch 2/5 | patches=335 | loss=0.2352
118
+ [00:45:29][ 2479s][FT] round 5/6 epoch 3/5 | patches=335 | loss=0.2319
119
+ [00:45:49][ 2499s][FT] round 5/6 epoch 4/5 | patches=335 | loss=0.2302
120
+ [00:46:10][ 2519s][FT] round 5/6 epoch 5/5 | patches=335 | loss=0.2170
121
+ [00:46:15][ 2525s][AL] round 5/6 | labeled=335 | selection_seconds=84.2000 round_seconds=213.6000 pseudo_student_dice=0.8754 pseudo_ensemble_dice=0.8775 consistency_scale=1.0000 val_dice=0.8630 val_vi=0.0682 val_ece=0.0053
122
+ [00:47:39][ 2608s][AL] round 6: 1218/7715 candidates skipped as agreed-empty (predicted prevalence < 0.005)
123
+ [00:48:09][ 2638s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.851, uniform=0.205, top1=0.851, top2=0.851, top3=0.851 -> using mixture
124
+ [00:48:09][ 2638s][WEIGHTS] round 6: teacher Dice on 402 labeled patches + 0 blank (2210520 fg px): fly-mito=0.279, kasthuri=0.000, dros-vnc=0.020, multiclass=0.851 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
125
+ [00:48:13][ 2642s][CONS] round 6: on the 67 new patches student Dice=0.864 vs ensemble 0.862 -> pseudo-labels from the ensemble | consistency x1.00
126
+ [00:48:37][ 2666s][FT] round 6/6 epoch 1/5 | patches=402 | loss=0.2212
127
+ [00:49:01][ 2691s][FT] round 6/6 epoch 2/5 | patches=402 | loss=0.2089
128
+ [00:49:25][ 2715s][FT] round 6/6 epoch 3/5 | patches=402 | loss=0.1954
129
+ [00:49:49][ 2739s][FT] round 6/6 epoch 4/5 | patches=402 | loss=0.2278
130
+ [00:50:14][ 2763s][FT] round 6/6 epoch 5/5 | patches=402 | loss=0.2029
131
+ [00:50:19][ 2769s][AL] round 6/6 | labeled=402 | selection_seconds=83.5000 round_seconds=238.4000 pseudo_student_dice=0.8636 pseudo_ensemble_dice=0.8622 consistency_scale=1.0000 val_dice=0.8705 val_vi=0.0671 val_ece=0.0055
132
+ [00:50:44][ 2793s][FT] final 1/10 epoch 1/1 | patches=402 | loss=0.1935
133
+ [00:51:08][ 2818s][FT] final 2/10 epoch 1/1 | patches=402 | loss=0.1710
134
+ [00:51:32][ 2842s][FT] final 3/10 epoch 1/1 | patches=402 | loss=0.1776
135
+ [00:51:56][ 2866s][FT] final 4/10 epoch 1/1 | patches=402 | loss=0.1640
136
+ [00:52:20][ 2890s][FT] final 5/10 epoch 1/1 | patches=402 | loss=0.1549
137
+ [00:52:45][ 2915s][FT] final 6/10 epoch 1/1 | patches=402 | loss=0.1496
138
+ [00:53:09][ 2939s][FT] final 7/10 epoch 1/1 | patches=402 | loss=0.1495
139
+ [00:53:33][ 2963s][FT] final 8/10 epoch 1/1 | patches=402 | loss=0.1429
140
+ [00:53:58][ 2987s][FT] final 9/10 epoch 1/1 | patches=402 | loss=0.1361
141
+ [00:54:22][ 3012s][FT] final 10/10 epoch 1/1 | patches=402 | loss=0.1372
142
+ [00:54:28][ 3017s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=242.4000 val_dice=0.8826 val_vi=0.0611 val_ece=0.0041
143
+ [00:54:28][ 3017s][WEIGHTS] final: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
144
+ [00:55:50][ 3099s][TEST] raw student (no EMA, no TTA): patch_dice=0.9136 patch_vi=0.0429
145
+ [00:55:59][ 3109s][TEST] final model without TTA: patch_dice=0.9136 patch_vi=0.0429
146
+ [00:55:59][ 3109s][RESOURCES] {"phases": {"setup": {"seconds": 8.23, "peak_cpu_rss_mb": 2169.5, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 60.15, "peak_cpu_rss_mb": 4165.8, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 1020.9, "peak_cpu_rss_mb": 5938.9, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4128.0, "kd_epochs": 5}, "active_learning": {"seconds": 1914.27, "peak_cpu_rss_mb": 5938.9, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4176.0, "rounds": 6}, "inference": {"seconds": 91.59, "peak_cpu_rss_mb": 5938.9, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4176.0, "patches": 1750, "images": 50, "patches_per_second": 19.1, "seconds_per_image": 1.832}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 5938.9, "total_seconds": 3095.1}
147
+ [00:55:59][ 3109s][TEST] patch_dice=0.9262 patch_iou=0.8974 patch_precision=0.9610 patch_recall=0.9315 patch_vi=0.0406 image_dice=0.9555 image_iou=0.9153 image_precision=0.9706 image_recall=0.9415 image_vi=0.0454 cal_ece=0.0018 cal_nll=0.0168 cal_brier=0.0035 cal_mean_confidence=0.9974 cal_accuracy=0.9956 cal_predicted_prevalence=0.0439 cal_true_prevalence=0.0452 cal_mean_probability=0.0442
148
+ [00:56:00][ 3110s][DONE] lucchi-pp macs-v11-norestart-acq-laplace b5 s1 | test patch Dice=0.9262 VI=0.0406 | image Dice=0.9555 VI=0.0454 | 3109s
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,647 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "lucchi-pp",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "lucchi-pp",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "laplace",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "fce9b15",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "lucchi-pp",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "fce9b15",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "kasthuri-pp",
147
+ "drosophila-vnc",
148
+ "multiclass"
149
+ ],
150
+ "alphas": [
151
+ 0.03256907457032885,
152
+ 0.031801008835420135,
153
+ 0.015561893577512515,
154
+ 0.9200680230167385
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "drosophila-vnc",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.03256907457032885,
165
+ 0.031801008835420135,
166
+ 0.015561893577512515,
167
+ 0.9200680230167385
168
+ ],
169
+ "per_source": [
170
+ 0.013021514318439549,
171
+ 0.021594227384204207,
172
+ 0.00495364759466876,
173
+ 0.9604306107026874
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.001413505929905978,
183
+ "mmd2_mixture": 0.005039697348754646,
184
+ "mmd2_uniform": 0.2092228336519747,
185
+ "mmd2_single_source": [
186
+ 0.5680513520444281,
187
+ 0.4644148125694437,
188
+ 0.6002511462494531,
189
+ 0.004698715465898062
190
+ ],
191
+ "median_squared_distance": 0.1892747764462741,
192
+ "gammas": [
193
+ 1.3208310409546982,
194
+ 2.6416620819093963,
195
+ 5.283324163818793,
196
+ 10.566648327637585,
197
+ 21.13329665527517
198
+ ],
199
+ "max_weight": 0.9200680230167385,
200
+ "entropy": 0.36261914188486677,
201
+ "effective_sources": 1.4370884282110035,
202
+ "min_weight": 0.015561893577512515
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6675354526109456,
207
+ 0.5899267604637966,
208
+ 0.8158227740743191,
209
+ 0.007664790896468099
210
+ ],
211
+ "standardized": [
212
+ 0.4800153933276398,
213
+ 0.22710384776568787,
214
+ 0.9632547653742088,
215
+ -1.670374006467536
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9604306107026874,
219
+ "entropy": 0.2044174691373809,
220
+ "effective_sources": 1.2268102019632934,
221
+ "min_weight": 0.00495364759466876
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "multiclass",
226
+ "seconds": 10.6
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.24317352702666994,
231
+ 0.16070093323689605,
232
+ 0.16243146338599246,
233
+ 0.8333945099982429
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.8341164139370107,
237
+ "mixture@raw": 0.8334634452984915,
238
+ "mixture@logit": 0.8348661307075531,
239
+ "per_source": 0.8335017830355866,
240
+ "per_source@raw": 0.8334355010464378,
241
+ "per_source@logit": 0.8337681001665089,
242
+ "uniform": 0.3312974448451058,
243
+ "uniform@raw": 0.18374038775198187,
244
+ "uniform@logit": 0.21963766526924644
245
+ },
246
+ "val_patches": 1024
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 2.5090832710266113,
251
+ 2.767641305923462,
252
+ 2.597146987915039
253
+ ],
254
+ "top_source": "multiclass",
255
+ "weight_stats": {
256
+ "max_weight": 0.9200680230167385,
257
+ "entropy": 0.36261914188486677,
258
+ "effective_sources": 1.4370884282110035,
259
+ "min_weight": 0.015561893577512515
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.7999999999999999,
263
+ "spearman_weight_taxonomy": -0.2581988897471611,
264
+ "top_source": "multiclass",
265
+ "top_source_is_best_teacher": true
266
+ },
267
+ "init_teacher": "multiclass",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.0,
270
+ "kd_seconds": 1020.9,
271
+ "round0_val": {
272
+ "val_dice": 0.8827209277665129,
273
+ "val_vi": 0.06173844436601252,
274
+ "val_ece": 0.01930872331093795
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 67,
280
+ "selection_seconds": 128.5,
281
+ "round_seconds": 679.8,
282
+ "teacher_dice_labeled": [
283
+ 0.2876389731008006,
284
+ 2.8393119779215102e-06,
285
+ 0.02286523788150808,
286
+ 0.931847537434372
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 352197,
290
+ "evidence_nonempty_patches": 62,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.9398350397937785,
294
+ "restart_teacher_dice": 0.931847537434372,
295
+ "weights": [
296
+ 5.6389282479936555e-05,
297
+ 3.1020171205931166e-06,
298
+ 1.907901148148134e-06,
299
+ 0.9999386007992513
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.931847537434372,
304
+ "uniform": 0.3539312329080638,
305
+ "top1": 0.931847537434372,
306
+ "top2": 0.931847537434372,
307
+ "top3": 0.931847537434372
308
+ },
309
+ "val_dice": 0.8461434440443407,
310
+ "val_vi": 0.0855945925313224,
311
+ "val_ece": 0.006651857957124172
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 134,
316
+ "selection_seconds": 86.6,
317
+ "round_seconds": 142.8,
318
+ "teacher_dice_labeled": [
319
+ 0.24577679079476183,
320
+ 1.5364617743675156e-06,
321
+ 0.024486936416884684,
322
+ 0.8192993927643852
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 650845,
326
+ "evidence_nonempty_patches": 122,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 0.00011432785797566688,
331
+ 9.558707631533626e-06,
332
+ 5.975296532053933e-06,
333
+ 0.9998701381378607
334
+ ],
335
+ "ensemble_choice": "mixture",
336
+ "candidate_dice": {
337
+ "mixture": 0.8193014677864318,
338
+ "uniform": 0.2526532619810576,
339
+ "top1": 0.8192993927643852,
340
+ "top2": 0.8193014677864318,
341
+ "top3": 0.8193014677864318
342
+ },
343
+ "pseudo_student_dice": 0.6799073601500278,
344
+ "pseudo_ensemble_dice": 0.6885056543210284,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.823862031483791,
348
+ "val_vi": 0.07833448240855631,
349
+ "val_ece": 0.006199167541584895
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 201,
354
+ "selection_seconds": 85.8,
355
+ "round_seconds": 167.1,
356
+ "teacher_dice_labeled": [
357
+ 0.27051968258106773,
358
+ 9.271819140187124e-07,
359
+ 0.015514227110664483,
360
+ 0.8257373465675559
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 1077649,
364
+ "evidence_nonempty_patches": 186,
365
+ "first_correction": false,
366
+ "restart": "",
367
+ "weights": [
368
+ 0.00013729036451304996,
369
+ 8.962465766820798e-06,
370
+ 5.1217981496385855e-06,
371
+ 0.9998486253715705
372
+ ],
373
+ "ensemble_choice": "mixture",
374
+ "candidate_dice": {
375
+ "mixture": 0.8257374489433349,
376
+ "uniform": 0.19946310223893535,
377
+ "top1": 0.8257373465675559,
378
+ "top2": 0.8257366798750658,
379
+ "top3": 0.8257374489433349
380
+ },
381
+ "pseudo_student_dice": 0.8428575797424998,
382
+ "pseudo_ensemble_dice": 0.8358479338209674,
383
+ "pseudo_source": "ensemble",
384
+ "consistency_scale": 1.0,
385
+ "val_dice": 0.859391961227498,
386
+ "val_vi": 0.06487842490840803,
387
+ "val_ece": 0.003686388289243956
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 268,
392
+ "selection_seconds": 84.9,
393
+ "round_seconds": 190.2,
394
+ "teacher_dice_labeled": [
395
+ 0.2809361991370772,
396
+ 0.0006554222291767896,
397
+ 0.023371464715406718,
398
+ 0.8408604006205874
399
+ ],
400
+ "teacher_dice_pool": null,
401
+ "evidence_fg_pixels": 1455704,
402
+ "evidence_nonempty_patches": 246,
403
+ "first_correction": false,
404
+ "restart": "",
405
+ "weights": [
406
+ 0.0001309794754778175,
407
+ 7.755231705957663e-06,
408
+ 4.7628931689371864e-06,
409
+ 0.9998565023996473
410
+ ],
411
+ "ensemble_choice": "mixture",
412
+ "candidate_dice": {
413
+ "mixture": 0.8408612401217148,
414
+ "uniform": 0.19158436581242347,
415
+ "top1": 0.8408604006205874,
416
+ "top2": 0.8408612401217148,
417
+ "top3": 0.8408612401217148
418
+ },
419
+ "pseudo_student_dice": 0.865318273934081,
420
+ "pseudo_ensemble_dice": 0.8841677834896886,
421
+ "pseudo_source": "ensemble",
422
+ "consistency_scale": 1.0,
423
+ "val_dice": 0.864204841298776,
424
+ "val_vi": 0.0689438616669614,
425
+ "val_ece": 0.004439818108043122
426
+ },
427
+ {
428
+ "round": 5,
429
+ "n_labeled": 335,
430
+ "selection_seconds": 84.2,
431
+ "round_seconds": 213.6,
432
+ "teacher_dice_labeled": [
433
+ 0.2835080031881515,
434
+ 0.0005110274916737301,
435
+ 0.02308174871596876,
436
+ 0.8489501264344202
437
+ ],
438
+ "teacher_dice_pool": null,
439
+ "evidence_fg_pixels": 1867412,
440
+ "evidence_nonempty_patches": 310,
441
+ "first_correction": false,
442
+ "restart": "",
443
+ "weights": [
444
+ 0.00012394890757176728,
445
+ 7.142297450423627e-06,
446
+ 4.380088376626105e-06,
447
+ 0.9998645287066013
448
+ ],
449
+ "ensemble_choice": "mixture",
450
+ "candidate_dice": {
451
+ "mixture": 0.8489512174331817,
452
+ "uniform": 0.20478316977482933,
453
+ "top1": 0.8489501264344202,
454
+ "top2": 0.8489512174331817,
455
+ "top3": 0.8489512174331817
456
+ },
457
+ "pseudo_student_dice": 0.8753591055736171,
458
+ "pseudo_ensemble_dice": 0.8774800102230823,
459
+ "pseudo_source": "ensemble",
460
+ "consistency_scale": 1.0,
461
+ "val_dice": 0.862984788458472,
462
+ "val_vi": 0.06815227306475158,
463
+ "val_ece": 0.005252702164533228
464
+ },
465
+ {
466
+ "round": 6,
467
+ "n_labeled": 402,
468
+ "selection_seconds": 83.5,
469
+ "round_seconds": 238.4,
470
+ "teacher_dice_labeled": [
471
+ 0.27886655669468124,
472
+ 0.0004317570658965266,
473
+ 0.019823472474504847,
474
+ 0.8510156994214092
475
+ ],
476
+ "teacher_dice_pool": null,
477
+ "evidence_fg_pixels": 2210520,
478
+ "evidence_nonempty_patches": 377,
479
+ "first_correction": false,
480
+ "restart": "",
481
+ "weights": [
482
+ 0.0001159092629984249,
483
+ 6.990796383176612e-06,
484
+ 4.153032658780695e-06,
485
+ 0.9998729469079597
486
+ ],
487
+ "ensemble_choice": "mixture",
488
+ "candidate_dice": {
489
+ "mixture": 0.851015583658806,
490
+ "uniform": 0.20455471975081585,
491
+ "top1": 0.8510156994214092,
492
+ "top2": 0.851015583658806,
493
+ "top3": 0.851015583658806
494
+ },
495
+ "pseudo_student_dice": 0.8635595641020113,
496
+ "pseudo_ensemble_dice": 0.8621746701279371,
497
+ "pseudo_source": "ensemble",
498
+ "consistency_scale": 1.0,
499
+ "val_dice": 0.8705280669376912,
500
+ "val_vi": 0.06705494363318357,
501
+ "val_ece": 0.005491697527176027
502
+ },
503
+ {
504
+ "round": 7,
505
+ "n_labeled": 402,
506
+ "selection_seconds": 0.0,
507
+ "round_seconds": 242.4,
508
+ "final_consolidation": true,
509
+ "val_dice": 0.8825650776052844,
510
+ "val_vi": 0.06109141014936791,
511
+ "val_ece": 0.004077543849137184
512
+ }
513
+ ],
514
+ "uncertainty_quality": {
515
+ "spearman_uncertainty_error": 0.08900566294125338,
516
+ "auroc_top20_error": 0.471344873046875
517
+ },
518
+ "al_seconds": 1914.3,
519
+ "source_archs": [
520
+ "unet",
521
+ "unet",
522
+ "unet",
523
+ "unet"
524
+ ],
525
+ "alphas_final": [
526
+ 0.0001159092629984249,
527
+ 6.990796383176612e-06,
528
+ 4.153032658780695e-06,
529
+ 0.9998729469079597
530
+ ],
531
+ "weight_stats_final": {
532
+ "max_weight": 0.9998729469079597,
533
+ "entropy": 0.0013119464075929815,
534
+ "effective_sources": 1.0013128073857591,
535
+ "min_weight": 4.153032658780695e-06
536
+ },
537
+ "top_source_final": "multiclass",
538
+ "ensemble_choice_final": "",
539
+ "restart": "kept",
540
+ "test_raw_student": {
541
+ "patch_dice": 0.91356207848983,
542
+ "patch_iou": 0.8831404748948558,
543
+ "patch_precision": 0.946976123955655,
544
+ "patch_recall": 0.930699016573354,
545
+ "patch_vi": 0.042884940354461186,
546
+ "n_patches": 1750,
547
+ "cal_ece": 0.0026736035516054433,
548
+ "cal_nll": 0.021422703820900835,
549
+ "cal_brier": 0.003958336581594274,
550
+ "cal_mean_confidence": 0.9978627776587483,
551
+ "cal_accuracy": 0.9951891741071428,
552
+ "cal_predicted_prevalence": 0.04423939732142857,
553
+ "cal_true_prevalence": 0.04515513392857143,
554
+ "cal_mean_probability": 0.04434355303823744
555
+ },
556
+ "test_notta": {
557
+ "patch_dice": 0.91356207848983,
558
+ "patch_iou": 0.8831404748948558,
559
+ "patch_precision": 0.946976123955655,
560
+ "patch_recall": 0.930699016573354,
561
+ "patch_vi": 0.042884940354461186,
562
+ "n_patches": 1750,
563
+ "cal_ece": 0.0026736035516054433,
564
+ "cal_nll": 0.021422703820900835,
565
+ "cal_brier": 0.003958336581594274,
566
+ "cal_mean_confidence": 0.9978627776587483,
567
+ "cal_accuracy": 0.9951891741071428,
568
+ "cal_predicted_prevalence": 0.04423939732142857,
569
+ "cal_true_prevalence": 0.04515513392857143,
570
+ "cal_mean_probability": 0.04434355303823744
571
+ },
572
+ "test": {
573
+ "patch_dice": 0.9261972077942084,
574
+ "patch_iou": 0.8974155611349277,
575
+ "patch_precision": 0.9609866432654087,
576
+ "patch_recall": 0.9315003450236838,
577
+ "patch_vi": 0.040560742745314356,
578
+ "n_patches": 1750,
579
+ "image_dice": 0.9555399724621937,
580
+ "image_iou": 0.9153154542048801,
581
+ "image_precision": 0.970564719786427,
582
+ "image_recall": 0.9415382349126573,
583
+ "image_vi": 0.04536973324369179,
584
+ "n_images": 50,
585
+ "cal_ece": 0.0018369080010505645,
586
+ "cal_nll": 0.01683470636319407,
587
+ "cal_brier": 0.0034860976003171663,
588
+ "cal_mean_confidence": 0.9973964473557894,
589
+ "cal_accuracy": 0.9955675223214285,
590
+ "cal_predicted_prevalence": 0.043865513392857144,
591
+ "cal_true_prevalence": 0.04515513392857143,
592
+ "cal_mean_probability": 0.04415598747573566
593
+ },
594
+ "eval_seconds": 91.6,
595
+ "total_seconds": 3108.8,
596
+ "resources": {
597
+ "phases": {
598
+ "setup": {
599
+ "seconds": 8.23,
600
+ "peak_cpu_rss_mb": 2169.5,
601
+ "peak_gpu_alloc_mb": 592.4,
602
+ "peak_gpu_reserved_mb": 594.0
603
+ },
604
+ "features_and_weights": {
605
+ "seconds": 60.15,
606
+ "peak_cpu_rss_mb": 4165.8,
607
+ "peak_gpu_alloc_mb": 2298.2,
608
+ "peak_gpu_reserved_mb": 2640.0
609
+ },
610
+ "distillation": {
611
+ "seconds": 1020.9,
612
+ "peak_cpu_rss_mb": 5938.9,
613
+ "peak_gpu_alloc_mb": 3826.7,
614
+ "peak_gpu_reserved_mb": 4128.0,
615
+ "kd_epochs": 5
616
+ },
617
+ "active_learning": {
618
+ "seconds": 1914.27,
619
+ "peak_cpu_rss_mb": 5938.9,
620
+ "peak_gpu_alloc_mb": 3947.0,
621
+ "peak_gpu_reserved_mb": 4176.0,
622
+ "rounds": 6
623
+ },
624
+ "inference": {
625
+ "seconds": 91.59,
626
+ "peak_cpu_rss_mb": 5938.9,
627
+ "peak_gpu_alloc_mb": 2149.5,
628
+ "peak_gpu_reserved_mb": 4176.0,
629
+ "patches": 1750,
630
+ "images": 50,
631
+ "patches_per_second": 19.1,
632
+ "seconds_per_image": 1.832
633
+ }
634
+ },
635
+ "peak_gpu_alloc_mb": 3947.0,
636
+ "peak_cpu_rss_mb": 5938.9,
637
+ "total_seconds": 3095.1
638
+ },
639
+ "student_parameters": 31042369,
640
+ "teacher_parameters": [
641
+ 31042369,
642
+ 31042369,
643
+ 31042369,
644
+ 31042369
645
+ ],
646
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/lucchi-pp/macs-v11-norestart-acq-laplace_b5_s1.pth"
647
+ }
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,67,128.5,679.8,"[0.2876389731008006, 2.8393119779215102e-06, 0.02286523788150808, 0.931847537434372]",,352197,62,True,kept,0.9398350397937785,0.931847537434372,"[5.6389282479936555e-05, 3.1020171205931166e-06, 1.907901148148134e-06, 0.9999386007992513]",mixture,"{'mixture': 0.931847537434372, 'uniform': 0.3539312329080638, 'top1': 0.931847537434372, 'top2': 0.931847537434372, 'top3': 0.931847537434372}",0.8461434440443407,0.0855945925313224,0.006651857957124172,,,,,
3
+ 2,134,86.6,142.8,"[0.24577679079476183, 1.5364617743675156e-06, 0.024486936416884684, 0.8192993927643852]",,650845,122,False,,,,"[0.00011432785797566688, 9.558707631533626e-06, 5.975296532053933e-06, 0.9998701381378607]",mixture,"{'mixture': 0.8193014677864318, 'uniform': 0.2526532619810576, 'top1': 0.8192993927643852, 'top2': 0.8193014677864318, 'top3': 0.8193014677864318}",0.823862031483791,0.07833448240855631,0.006199167541584895,0.6799073601500278,0.6885056543210284,ensemble,1.0,
4
+ 3,201,85.8,167.1,"[0.27051968258106773, 9.271819140187124e-07, 0.015514227110664483, 0.8257373465675559]",,1077649,186,False,,,,"[0.00013729036451304996, 8.962465766820798e-06, 5.1217981496385855e-06, 0.9998486253715705]",mixture,"{'mixture': 0.8257374489433349, 'uniform': 0.19946310223893535, 'top1': 0.8257373465675559, 'top2': 0.8257366798750658, 'top3': 0.8257374489433349}",0.859391961227498,0.06487842490840803,0.003686388289243956,0.8428575797424998,0.8358479338209674,ensemble,1.0,
5
+ 4,268,84.9,190.2,"[0.2809361991370772, 0.0006554222291767896, 0.023371464715406718, 0.8408604006205874]",,1455704,246,False,,,,"[0.0001309794754778175, 7.755231705957663e-06, 4.7628931689371864e-06, 0.9998565023996473]",mixture,"{'mixture': 0.8408612401217148, 'uniform': 0.19158436581242347, 'top1': 0.8408604006205874, 'top2': 0.8408612401217148, 'top3': 0.8408612401217148}",0.864204841298776,0.0689438616669614,0.004439818108043122,0.865318273934081,0.8841677834896886,ensemble,1.0,
6
+ 5,335,84.2,213.6,"[0.2835080031881515, 0.0005110274916737301, 0.02308174871596876, 0.8489501264344202]",,1867412,310,False,,,,"[0.00012394890757176728, 7.142297450423627e-06, 4.380088376626105e-06, 0.9998645287066013]",mixture,"{'mixture': 0.8489512174331817, 'uniform': 0.20478316977482933, 'top1': 0.8489501264344202, 'top2': 0.8489512174331817, 'top3': 0.8489512174331817}",0.862984788458472,0.06815227306475158,0.005252702164533228,0.8753591055736171,0.8774800102230823,ensemble,1.0,
7
+ 6,402,83.5,238.4,"[0.27886655669468124, 0.0004317570658965266, 0.019823472474504847, 0.8510156994214092]",,2210520,377,False,,,,"[0.0001159092629984249, 6.990796383176612e-06, 4.153032658780695e-06, 0.9998729469079597]",mixture,"{'mixture': 0.851015583658806, 'uniform': 0.20455471975081585, 'top1': 0.8510156994214092, 'top2': 0.851015583658806, 'top3': 0.851015583658806}",0.8705280669376912,0.06705494363318357,0.005491697527176027,0.8635595641020113,0.8621746701279371,ensemble,1.0,
8
+ 7,402,0.0,242.4,,,,,,,,,,,,0.8825650776052844,0.06109141014936791,0.004077543849137184,,,,,True
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [12:16:33][ 0s][START] target=lucchi-pp variant=macs-v11-norestart-acq-laplace budget=5.0% seed=2 | {"task": "mitochondria", "target": "lucchi-pp", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [12:16:33][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [12:16:33][ 0s][DATA] lucchi-pp: train=8050 val=1750 test=1750 patches
4
+ [12:16:35][ 2s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, dros-vnc=2.77, multiclass=2.60
5
+ [12:16:35][ 2s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [12:16:36][ 3s][WEIGHTS] mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920 | eff.sources=1.44 | MMD2 mix=0.0050 uniform=0.2092
7
+ [12:16:36][ 3s][WEIGHTS] per-source: fly-mito=0.013, kasthuri=0.022, dros-vnc=0.005, multiclass=0.960 | min-MMD source (NeuroADDA rule) = multiclass
8
+ [12:17:14][ 41s][TEACHERS] target-val Dice: fly-mito=0.243, kasthuri=0.161, dros-vnc=0.162, multiclass=0.833
9
+ [12:17:14][ 41s][TEACHERS] ensemble target-val Dice: mixture=0.834, mixture@raw=0.833, mixture@logit=0.835, per_source=0.834, per_source@raw=0.833, per_source@logit=0.834, uniform=0.331, uniform@raw=0.184, uniform@logit=0.220
10
+ [12:17:14][ 41s][WEIGHTS] using mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920
11
+ [12:17:14][ 41s][INIT] student initialised from teacher multiclass (weight 0.920)
12
+ [12:17:17][ 44s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [12:17:17][ 44s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [12:19:20][ 167s][KD] soft labels for 6000 patches from 4 teachers in 123s
15
+ [12:22:19][ 346s][KD] epoch 1/5 | patches=6000 | loss=0.1187 | 179s
16
+ [12:25:18][ 525s][KD] epoch 2/5 | patches=6000 | loss=0.1069 | 179s
17
+ [12:28:17][ 704s][KD] epoch 3/5 | patches=6000 | loss=0.1048 | 179s
18
+ [12:31:16][ 883s][KD] epoch 4/5 | patches=6000 | loss=0.1037 | 179s
19
+ [12:34:15][ 1062s][KD] epoch 5/5 | patches=6000 | loss=0.1029 | 179s
20
+ [12:34:21][ 1068s][ROUND0] before any target label: val_dice=0.8804 val_vi=0.0672
21
+ [12:34:21][ 1068s][AL] patches=8050 (pool 8050 after dropping blank; free blank negatives: True) | budget=402 (5.0%) | rounds=6 | per_round=67 | acquisition=laplace | first_round=stratified
22
+ [12:35:48][ 1155s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': 0.09212662440628899, 'auroc_top20_error': 0.47728173828125}
23
+ [12:36:29][ 1197s][AL] round 1: stratified cold start: 34 patches from the membrane-rich half (ensemble prevalence >= 0.072) + 33 from the membrane-poor half of 2000 candidates
24
+ [12:36:35][ 1202s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.946, uniform=0.320, top1=0.946, top2=0.946, top3=0.946 -> using mixture
25
+ [12:36:36][ 1203s][WEIGHTS] round 1: student kept (labeled Dice 0.948 vs best teacher multiclass 0.946); distilling the corrected ensemble into it
26
+ [12:36:36][ 1203s][WEIGHTS] round 1: teacher Dice on 67 labeled patches + 0 blank (313095 fg px): fly-mito=0.265, kasthuri=0.000, dros-vnc=0.016, multiclass=0.946 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
27
+ [12:38:39][ 1327s][KD] soft labels for 6000 patches from 4 teachers in 123s
28
+ [12:41:38][ 1505s][KD] epoch 1/2 | patches=6000 | loss=0.0470 | 179s
29
+ [12:44:37][ 1684s][KD] epoch 2/2 | patches=6000 | loss=0.0482 | 179s
30
+ [12:45:19][ 1726s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 41s
31
+ [12:45:23][ 1730s][FT] round 1/6 epoch 1/5 | patches=67 | loss=0.3215
32
+ [12:45:28][ 1735s][FT] round 1/6 epoch 2/5 | patches=67 | loss=0.3800
33
+ [12:45:33][ 1740s][FT] round 1/6 epoch 3/5 | patches=67 | loss=0.3388
34
+ [12:45:38][ 1745s][FT] round 1/6 epoch 4/5 | patches=67 | loss=0.3076
35
+ [12:45:43][ 1750s][FT] round 1/6 epoch 5/5 | patches=67 | loss=0.2970
36
+ [12:45:48][ 1755s][AL] round 1/6 | labeled=67 | selection_seconds=128.6000 round_seconds=681.7000 restart_student_dice=0.9485 restart_teacher_dice=0.9463 val_dice=0.8306 val_vi=0.0835 val_ece=0.0068
37
+ [12:47:15][ 1842s][AL] round 2: 1074/7983 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [12:47:26][ 1853s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.837, uniform=0.226, top1=0.837, top2=0.837, top3=0.837 -> using mixture
39
+ [12:47:26][ 1853s][WEIGHTS] round 2: teacher Dice on 134 labeled patches + 0 blank (646357 fg px): fly-mito=0.242, kasthuri=0.000, dros-vnc=0.013, multiclass=0.837 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
40
+ [12:47:30][ 1857s][CONS] round 2: on the 67 new patches student Dice=0.706 vs ensemble 0.732 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [12:47:38][ 1865s][FT] round 2/6 epoch 1/5 | patches=134 | loss=0.4784
42
+ [12:47:47][ 1874s][FT] round 2/6 epoch 2/5 | patches=134 | loss=0.4344
43
+ [12:47:55][ 1883s][FT] round 2/6 epoch 3/5 | patches=134 | loss=0.4149
44
+ [12:48:04][ 1891s][FT] round 2/6 epoch 4/5 | patches=134 | loss=0.3680
45
+ [12:48:13][ 1900s][FT] round 2/6 epoch 5/5 | patches=134 | loss=0.3755
46
+ [12:48:19][ 1906s][AL] round 2/6 | labeled=134 | selection_seconds=86.7000 round_seconds=144.5000 pseudo_student_dice=0.7064 pseudo_ensemble_dice=0.7318 consistency_scale=1.0000 val_dice=0.8366 val_vi=0.0717 val_ece=0.0038
47
+ [12:49:45][ 1992s][AL] round 3: 1032/7916 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [12:50:01][ 2008s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.817, uniform=0.202, top1=0.817, top2=0.817, top3=0.817 -> using mixture
49
+ [12:50:01][ 2008s][WEIGHTS] round 3: teacher Dice on 201 labeled patches + 0 blank (961409 fg px): fly-mito=0.243, kasthuri=0.000, dros-vnc=0.012, multiclass=0.817 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
50
+ [12:50:16][ 2023s][CONS] round 3: on the 67 new patches student Dice=0.809 vs ensemble 0.777 -> pseudo-labels from the student | consistency x1.00
51
+ [12:50:29][ 2036s][FT] round 3/6 epoch 1/5 | patches=201 | loss=0.3748
52
+ [12:50:42][ 2049s][FT] round 3/6 epoch 2/5 | patches=201 | loss=0.3606
53
+ [12:50:54][ 2062s][FT] round 3/6 epoch 3/5 | patches=201 | loss=0.3386
54
+ [12:51:07][ 2074s][FT] round 3/6 epoch 4/5 | patches=201 | loss=0.3334
55
+ [12:51:20][ 2087s][FT] round 3/6 epoch 5/5 | patches=201 | loss=0.2969
56
+ [12:51:26][ 2093s][AL] round 3/6 | labeled=201 | selection_seconds=86.9000 round_seconds=181.5000 pseudo_student_dice=0.8086 pseudo_ensemble_dice=0.7771 consistency_scale=1.0000 val_dice=0.8521 val_vi=0.0731 val_ece=0.0066
57
+ [12:52:52][ 2179s][AL] round 4: 1253/7849 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [12:54:27][ 2274s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.291, kasthuri=0.000, dros-vnc=0.023, multiclass=0.952 | blended with labeled Dice at 0.50
59
+ [12:55:52][ 2359s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.891, uniform=0.264, top1=0.891, top2=0.891, top3=0.891 -> using mixture
60
+ [12:55:52][ 2359s][WEIGHTS] round 4: teacher Dice on 268 labeled patches + 0 blank (1406676 fg px): fly-mito=0.277, kasthuri=0.000, dros-vnc=0.018, multiclass=0.891 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
61
+ [12:56:06][ 2373s][CONS] round 4: on the 67 new patches student Dice=0.854 vs ensemble 0.859 -> pseudo-labels from the student | consistency x1.00
62
+ [12:56:23][ 2390s][FT] round 4/6 epoch 1/5 | patches=268 | loss=0.3130
63
+ [12:56:39][ 2406s][FT] round 4/6 epoch 2/5 | patches=268 | loss=0.2841
64
+ [12:56:56][ 2423s][FT] round 4/6 epoch 3/5 | patches=268 | loss=0.3083
65
+ [12:57:13][ 2440s][FT] round 4/6 epoch 4/5 | patches=268 | loss=0.2707
66
+ [12:57:29][ 2456s][FT] round 4/6 epoch 5/5 | patches=268 | loss=0.2564
67
+ [12:57:35][ 2462s][AL] round 4/6 | labeled=268 | selection_seconds=85.8000 round_seconds=363.0000 pseudo_student_dice=0.8540 pseudo_ensemble_dice=0.8587 consistency_scale=1.0000 val_dice=0.8240 val_vi=0.0822 val_ece=0.0069
68
+ [12:59:00][ 2547s][AL] round 5: 1164/7782 candidates skipped as agreed-empty (predicted prevalence < 0.005)
69
+ [13:00:37][ 2644s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.283, kasthuri=0.000, dros-vnc=0.022, multiclass=0.948 | blended with labeled Dice at 0.50
70
+ [13:02:05][ 2732s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.893, uniform=0.261, top1=0.893, top2=0.893, top3=0.893 -> using mixture
71
+ [13:02:05][ 2732s][WEIGHTS] round 5: teacher Dice on 335 labeled patches + 0 blank (1792685 fg px): fly-mito=0.276, kasthuri=0.000, dros-vnc=0.017, multiclass=0.893 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
72
+ [13:02:19][ 2746s][CONS] round 5: on the 67 new patches student Dice=0.855 vs ensemble 0.872 -> pseudo-labels from the student | consistency x1.00
73
+ [13:02:40][ 2767s][FT] round 5/6 epoch 1/5 | patches=335 | loss=0.2735
74
+ [13:03:00][ 2787s][FT] round 5/6 epoch 2/5 | patches=335 | loss=0.2802
75
+ [13:03:21][ 2808s][FT] round 5/6 epoch 3/5 | patches=335 | loss=0.2619
76
+ [13:03:41][ 2828s][FT] round 5/6 epoch 4/5 | patches=335 | loss=0.2487
77
+ [13:04:02][ 2849s][FT] round 5/6 epoch 5/5 | patches=335 | loss=0.2306
78
+ [13:04:07][ 2855s][AL] round 5/6 | labeled=335 | selection_seconds=84.9000 round_seconds=386.6000 pseudo_student_dice=0.8549 pseudo_ensemble_dice=0.8723 consistency_scale=1.0000 val_dice=0.8753 val_vi=0.0637 val_ece=0.0034
79
+ [13:05:32][ 2939s][AL] round 6: 1238/7715 candidates skipped as agreed-empty (predicted prevalence < 0.005)
80
+ [13:07:11][ 3038s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.282, kasthuri=0.001, dros-vnc=0.018, multiclass=0.957 | blended with labeled Dice at 0.50
81
+ [13:08:39][ 3126s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.902, uniform=0.267, top1=0.902, top2=0.902, top3=0.902 -> using mixture
82
+ [13:08:39][ 3126s][WEIGHTS] round 6: teacher Dice on 402 labeled patches + 0 blank (2180202 fg px): fly-mito=0.278, kasthuri=0.000, dros-vnc=0.015, multiclass=0.902 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
83
+ [13:08:54][ 3141s][CONS] round 6: on the 67 new patches student Dice=0.892 vs ensemble 0.889 -> pseudo-labels from the student | consistency x1.00
84
+ [13:09:18][ 3165s][FT] round 6/6 epoch 1/5 | patches=402 | loss=0.2037
85
+ [13:09:43][ 3190s][FT] round 6/6 epoch 2/5 | patches=402 | loss=0.2282
86
+ [13:10:07][ 3214s][FT] round 6/6 epoch 3/5 | patches=402 | loss=0.2195
87
+ [13:10:32][ 3239s][FT] round 6/6 epoch 4/5 | patches=402 | loss=0.2240
88
+ [13:10:56][ 3263s][FT] round 6/6 epoch 5/5 | patches=402 | loss=0.2315
89
+ [13:11:02][ 3269s][AL] round 6/6 | labeled=402 | selection_seconds=84.4000 round_seconds=409.0000 pseudo_student_dice=0.8924 pseudo_ensemble_dice=0.8893 consistency_scale=1.0000 val_dice=0.8780 val_vi=0.0607 val_ece=0.0039
90
+ [13:11:13][ 3280s][CONS] final consolidation: pseudo-labels refreshed from the student
91
+ [13:11:37][ 3304s][FT] final 1/10 epoch 1/1 | patches=402 | loss=0.2030
92
+ [13:12:02][ 3329s][FT] final 2/10 epoch 1/1 | patches=402 | loss=0.1907
93
+ [13:12:26][ 3353s][FT] final 3/10 epoch 1/1 | patches=402 | loss=0.1952
94
+ [13:12:51][ 3378s][FT] final 4/10 epoch 1/1 | patches=402 | loss=0.1823
95
+ [13:13:15][ 3402s][FT] final 5/10 epoch 1/1 | patches=402 | loss=0.1797
96
+ [13:13:40][ 3427s][FT] final 6/10 epoch 1/1 | patches=402 | loss=0.1618
97
+ [13:14:04][ 3451s][FT] final 7/10 epoch 1/1 | patches=402 | loss=0.1515
98
+ [13:14:29][ 3476s][FT] final 8/10 epoch 1/1 | patches=402 | loss=0.1343
99
+ [13:14:53][ 3500s][FT] final 9/10 epoch 1/1 | patches=402 | loss=0.1320
100
+ [13:15:18][ 3525s][FT] final 10/10 epoch 1/1 | patches=402 | loss=0.1291
101
+ [13:15:24][ 3531s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=255.7000 val_dice=0.8830 val_vi=0.0588 val_ece=0.0039
102
+ [13:15:24][ 3531s][WEIGHTS] final: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
103
+ [13:16:47][ 3614s][TEST] raw student (no EMA, no TTA): patch_dice=0.9102 patch_vi=0.0424
104
+ [13:16:56][ 3624s][TEST] final model without TTA: patch_dice=0.9102 patch_vi=0.0424
105
+ [13:16:56][ 3624s][RESOURCES] {"phases": {"setup": {"seconds": 0.8, "peak_cpu_rss_mb": 2160.2, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 42.4, "peak_cpu_rss_mb": 4175.1, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 1017.99, "peak_cpu_rss_mb": 5948.8, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4128.0, "kd_epochs": 5}, "active_learning": {"seconds": 2463.01, "peak_cpu_rss_mb": 5948.8, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4176.0, "rounds": 6}, "inference": {"seconds": 92.62, "peak_cpu_rss_mb": 5948.8, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4176.0, "patches": 1750, "images": 50, "patches_per_second": 18.9, "seconds_per_image": 1.852}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 5948.8, "total_seconds": 3616.8}
106
+ [13:16:56][ 3624s][TEST] patch_dice=0.9270 patch_iou=0.8989 patch_precision=0.9584 patch_recall=0.9368 patch_vi=0.0392 image_dice=0.9589 image_iou=0.9214 image_precision=0.9696 image_recall=0.9490 image_vi=0.0428 cal_ece=0.0017 cal_nll=0.0162 cal_brier=0.0033 cal_mean_confidence=0.9974 cal_accuracy=0.9958 cal_predicted_prevalence=0.0443 cal_true_prevalence=0.0452 cal_mean_probability=0.0447
107
+ [13:16:57][ 3624s][DONE] lucchi-pp macs-v11-norestart-acq-laplace b5 s2 | test patch Dice=0.9270 VI=0.0392 | image Dice=0.9589 VI=0.0428 | 3624s
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,662 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "lucchi-pp",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "lucchi-pp",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "laplace",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "lucchi-pp",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "aecf380",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "kasthuri-pp",
147
+ "drosophila-vnc",
148
+ "multiclass"
149
+ ],
150
+ "alphas": [
151
+ 0.03256907457032885,
152
+ 0.031801008835420135,
153
+ 0.015561893577512515,
154
+ 0.9200680230167385
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "drosophila-vnc",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.03256907457032885,
165
+ 0.031801008835420135,
166
+ 0.015561893577512515,
167
+ 0.9200680230167385
168
+ ],
169
+ "per_source": [
170
+ 0.013021514318439549,
171
+ 0.021594227384204207,
172
+ 0.00495364759466876,
173
+ 0.9604306107026874
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.001413505929905978,
183
+ "mmd2_mixture": 0.005039697348754646,
184
+ "mmd2_uniform": 0.2092228336519747,
185
+ "mmd2_single_source": [
186
+ 0.5680513520444281,
187
+ 0.4644148125694437,
188
+ 0.6002511462494531,
189
+ 0.004698715465898062
190
+ ],
191
+ "median_squared_distance": 0.1892747764462741,
192
+ "gammas": [
193
+ 1.3208310409546982,
194
+ 2.6416620819093963,
195
+ 5.283324163818793,
196
+ 10.566648327637585,
197
+ 21.13329665527517
198
+ ],
199
+ "max_weight": 0.9200680230167385,
200
+ "entropy": 0.36261914188486677,
201
+ "effective_sources": 1.4370884282110035,
202
+ "min_weight": 0.015561893577512515
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6675354526109456,
207
+ 0.5899267604637966,
208
+ 0.8158227740743191,
209
+ 0.007664790896468099
210
+ ],
211
+ "standardized": [
212
+ 0.4800153933276398,
213
+ 0.22710384776568787,
214
+ 0.9632547653742088,
215
+ -1.670374006467536
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9604306107026874,
219
+ "entropy": 0.2044174691373809,
220
+ "effective_sources": 1.2268102019632934,
221
+ "min_weight": 0.00495364759466876
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "multiclass",
226
+ "seconds": 1.4
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.24317352702666994,
231
+ 0.16070093323689605,
232
+ 0.16243146338599246,
233
+ 0.8333945099982429
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.8341164139370107,
237
+ "mixture@raw": 0.8334634452984915,
238
+ "mixture@logit": 0.8348661307075531,
239
+ "per_source": 0.8335017830355866,
240
+ "per_source@raw": 0.8334355010464378,
241
+ "per_source@logit": 0.8337681001665089,
242
+ "uniform": 0.3312974448451058,
243
+ "uniform@raw": 0.18374038775198187,
244
+ "uniform@logit": 0.21963766526924644
245
+ },
246
+ "val_patches": 1024
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 2.5090832710266113,
251
+ 2.767641305923462,
252
+ 2.597146987915039
253
+ ],
254
+ "top_source": "multiclass",
255
+ "weight_stats": {
256
+ "max_weight": 0.9200680230167385,
257
+ "entropy": 0.36261914188486677,
258
+ "effective_sources": 1.4370884282110035,
259
+ "min_weight": 0.015561893577512515
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.7999999999999999,
263
+ "spearman_weight_taxonomy": -0.2581988897471611,
264
+ "top_source": "multiclass",
265
+ "top_source_is_best_teacher": true
266
+ },
267
+ "init_teacher": "multiclass",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.0,
270
+ "kd_seconds": 1018.0,
271
+ "round0_val": {
272
+ "val_dice": 0.8803879820113556,
273
+ "val_vi": 0.06716140467912256,
274
+ "val_ece": 0.01670684602633669
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 67,
280
+ "selection_seconds": 128.6,
281
+ "round_seconds": 681.7,
282
+ "teacher_dice_labeled": [
283
+ 0.26456266329153644,
284
+ 3.1912075848621877e-06,
285
+ 0.015528068385600497,
286
+ 0.9463065640641752
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 313095,
290
+ "evidence_nonempty_patches": 59,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.9484527016764064,
294
+ "restart_teacher_dice": 0.9463065640641752,
295
+ "weights": [
296
+ 3.8742771162253374e-05,
297
+ 2.684472576277311e-06,
298
+ 1.5342785029993225e-06,
299
+ 0.9999570384777584
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.9463065640641752,
304
+ "uniform": 0.3201075901937694,
305
+ "top1": 0.9463065640641752,
306
+ "top2": 0.9463065640641752,
307
+ "top3": 0.9463065640641752
308
+ },
309
+ "val_dice": 0.8306197011240201,
310
+ "val_vi": 0.08348743124097768,
311
+ "val_ece": 0.006788817784942072
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 134,
316
+ "selection_seconds": 86.7,
317
+ "round_seconds": 144.5,
318
+ "teacher_dice_labeled": [
319
+ 0.24219815146629306,
320
+ 1.5464961809276811e-06,
321
+ 0.012802129960691319,
322
+ 0.8367222328254639
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 646357,
326
+ "evidence_nonempty_patches": 119,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 9.267327807422955e-05,
331
+ 8.03051714291749e-06,
332
+ 4.466396604498123e-06,
333
+ 0.9998948298081783
334
+ ],
335
+ "ensemble_choice": "mixture",
336
+ "candidate_dice": {
337
+ "mixture": 0.8367218370151065,
338
+ "uniform": 0.22632976686687015,
339
+ "top1": 0.8367222328254639,
340
+ "top2": 0.8367218370151065,
341
+ "top3": 0.8367218370151065
342
+ },
343
+ "pseudo_student_dice": 0.7063903969579743,
344
+ "pseudo_ensemble_dice": 0.7317769245256655,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.8365702659977134,
348
+ "val_vi": 0.07170842372260706,
349
+ "val_ece": 0.003773437115060449
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 201,
354
+ "selection_seconds": 86.9,
355
+ "round_seconds": 181.5,
356
+ "teacher_dice_labeled": [
357
+ 0.2432412176643748,
358
+ 1.0398523409675826e-06,
359
+ 0.011922198046396285,
360
+ 0.8167738623605225
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 961409,
364
+ "evidence_nonempty_patches": 179,
365
+ "first_correction": false,
366
+ "restart": "",
367
+ "weights": [
368
+ 0.00011431641553317873,
369
+ 9.803144569781586e-06,
370
+ 5.404554281086763e-06,
371
+ 0.9998704758856161
372
+ ],
373
+ "ensemble_choice": "mixture",
374
+ "candidate_dice": {
375
+ "mixture": 0.8167700660471827,
376
+ "uniform": 0.2017762310498385,
377
+ "top1": 0.8167738623605225,
378
+ "top2": 0.8167700660471827,
379
+ "top3": 0.8167700660471827
380
+ },
381
+ "pseudo_student_dice": 0.8085989086638157,
382
+ "pseudo_ensemble_dice": 0.7770533684262554,
383
+ "pseudo_source": "student",
384
+ "consistency_scale": 1.0,
385
+ "val_dice": 0.8520933668114993,
386
+ "val_vi": 0.07309227793276327,
387
+ "val_ece": 0.006567630992236721
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 268,
392
+ "selection_seconds": 85.8,
393
+ "round_seconds": 363.0,
394
+ "teacher_dice_labeled": [
395
+ 0.2774407873320246,
396
+ 0.00021757778155051012,
397
+ 0.017681862132876883,
398
+ 0.8908474538075571
399
+ ],
400
+ "teacher_dice_pool": [
401
+ 0.2914352298181363,
402
+ 0.00043444480174767376,
403
+ 0.022986299099895986,
404
+ 0.9522409389197227
405
+ ],
406
+ "evidence_fg_pixels": 1406676,
407
+ "evidence_nonempty_patches": 245,
408
+ "first_correction": false,
409
+ "restart": "",
410
+ "weights": [
411
+ 7.6728663456923e-05,
412
+ 4.684119979198459e-06,
413
+ 2.729580942504572e-06,
414
+ 0.9999158576356213
415
+ ],
416
+ "ensemble_choice": "mixture",
417
+ "candidate_dice": {
418
+ "mixture": 0.8908468921531416,
419
+ "uniform": 0.26357952088220327,
420
+ "top1": 0.8908474538075571,
421
+ "top2": 0.8908466768504242,
422
+ "top3": 0.8908466745253185
423
+ },
424
+ "pseudo_student_dice": 0.8540059637638082,
425
+ "pseudo_ensemble_dice": 0.8586939563953454,
426
+ "pseudo_source": "student",
427
+ "consistency_scale": 1.0,
428
+ "val_dice": 0.8240250559424885,
429
+ "val_vi": 0.08222283438241113,
430
+ "val_ece": 0.006853722569206671
431
+ },
432
+ {
433
+ "round": 5,
434
+ "n_labeled": 335,
435
+ "selection_seconds": 84.9,
436
+ "round_seconds": 386.6,
437
+ "teacher_dice_labeled": [
438
+ 0.27581865697076663,
439
+ 0.00021098453816418617,
440
+ 0.01700586078043835,
441
+ 0.8932543310747327
442
+ ],
443
+ "teacher_dice_pool": [
444
+ 0.2830548899311145,
445
+ 0.00042141133660207754,
446
+ 0.0218039269162802,
447
+ 0.9478203037556284
448
+ ],
449
+ "evidence_fg_pixels": 1792685,
450
+ "evidence_nonempty_patches": 307,
451
+ "first_correction": false,
452
+ "restart": "",
453
+ "weights": [
454
+ 7.369894582484202e-05,
455
+ 4.572438172123279e-06,
456
+ 2.646723698279208e-06,
457
+ 0.9999190818923047
458
+ ],
459
+ "ensemble_choice": "mixture",
460
+ "candidate_dice": {
461
+ "mixture": 0.8932545092013533,
462
+ "uniform": 0.26145255935947603,
463
+ "top1": 0.8932543310747327,
464
+ "top2": 0.8932540626415855,
465
+ "top3": 0.8932542293319554
466
+ },
467
+ "pseudo_student_dice": 0.854906715658334,
468
+ "pseudo_ensemble_dice": 0.8722805399151158,
469
+ "pseudo_source": "student",
470
+ "consistency_scale": 1.0,
471
+ "val_dice": 0.8753142915497427,
472
+ "val_vi": 0.06372080616488156,
473
+ "val_ece": 0.0033989463018334635
474
+ },
475
+ {
476
+ "round": 6,
477
+ "n_labeled": 402,
478
+ "selection_seconds": 84.4,
479
+ "round_seconds": 409.0,
480
+ "teacher_dice_labeled": [
481
+ 0.2778182744095054,
482
+ 0.00028432021766136274,
483
+ 0.01471529608171681,
484
+ 0.9022960378346366
485
+ ],
486
+ "teacher_dice_pool": [
487
+ 0.2821117277570612,
488
+ 0.0005681818181818182,
489
+ 0.01807491548267771,
490
+ 0.9568074274579239
491
+ ],
492
+ "evidence_fg_pixels": 2180202,
493
+ "evidence_nonempty_patches": 371,
494
+ "first_correction": false,
495
+ "restart": "",
496
+ "weights": [
497
+ 6.86879160649449e-05,
498
+ 4.180239560132354e-06,
499
+ 2.3631737087619997e-06,
500
+ 0.9999247686706662
501
+ ],
502
+ "ensemble_choice": "mixture",
503
+ "candidate_dice": {
504
+ "mixture": 0.9022957193488081,
505
+ "uniform": 0.26732216329589775,
506
+ "top1": 0.9022960378346366,
507
+ "top2": 0.9022954553953105,
508
+ "top3": 0.9022956474829681
509
+ },
510
+ "pseudo_student_dice": 0.8923665379571899,
511
+ "pseudo_ensemble_dice": 0.8892548845825352,
512
+ "pseudo_source": "student",
513
+ "consistency_scale": 1.0,
514
+ "val_dice": 0.8780199357605633,
515
+ "val_vi": 0.06069790674314873,
516
+ "val_ece": 0.0038901085719583125
517
+ },
518
+ {
519
+ "round": 7,
520
+ "n_labeled": 402,
521
+ "selection_seconds": 0.0,
522
+ "round_seconds": 255.7,
523
+ "final_consolidation": true,
524
+ "val_dice": 0.8830426902129573,
525
+ "val_vi": 0.058771422313978854,
526
+ "val_ece": 0.003914845060847729
527
+ }
528
+ ],
529
+ "uncertainty_quality": {
530
+ "spearman_uncertainty_error": 0.09212662440628899,
531
+ "auroc_top20_error": 0.47728173828125
532
+ },
533
+ "al_seconds": 2463.0,
534
+ "source_archs": [
535
+ "unet",
536
+ "unet",
537
+ "unet",
538
+ "unet"
539
+ ],
540
+ "alphas_final": [
541
+ 6.86879160649449e-05,
542
+ 4.180239560132354e-06,
543
+ 2.3631737087619997e-06,
544
+ 0.9999247686706662
545
+ ],
546
+ "weight_stats_final": {
547
+ "max_weight": 0.9999247686706662,
548
+ "entropy": 0.0008160555233599509,
549
+ "effective_sources": 1.0008163885872619,
550
+ "min_weight": 2.3631737087619997e-06
551
+ },
552
+ "top_source_final": "multiclass",
553
+ "ensemble_choice_final": "",
554
+ "restart": "kept",
555
+ "test_raw_student": {
556
+ "patch_dice": 0.9101973027773687,
557
+ "patch_iou": 0.8799479153075589,
558
+ "patch_precision": 0.9401215968693091,
559
+ "patch_recall": 0.9321027238495903,
560
+ "patch_vi": 0.042363949100457855,
561
+ "n_patches": 1750,
562
+ "cal_ece": 0.0028486549461974936,
563
+ "cal_nll": 0.022192469784087544,
564
+ "cal_brier": 0.003855580196129815,
565
+ "cal_mean_confidence": 0.9981672933390547,
566
+ "cal_accuracy": 0.9953186383928572,
567
+ "cal_predicted_prevalence": 0.04432533482142857,
568
+ "cal_true_prevalence": 0.04515513392857143,
569
+ "cal_mean_probability": 0.044275469432547426
570
+ },
571
+ "test_notta": {
572
+ "patch_dice": 0.9101973027773687,
573
+ "patch_iou": 0.8799479153075589,
574
+ "patch_precision": 0.9401215968693091,
575
+ "patch_recall": 0.9321027238495903,
576
+ "patch_vi": 0.042363949100457855,
577
+ "n_patches": 1750,
578
+ "cal_ece": 0.0028486549461974936,
579
+ "cal_nll": 0.022192469784087544,
580
+ "cal_brier": 0.003855580196129815,
581
+ "cal_mean_confidence": 0.9981672933390547,
582
+ "cal_accuracy": 0.9953186383928572,
583
+ "cal_predicted_prevalence": 0.04432533482142857,
584
+ "cal_true_prevalence": 0.04515513392857143,
585
+ "cal_mean_probability": 0.044275469432547426
586
+ },
587
+ "test": {
588
+ "patch_dice": 0.9270490015694021,
589
+ "patch_iou": 0.8989149479160026,
590
+ "patch_precision": 0.9583615572217189,
591
+ "patch_recall": 0.9367646860294109,
592
+ "patch_vi": 0.03922821826799574,
593
+ "n_patches": 1750,
594
+ "image_dice": 0.9588872499883614,
595
+ "image_iou": 0.9213606570440477,
596
+ "image_precision": 0.9695966441984472,
597
+ "image_recall": 0.9489955116436768,
598
+ "image_vi": 0.0427693149732126,
599
+ "n_images": 50,
600
+ "cal_ece": 0.0016793533075367766,
601
+ "cal_nll": 0.01617886206972107,
602
+ "cal_brier": 0.0033182671865588133,
603
+ "cal_mean_confidence": 0.9974321434861084,
604
+ "cal_accuracy": 0.9957527901785714,
605
+ "cal_predicted_prevalence": 0.044307477678571426,
606
+ "cal_true_prevalence": 0.04515513392857143,
607
+ "cal_mean_probability": 0.044659475159475076
608
+ },
609
+ "eval_seconds": 92.6,
610
+ "total_seconds": 3623.5,
611
+ "resources": {
612
+ "phases": {
613
+ "setup": {
614
+ "seconds": 0.8,
615
+ "peak_cpu_rss_mb": 2160.2,
616
+ "peak_gpu_alloc_mb": 592.4,
617
+ "peak_gpu_reserved_mb": 594.0
618
+ },
619
+ "features_and_weights": {
620
+ "seconds": 42.4,
621
+ "peak_cpu_rss_mb": 4175.1,
622
+ "peak_gpu_alloc_mb": 2298.2,
623
+ "peak_gpu_reserved_mb": 2640.0
624
+ },
625
+ "distillation": {
626
+ "seconds": 1017.99,
627
+ "peak_cpu_rss_mb": 5948.8,
628
+ "peak_gpu_alloc_mb": 3826.7,
629
+ "peak_gpu_reserved_mb": 4128.0,
630
+ "kd_epochs": 5
631
+ },
632
+ "active_learning": {
633
+ "seconds": 2463.01,
634
+ "peak_cpu_rss_mb": 5948.8,
635
+ "peak_gpu_alloc_mb": 3947.0,
636
+ "peak_gpu_reserved_mb": 4176.0,
637
+ "rounds": 6
638
+ },
639
+ "inference": {
640
+ "seconds": 92.62,
641
+ "peak_cpu_rss_mb": 5948.8,
642
+ "peak_gpu_alloc_mb": 2149.5,
643
+ "peak_gpu_reserved_mb": 4176.0,
644
+ "patches": 1750,
645
+ "images": 50,
646
+ "patches_per_second": 18.9,
647
+ "seconds_per_image": 1.852
648
+ }
649
+ },
650
+ "peak_gpu_alloc_mb": 3947.0,
651
+ "peak_cpu_rss_mb": 5948.8,
652
+ "total_seconds": 3616.8
653
+ },
654
+ "student_parameters": 31042369,
655
+ "teacher_parameters": [
656
+ 31042369,
657
+ 31042369,
658
+ 31042369,
659
+ 31042369
660
+ ],
661
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/lucchi-pp/macs-v11-norestart-acq-laplace_b5_s2.pth"
662
+ }
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,67,128.6,681.7,"[0.26456266329153644, 3.1912075848621877e-06, 0.015528068385600497, 0.9463065640641752]",,313095,59,True,kept,0.9484527016764064,0.9463065640641752,"[3.8742771162253374e-05, 2.684472576277311e-06, 1.5342785029993225e-06, 0.9999570384777584]",mixture,"{'mixture': 0.9463065640641752, 'uniform': 0.3201075901937694, 'top1': 0.9463065640641752, 'top2': 0.9463065640641752, 'top3': 0.9463065640641752}",0.8306197011240201,0.08348743124097768,0.006788817784942072,,,,,
3
+ 2,134,86.7,144.5,"[0.24219815146629306, 1.5464961809276811e-06, 0.012802129960691319, 0.8367222328254639]",,646357,119,False,,,,"[9.267327807422955e-05, 8.03051714291749e-06, 4.466396604498123e-06, 0.9998948298081783]",mixture,"{'mixture': 0.8367218370151065, 'uniform': 0.22632976686687015, 'top1': 0.8367222328254639, 'top2': 0.8367218370151065, 'top3': 0.8367218370151065}",0.8365702659977134,0.07170842372260706,0.003773437115060449,0.7063903969579743,0.7317769245256655,ensemble,1.0,
4
+ 3,201,86.9,181.5,"[0.2432412176643748, 1.0398523409675826e-06, 0.011922198046396285, 0.8167738623605225]",,961409,179,False,,,,"[0.00011431641553317873, 9.803144569781586e-06, 5.404554281086763e-06, 0.9998704758856161]",mixture,"{'mixture': 0.8167700660471827, 'uniform': 0.2017762310498385, 'top1': 0.8167738623605225, 'top2': 0.8167700660471827, 'top3': 0.8167700660471827}",0.8520933668114993,0.07309227793276327,0.006567630992236721,0.8085989086638157,0.7770533684262554,student,1.0,
5
+ 4,268,85.8,363.0,"[0.2774407873320246, 0.00021757778155051012, 0.017681862132876883, 0.8908474538075571]","[0.2914352298181363, 0.00043444480174767376, 0.022986299099895986, 0.9522409389197227]",1406676,245,False,,,,"[7.6728663456923e-05, 4.684119979198459e-06, 2.729580942504572e-06, 0.9999158576356213]",mixture,"{'mixture': 0.8908468921531416, 'uniform': 0.26357952088220327, 'top1': 0.8908474538075571, 'top2': 0.8908466768504242, 'top3': 0.8908466745253185}",0.8240250559424885,0.08222283438241113,0.006853722569206671,0.8540059637638082,0.8586939563953454,student,1.0,
6
+ 5,335,84.9,386.6,"[0.27581865697076663, 0.00021098453816418617, 0.01700586078043835, 0.8932543310747327]","[0.2830548899311145, 0.00042141133660207754, 0.0218039269162802, 0.9478203037556284]",1792685,307,False,,,,"[7.369894582484202e-05, 4.572438172123279e-06, 2.646723698279208e-06, 0.9999190818923047]",mixture,"{'mixture': 0.8932545092013533, 'uniform': 0.26145255935947603, 'top1': 0.8932543310747327, 'top2': 0.8932540626415855, 'top3': 0.8932542293319554}",0.8753142915497427,0.06372080616488156,0.0033989463018334635,0.854906715658334,0.8722805399151158,student,1.0,
7
+ 6,402,84.4,409.0,"[0.2778182744095054, 0.00028432021766136274, 0.01471529608171681, 0.9022960378346366]","[0.2821117277570612, 0.0005681818181818182, 0.01807491548267771, 0.9568074274579239]",2180202,371,False,,,,"[6.86879160649449e-05, 4.180239560132354e-06, 2.3631737087619997e-06, 0.9999247686706662]",mixture,"{'mixture': 0.9022957193488081, 'uniform': 0.26732216329589775, 'top1': 0.9022960378346366, 'top2': 0.9022954553953105, 'top3': 0.9022956474829681}",0.8780199357605633,0.06069790674314873,0.0038901085719583125,0.8923665379571899,0.8892548845825352,student,1.0,
8
+ 7,402,0.0,255.7,,,,,,,,,,,,0.8830426902129573,0.058771422313978854,0.003914845060847729,,,,,True
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-random/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [07:06:35][ 0s][START] target=lucchi-pp variant=macs-v11-norestart-acq-random budget=5.0% seed=1 | {"task": "mitochondria", "target": "lucchi-pp", "variant": "macs-v11-norestart-acq-random", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "random", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 0, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [07:06:35][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [07:06:35][ 0s][DATA] lucchi-pp: train=8050 val=1750 test=1750 patches
4
+ [07:06:36][ 2s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, dros-vnc=2.77, multiclass=2.60
5
+ [07:06:36][ 2s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [07:06:38][ 3s][WEIGHTS] mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920 | eff.sources=1.44 | MMD2 mix=0.0050 uniform=0.2092
7
+ [07:06:38][ 3s][WEIGHTS] per-source: fly-mito=0.013, kasthuri=0.022, dros-vnc=0.005, multiclass=0.960 | min-MMD source (NeuroADDA rule) = multiclass
8
+ [07:07:15][ 41s][TEACHERS] target-val Dice: fly-mito=0.243, kasthuri=0.161, dros-vnc=0.162, multiclass=0.833
9
+ [07:07:15][ 41s][TEACHERS] ensemble target-val Dice: mixture=0.834, mixture@raw=0.833, mixture@logit=0.835, per_source=0.834, per_source@raw=0.833, per_source@logit=0.834, uniform=0.331, uniform@raw=0.184, uniform@logit=0.220
10
+ [07:07:15][ 41s][WEIGHTS] using mixture: fly-mito=0.033, kasthuri=0.032, dros-vnc=0.016, multiclass=0.920
11
+ [07:07:15][ 41s][INIT] student initialised from teacher multiclass (weight 0.920)
12
+ [07:07:19][ 44s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [07:07:19][ 44s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [07:09:21][ 167s][KD] soft labels for 6000 patches from 4 teachers in 123s
15
+ [07:12:19][ 345s][KD] epoch 1/5 | patches=6000 | loss=0.1185 | 178s
16
+ [07:15:17][ 523s][KD] epoch 2/5 | patches=6000 | loss=0.1064 | 178s
17
+ [07:18:15][ 701s][KD] epoch 3/5 | patches=6000 | loss=0.1043 | 178s
18
+ [07:21:13][ 879s][KD] epoch 4/5 | patches=6000 | loss=0.1035 | 178s
19
+ [07:24:11][ 1057s][KD] epoch 5/5 | patches=6000 | loss=0.1029 | 178s
20
+ [07:24:17][ 1063s][ROUND0] before any target label: val_dice=0.8825 val_vi=0.0631
21
+ [07:24:17][ 1063s][AL] patches=8050 (pool 8050 after dropping blank; free blank negatives: True) | budget=402 (5.0%) | rounds=6 | per_round=67 | acquisition=random | first_round=stratified
22
+ [07:24:59][ 1104s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': -0.0022443099490930996, 'auroc_top20_error': 0.49312246093750006}
23
+ [07:25:40][ 1145s][AL] round 1: stratified cold start: 34 patches from the membrane-rich half (ensemble prevalence >= 0.074) + 33 from the membrane-poor half of 2000 candidates
24
+ [07:25:45][ 1151s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.932, uniform=0.354, top1=0.932, top2=0.932, top3=0.932 -> using mixture
25
+ [07:25:46][ 1152s][WEIGHTS] round 1: student kept (labeled Dice 0.940 vs best teacher multiclass 0.932); distilling the corrected ensemble into it
26
+ [07:25:46][ 1152s][WEIGHTS] round 1: teacher Dice on 67 labeled patches + 0 blank (352197 fg px): fly-mito=0.288, kasthuri=0.000, dros-vnc=0.023, multiclass=0.932 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
27
+ [07:27:49][ 1274s][KD] soft labels for 6000 patches from 4 teachers in 123s
28
+ [07:30:47][ 1452s][KD] epoch 1/2 | patches=6000 | loss=0.0471 | 178s
29
+ [07:33:45][ 1630s][KD] epoch 2/2 | patches=6000 | loss=0.0459 | 178s
30
+ [07:34:26][ 1672s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 41s
31
+ [07:34:31][ 1676s][FT] round 1/6 epoch 1/5 | patches=67 | loss=0.3095
32
+ [07:34:36][ 1681s][FT] round 1/6 epoch 2/5 | patches=67 | loss=0.3610
33
+ [07:34:40][ 1686s][FT] round 1/6 epoch 3/5 | patches=67 | loss=0.3744
34
+ [07:34:45][ 1690s][FT] round 1/6 epoch 4/5 | patches=67 | loss=0.2857
35
+ [07:34:50][ 1695s][FT] round 1/6 epoch 5/5 | patches=67 | loss=0.3504
36
+ [07:34:56][ 1701s][AL] round 1/6 | labeled=67 | selection_seconds=82.7000 round_seconds=632.7000 restart_student_dice=0.9398 restart_teacher_dice=0.9318 val_dice=0.7964 val_vi=0.0972 val_ece=0.0086
37
+ [07:35:06][ 1712s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.931, uniform=0.316, top1=0.931, top2=0.931, top3=0.931 -> using mixture
38
+ [07:35:06][ 1712s][WEIGHTS] round 2: teacher Dice on 134 labeled patches + 0 blank (686915 fg px): fly-mito=0.280, kasthuri=0.000, dros-vnc=0.031, multiclass=0.931 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
39
+ [07:35:10][ 1716s][CONS] round 2: on the 67 new patches student Dice=0.922 vs ensemble 0.930 -> pseudo-labels from the ensemble | consistency x1.00
40
+ [07:35:19][ 1724s][FT] round 2/6 epoch 1/5 | patches=134 | loss=0.3237
41
+ [07:35:28][ 1733s][FT] round 2/6 epoch 2/5 | patches=134 | loss=0.2841
42
+ [07:35:36][ 1741s][FT] round 2/6 epoch 3/5 | patches=134 | loss=0.2896
43
+ [07:35:45][ 1750s][FT] round 2/6 epoch 4/5 | patches=134 | loss=0.2877
44
+ [07:35:53][ 1759s][FT] round 2/6 epoch 5/5 | patches=134 | loss=0.2835
45
+ [07:35:59][ 1764s][AL] round 2/6 | labeled=134 | selection_seconds=0.2000 round_seconds=57.6000 pseudo_student_dice=0.9218 pseudo_ensemble_dice=0.9298 consistency_scale=1.0000 val_dice=0.8360 val_vi=0.0763 val_ece=0.0050
46
+ [07:36:15][ 1780s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.936, uniform=0.309, top1=0.936, top2=0.936, top3=0.936 -> using mixture
47
+ [07:36:15][ 1780s][WEIGHTS] round 3: teacher Dice on 201 labeled patches + 0 blank (1044085 fg px): fly-mito=0.285, kasthuri=0.000, dros-vnc=0.028, multiclass=0.936 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
48
+ [07:36:19][ 1784s][CONS] round 3: on the 67 new patches student Dice=0.949 vs ensemble 0.946 -> pseudo-labels from the ensemble | consistency x1.00
49
+ [07:36:31][ 1797s][FT] round 3/6 epoch 1/5 | patches=201 | loss=0.2540
50
+ [07:36:44][ 1809s][FT] round 3/6 epoch 2/5 | patches=201 | loss=0.3283
51
+ [07:36:56][ 1822s][FT] round 3/6 epoch 3/5 | patches=201 | loss=0.2696
52
+ [07:37:09][ 1834s][FT] round 3/6 epoch 4/5 | patches=201 | loss=0.2373
53
+ [07:37:22][ 1847s][FT] round 3/6 epoch 5/5 | patches=201 | loss=0.2316
54
+ [07:37:27][ 1853s][AL] round 3/6 | labeled=201 | selection_seconds=0.2000 round_seconds=82.7000 pseudo_student_dice=0.9488 pseudo_ensemble_dice=0.9456 consistency_scale=1.0000 val_dice=0.8718 val_vi=0.0733 val_ece=0.0063
55
+ [07:37:48][ 1873s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.934, uniform=0.297, top1=0.934, top2=0.934, top3=0.934 -> using mixture
56
+ [07:37:48][ 1873s][WEIGHTS] round 4: teacher Dice on 268 labeled patches + 0 blank (1398805 fg px): fly-mito=0.289, kasthuri=0.000, dros-vnc=0.027, multiclass=0.934 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
57
+ [07:37:52][ 1877s][CONS] round 4: on the 67 new patches student Dice=0.938 vs ensemble 0.929 -> pseudo-labels from the ensemble | consistency x1.00
58
+ [07:38:08][ 1894s][FT] round 4/6 epoch 1/5 | patches=268 | loss=0.2372
59
+ [07:38:25][ 1910s][FT] round 4/6 epoch 2/5 | patches=268 | loss=0.2139
60
+ [07:38:41][ 1927s][FT] round 4/6 epoch 3/5 | patches=268 | loss=0.3157
61
+ [07:38:58][ 1943s][FT] round 4/6 epoch 4/5 | patches=268 | loss=0.2718
62
+ [07:39:14][ 1959s][FT] round 4/6 epoch 5/5 | patches=268 | loss=0.2351
63
+ [07:39:20][ 1965s][AL] round 4/6 | labeled=268 | selection_seconds=0.2000 round_seconds=106.7000 pseudo_student_dice=0.9379 pseudo_ensemble_dice=0.9288 consistency_scale=1.0000 val_dice=0.8609 val_vi=0.0737 val_ece=0.0064
64
+ [07:39:45][ 1991s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.935, uniform=0.314, top1=0.935, top2=0.935, top3=0.935 -> using mixture
65
+ [07:39:45][ 1991s][WEIGHTS] round 5: teacher Dice on 335 labeled patches + 0 blank (1751052 fg px): fly-mito=0.285, kasthuri=0.000, dros-vnc=0.024, multiclass=0.935 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
66
+ [07:39:49][ 1995s][CONS] round 5: on the 67 new patches student Dice=0.944 vs ensemble 0.937 -> pseudo-labels from the ensemble | consistency x1.00
67
+ [07:40:09][ 2015s][FT] round 5/6 epoch 1/5 | patches=335 | loss=0.2320
68
+ [07:40:30][ 2035s][FT] round 5/6 epoch 2/5 | patches=335 | loss=0.2251
69
+ [07:40:50][ 2055s][FT] round 5/6 epoch 3/5 | patches=335 | loss=0.2079
70
+ [07:41:10][ 2076s][FT] round 5/6 epoch 4/5 | patches=335 | loss=0.2125
71
+ [07:41:30][ 2096s][FT] round 5/6 epoch 5/5 | patches=335 | loss=0.2060
72
+ [07:41:36][ 2102s][AL] round 5/6 | labeled=335 | selection_seconds=0.2000 round_seconds=130.5000 pseudo_student_dice=0.9436 pseudo_ensemble_dice=0.9366 consistency_scale=1.0000 val_dice=0.8758 val_vi=0.0692 val_ece=0.0052
73
+ [07:42:06][ 2132s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.934, uniform=0.324, top1=0.934, top2=0.934, top3=0.934 -> using mixture
74
+ [07:42:06][ 2132s][WEIGHTS] round 6: teacher Dice on 402 labeled patches + 0 blank (2057337 fg px): fly-mito=0.282, kasthuri=0.000, dros-vnc=0.023, multiclass=0.934 | weights: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
75
+ [07:42:11][ 2136s][CONS] round 6: on the 67 new patches student Dice=0.934 vs ensemble 0.929 -> pseudo-labels from the ensemble | consistency x1.00
76
+ [07:42:35][ 2160s][FT] round 6/6 epoch 1/5 | patches=402 | loss=0.2464
77
+ [07:42:59][ 2184s][FT] round 6/6 epoch 2/5 | patches=402 | loss=0.2427
78
+ [07:43:23][ 2209s][FT] round 6/6 epoch 3/5 | patches=402 | loss=0.2298
79
+ [07:43:48][ 2233s][FT] round 6/6 epoch 4/5 | patches=402 | loss=0.2270
80
+ [07:44:12][ 2257s][FT] round 6/6 epoch 5/5 | patches=402 | loss=0.2242
81
+ [07:44:18][ 2263s][AL] round 6/6 | labeled=402 | selection_seconds=0.2000 round_seconds=155.8000 pseudo_student_dice=0.9343 pseudo_ensemble_dice=0.9295 consistency_scale=1.0000 val_dice=0.8795 val_vi=0.0632 val_ece=0.0040
82
+ [07:44:42][ 2288s][FT] final 1/10 epoch 1/1 | patches=402 | loss=0.2052
83
+ [07:45:07][ 2312s][FT] final 2/10 epoch 1/1 | patches=402 | loss=0.2055
84
+ [07:45:31][ 2336s][FT] final 3/10 epoch 1/1 | patches=402 | loss=0.2056
85
+ [07:45:55][ 2361s][FT] final 4/10 epoch 1/1 | patches=402 | loss=0.2401
86
+ [07:46:20][ 2385s][FT] final 5/10 epoch 1/1 | patches=402 | loss=0.2020
87
+ [07:46:44][ 2410s][FT] final 6/10 epoch 1/1 | patches=402 | loss=0.1953
88
+ [07:47:09][ 2434s][FT] final 7/10 epoch 1/1 | patches=402 | loss=0.1838
89
+ [07:47:33][ 2458s][FT] final 8/10 epoch 1/1 | patches=402 | loss=0.1807
90
+ [07:47:57][ 2483s][FT] final 9/10 epoch 1/1 | patches=402 | loss=0.1836
91
+ [07:48:22][ 2507s][FT] final 10/10 epoch 1/1 | patches=402 | loss=0.1761
92
+ [07:48:28][ 2513s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=243.8000 val_dice=0.8844 val_vi=0.0651 val_ece=0.0045
93
+ [07:48:28][ 2513s][WEIGHTS] final: fly-mito=0.000, kasthuri=0.000, dros-vnc=0.000, multiclass=1.000
94
+ [07:49:50][ 2595s][TEST] raw student (no EMA, no TTA): patch_dice=0.9146 patch_vi=0.0435
95
+ [07:49:59][ 2605s][TEST] final model without TTA: patch_dice=0.9146 patch_vi=0.0435
96
+ [07:49:59][ 2605s][RESOURCES] {"phases": {"setup": {"seconds": 0.75, "peak_cpu_rss_mb": 2174.8, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 42.33, "peak_cpu_rss_mb": 4176.2, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 1012.81, "peak_cpu_rss_mb": 5951.0, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4128.0, "kd_epochs": 5}, "active_learning": {"seconds": 1450.45, "peak_cpu_rss_mb": 5951.0, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4176.0, "rounds": 6}, "inference": {"seconds": 91.64, "peak_cpu_rss_mb": 5951.0, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4176.0, "patches": 1750, "images": 50, "patches_per_second": 19.1, "seconds_per_image": 1.833}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 5951.0, "total_seconds": 2598.0}
97
+ [07:49:59][ 2605s][TEST] patch_dice=0.9217 patch_iou=0.8940 patch_precision=0.9546 patch_recall=0.9358 patch_vi=0.0413 image_dice=0.9519 image_iou=0.9087 image_precision=0.9614 image_recall=0.9437 image_vi=0.0484 cal_ece=0.0017 cal_nll=0.0169 cal_brier=0.0036 cal_mean_confidence=0.9970 cal_accuracy=0.9953 cal_predicted_prevalence=0.0446 cal_true_prevalence=0.0452 cal_mean_probability=0.0448
98
+ [07:50:00][ 2605s][DONE] lucchi-pp macs-v11-norestart-acq-random b5 s1 | test patch Dice=0.9217 VI=0.0413 | image Dice=0.9519 VI=0.0484 | 2605s
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-random/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,647 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "lucchi-pp",
3
+ "variant": "macs-v11-norestart-acq-random",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "lucchi-pp",
9
+ "variant": "macs-v11-norestart-acq-random",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "random",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 0,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "aecf380",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "lucchi-pp",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-random",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "aecf380",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "kasthuri-pp",
147
+ "drosophila-vnc",
148
+ "multiclass"
149
+ ],
150
+ "alphas": [
151
+ 0.03256907457032885,
152
+ 0.031801008835420135,
153
+ 0.015561893577512515,
154
+ 0.9200680230167385
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "drosophila-vnc",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.03256907457032885,
165
+ 0.031801008835420135,
166
+ 0.015561893577512515,
167
+ 0.9200680230167385
168
+ ],
169
+ "per_source": [
170
+ 0.013021514318439549,
171
+ 0.021594227384204207,
172
+ 0.00495364759466876,
173
+ 0.9604306107026874
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.001413505929905978,
183
+ "mmd2_mixture": 0.005039697348754646,
184
+ "mmd2_uniform": 0.2092228336519747,
185
+ "mmd2_single_source": [
186
+ 0.5680513520444281,
187
+ 0.4644148125694437,
188
+ 0.6002511462494531,
189
+ 0.004698715465898062
190
+ ],
191
+ "median_squared_distance": 0.1892747764462741,
192
+ "gammas": [
193
+ 1.3208310409546982,
194
+ 2.6416620819093963,
195
+ 5.283324163818793,
196
+ 10.566648327637585,
197
+ 21.13329665527517
198
+ ],
199
+ "max_weight": 0.9200680230167385,
200
+ "entropy": 0.36261914188486677,
201
+ "effective_sources": 1.4370884282110035,
202
+ "min_weight": 0.015561893577512515
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6675354526109456,
207
+ 0.5899267604637966,
208
+ 0.8158227740743191,
209
+ 0.007664790896468099
210
+ ],
211
+ "standardized": [
212
+ 0.4800153933276398,
213
+ 0.22710384776568787,
214
+ 0.9632547653742088,
215
+ -1.670374006467536
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9604306107026874,
219
+ "entropy": 0.2044174691373809,
220
+ "effective_sources": 1.2268102019632934,
221
+ "min_weight": 0.00495364759466876
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "multiclass",
226
+ "seconds": 1.3
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.24317352702666994,
231
+ 0.16070093323689605,
232
+ 0.16243146338599246,
233
+ 0.8333945099982429
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.8341164139370107,
237
+ "mixture@raw": 0.8334634452984915,
238
+ "mixture@logit": 0.8348661307075531,
239
+ "per_source": 0.8335017830355866,
240
+ "per_source@raw": 0.8334355010464378,
241
+ "per_source@logit": 0.8337681001665089,
242
+ "uniform": 0.3312974448451058,
243
+ "uniform@raw": 0.18374038775198187,
244
+ "uniform@logit": 0.21963766526924644
245
+ },
246
+ "val_patches": 1024
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 2.5090832710266113,
251
+ 2.767641305923462,
252
+ 2.597146987915039
253
+ ],
254
+ "top_source": "multiclass",
255
+ "weight_stats": {
256
+ "max_weight": 0.9200680230167385,
257
+ "entropy": 0.36261914188486677,
258
+ "effective_sources": 1.4370884282110035,
259
+ "min_weight": 0.015561893577512515
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.7999999999999999,
263
+ "spearman_weight_taxonomy": -0.2581988897471611,
264
+ "top_source": "multiclass",
265
+ "top_source_is_best_teacher": true
266
+ },
267
+ "init_teacher": "multiclass",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.0,
270
+ "kd_seconds": 1012.8,
271
+ "round0_val": {
272
+ "val_dice": 0.8824999818736274,
273
+ "val_vi": 0.06309425262480922,
274
+ "val_ece": 0.01823718431407162
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 67,
280
+ "selection_seconds": 82.7,
281
+ "round_seconds": 632.7,
282
+ "teacher_dice_labeled": [
283
+ 0.2876389731008006,
284
+ 2.8393119779215102e-06,
285
+ 0.02286523788150808,
286
+ 0.931847537434372
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 352197,
290
+ "evidence_nonempty_patches": 62,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.939764804154994,
294
+ "restart_teacher_dice": 0.931847537434372,
295
+ "weights": [
296
+ 5.6389282479936555e-05,
297
+ 3.1020171205931166e-06,
298
+ 1.907901148148134e-06,
299
+ 0.9999386007992513
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.931847537434372,
304
+ "uniform": 0.3539312329080638,
305
+ "top1": 0.931847537434372,
306
+ "top2": 0.931847537434372,
307
+ "top3": 0.931847537434372
308
+ },
309
+ "val_dice": 0.7963996417830616,
310
+ "val_vi": 0.09719983582607203,
311
+ "val_ece": 0.008608905565021063
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 134,
316
+ "selection_seconds": 0.2,
317
+ "round_seconds": 57.6,
318
+ "teacher_dice_labeled": [
319
+ 0.2797322410747025,
320
+ 1.455782075246464e-06,
321
+ 0.03129283038951154,
322
+ 0.9308365557494995
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 686915,
326
+ "evidence_nonempty_patches": 121,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 5.2632044600482846e-05,
331
+ 3.1335047376057656e-06,
332
+ 2.0967594661903174e-06,
333
+ 0.9999421376911957
334
+ ],
335
+ "ensemble_choice": "mixture",
336
+ "candidate_dice": {
337
+ "mixture": 0.9308365557494995,
338
+ "uniform": 0.3157631136821172,
339
+ "top1": 0.9308365557494995,
340
+ "top2": 0.9308365557494995,
341
+ "top3": 0.9308365557494995
342
+ },
343
+ "pseudo_student_dice": 0.9217522272049676,
344
+ "pseudo_ensemble_dice": 0.9297682266068903,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.8360258919249423,
348
+ "val_vi": 0.07626112770829221,
349
+ "val_ece": 0.005044878277267725
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 201,
354
+ "selection_seconds": 0.2,
355
+ "round_seconds": 82.7,
356
+ "teacher_dice_labeled": [
357
+ 0.285088893636434,
358
+ 9.573124792382856e-07,
359
+ 0.027690813420591064,
360
+ 0.9358991276509686
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 1044085,
364
+ "evidence_nonempty_patches": 179,
365
+ "first_correction": false,
366
+ "restart": "",
367
+ "weights": [
368
+ 5.278706224823984e-05,
369
+ 2.978803091277857e-06,
370
+ 1.922732452354128e-06,
371
+ 0.9999423114022081
372
+ ],
373
+ "ensemble_choice": "mixture",
374
+ "candidate_dice": {
375
+ "mixture": 0.9358986801938234,
376
+ "uniform": 0.3092815616297828,
377
+ "top1": 0.9358991276509686,
378
+ "top2": 0.9358986801938234,
379
+ "top3": 0.9358986801938234
380
+ },
381
+ "pseudo_student_dice": 0.9488361135853891,
382
+ "pseudo_ensemble_dice": 0.9455641796027374,
383
+ "pseudo_source": "ensemble",
384
+ "consistency_scale": 1.0,
385
+ "val_dice": 0.8717971151028363,
386
+ "val_vi": 0.07333970560102024,
387
+ "val_ece": 0.006264443101983306
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 268,
392
+ "selection_seconds": 0.2,
393
+ "round_seconds": 106.7,
394
+ "teacher_dice_labeled": [
395
+ 0.2887129617740495,
396
+ 7.146374179864233e-07,
397
+ 0.02675218913568767,
398
+ 0.9341140653396488
399
+ ],
400
+ "teacher_dice_pool": null,
401
+ "evidence_fg_pixels": 1398805,
402
+ "evidence_nonempty_patches": 243,
403
+ "first_correction": false,
404
+ "restart": "",
405
+ "weights": [
406
+ 5.572085136061948e-05,
407
+ 3.0324375408485426e-06,
408
+ 1.9390704386544167e-06,
409
+ 0.99993930764066
410
+ ],
411
+ "ensemble_choice": "mixture",
412
+ "candidate_dice": {
413
+ "mixture": 0.9341141124811376,
414
+ "uniform": 0.2974809266161287,
415
+ "top1": 0.9341140653396488,
416
+ "top2": 0.9341141124811376,
417
+ "top3": 0.9341141124811376
418
+ },
419
+ "pseudo_student_dice": 0.9379381073761351,
420
+ "pseudo_ensemble_dice": 0.9288095752421666,
421
+ "pseudo_source": "ensemble",
422
+ "consistency_scale": 1.0,
423
+ "val_dice": 0.8609243697760304,
424
+ "val_vi": 0.0737337951427876,
425
+ "val_ece": 0.006416487514190574
426
+ },
427
+ {
428
+ "round": 5,
429
+ "n_labeled": 335,
430
+ "selection_seconds": 0.2,
431
+ "round_seconds": 130.5,
432
+ "teacher_dice_labeled": [
433
+ 0.2851837942410718,
434
+ 5.709202892510553e-07,
435
+ 0.02400631314910587,
436
+ 0.9346082435626396
437
+ ],
438
+ "teacher_dice_pool": null,
439
+ "evidence_fg_pixels": 1751052,
440
+ "evidence_nonempty_patches": 304,
441
+ "first_correction": false,
442
+ "restart": "",
443
+ "weights": [
444
+ 5.352363032039484e-05,
445
+ 3.017491387355586e-06,
446
+ 1.8772546836238203e-06,
447
+ 0.9999415816236087
448
+ ],
449
+ "ensemble_choice": "mixture",
450
+ "candidate_dice": {
451
+ "mixture": 0.934608280971694,
452
+ "uniform": 0.3136637816728857,
453
+ "top1": 0.9346082435626396,
454
+ "top2": 0.934608280971694,
455
+ "top3": 0.934608280971694
456
+ },
457
+ "pseudo_student_dice": 0.9435884035290092,
458
+ "pseudo_ensemble_dice": 0.9365794422929289,
459
+ "pseudo_source": "ensemble",
460
+ "consistency_scale": 1.0,
461
+ "val_dice": 0.8758075852599518,
462
+ "val_vi": 0.06919363862118208,
463
+ "val_ece": 0.005191076904368195
464
+ },
465
+ {
466
+ "round": 6,
467
+ "n_labeled": 402,
468
+ "selection_seconds": 0.2,
469
+ "round_seconds": 155.8,
470
+ "teacher_dice_labeled": [
471
+ 0.28191093592370076,
472
+ 4.857738693491748e-07,
473
+ 0.022959482419344,
474
+ 0.9338568269067726
475
+ ],
476
+ "teacher_dice_pool": null,
477
+ "evidence_fg_pixels": 2057337,
478
+ "evidence_nonempty_patches": 357,
479
+ "first_correction": false,
480
+ "restart": "",
481
+ "weights": [
482
+ 5.219100403170781e-05,
483
+ 3.040252132571167e-06,
484
+ 1.8717196545786043e-06,
485
+ 0.9999428970241812
486
+ ],
487
+ "ensemble_choice": "mixture",
488
+ "candidate_dice": {
489
+ "mixture": 0.9338566313420587,
490
+ "uniform": 0.32391720725548095,
491
+ "top1": 0.9338568269067726,
492
+ "top2": 0.9338566313420587,
493
+ "top3": 0.9338566313420587
494
+ },
495
+ "pseudo_student_dice": 0.9342727392589453,
496
+ "pseudo_ensemble_dice": 0.9294967729090275,
497
+ "pseudo_source": "ensemble",
498
+ "consistency_scale": 1.0,
499
+ "val_dice": 0.8795111878237105,
500
+ "val_vi": 0.063227044280279,
501
+ "val_ece": 0.00398630717600138
502
+ },
503
+ {
504
+ "round": 7,
505
+ "n_labeled": 402,
506
+ "selection_seconds": 0.0,
507
+ "round_seconds": 243.8,
508
+ "final_consolidation": true,
509
+ "val_dice": 0.884373415141364,
510
+ "val_vi": 0.06514450746984593,
511
+ "val_ece": 0.004541055743000292
512
+ }
513
+ ],
514
+ "uncertainty_quality": {
515
+ "spearman_uncertainty_error": -0.0022443099490930996,
516
+ "auroc_top20_error": 0.49312246093750006
517
+ },
518
+ "al_seconds": 1450.4,
519
+ "source_archs": [
520
+ "unet",
521
+ "unet",
522
+ "unet",
523
+ "unet"
524
+ ],
525
+ "alphas_final": [
526
+ 5.219100403170781e-05,
527
+ 3.040252132571167e-06,
528
+ 1.8717196545786043e-06,
529
+ 0.9999428970241812
530
+ ],
531
+ "weight_stats_final": {
532
+ "max_weight": 0.9999428970241812,
533
+ "entropy": 0.0006350434984520711,
534
+ "effective_sources": 1.0006352451812648,
535
+ "min_weight": 1.8717196545786043e-06
536
+ },
537
+ "top_source_final": "multiclass",
538
+ "ensemble_choice_final": "",
539
+ "restart": "kept",
540
+ "test_raw_student": {
541
+ "patch_dice": 0.9146401557969808,
542
+ "patch_iou": 0.8843900144666924,
543
+ "patch_precision": 0.9444387414189249,
544
+ "patch_recall": 0.9370968354478443,
545
+ "patch_vi": 0.0434695779629698,
546
+ "n_patches": 1750,
547
+ "cal_ece": 0.002688002960785389,
548
+ "cal_nll": 0.021318272008663725,
549
+ "cal_brier": 0.004021202493275474,
550
+ "cal_mean_confidence": 0.997700837782214,
551
+ "cal_accuracy": 0.9950128348214285,
552
+ "cal_predicted_prevalence": 0.04469475446428572,
553
+ "cal_true_prevalence": 0.04515513392857143,
554
+ "cal_mean_probability": 0.04464832570282386
555
+ },
556
+ "test_notta": {
557
+ "patch_dice": 0.9146401557969808,
558
+ "patch_iou": 0.8843900144666924,
559
+ "patch_precision": 0.9444387414189249,
560
+ "patch_recall": 0.9370968354478443,
561
+ "patch_vi": 0.0434695779629698,
562
+ "n_patches": 1750,
563
+ "cal_ece": 0.002688002960785389,
564
+ "cal_nll": 0.021318272008663725,
565
+ "cal_brier": 0.004021202493275474,
566
+ "cal_mean_confidence": 0.997700837782214,
567
+ "cal_accuracy": 0.9950128348214285,
568
+ "cal_predicted_prevalence": 0.04469475446428572,
569
+ "cal_true_prevalence": 0.04515513392857143,
570
+ "cal_mean_probability": 0.04464832570282386
571
+ },
572
+ "test": {
573
+ "patch_dice": 0.9216756956926461,
574
+ "patch_iou": 0.8940452932960153,
575
+ "patch_precision": 0.9545525749986802,
576
+ "patch_recall": 0.9358326668206619,
577
+ "patch_vi": 0.04133018567270993,
578
+ "n_patches": 1750,
579
+ "image_dice": 0.9518754282319007,
580
+ "image_iou": 0.908654900675551,
581
+ "image_precision": 0.9613938476386131,
582
+ "image_recall": 0.9436737891974423,
583
+ "image_vi": 0.04840384507907384,
584
+ "n_images": 50,
585
+ "cal_ece": 0.0017047703042317487,
586
+ "cal_nll": 0.016949773001781545,
587
+ "cal_brier": 0.0036152859965237925,
588
+ "cal_mean_confidence": 0.9969826720899462,
589
+ "cal_accuracy": 0.9952779017857143,
590
+ "cal_predicted_prevalence": 0.044606026785714285,
591
+ "cal_true_prevalence": 0.04515513392857143,
592
+ "cal_mean_probability": 0.04480511960019529
593
+ },
594
+ "eval_seconds": 91.6,
595
+ "total_seconds": 2604.6,
596
+ "resources": {
597
+ "phases": {
598
+ "setup": {
599
+ "seconds": 0.75,
600
+ "peak_cpu_rss_mb": 2174.8,
601
+ "peak_gpu_alloc_mb": 592.4,
602
+ "peak_gpu_reserved_mb": 594.0
603
+ },
604
+ "features_and_weights": {
605
+ "seconds": 42.33,
606
+ "peak_cpu_rss_mb": 4176.2,
607
+ "peak_gpu_alloc_mb": 2298.2,
608
+ "peak_gpu_reserved_mb": 2640.0
609
+ },
610
+ "distillation": {
611
+ "seconds": 1012.81,
612
+ "peak_cpu_rss_mb": 5951.0,
613
+ "peak_gpu_alloc_mb": 3826.7,
614
+ "peak_gpu_reserved_mb": 4128.0,
615
+ "kd_epochs": 5
616
+ },
617
+ "active_learning": {
618
+ "seconds": 1450.45,
619
+ "peak_cpu_rss_mb": 5951.0,
620
+ "peak_gpu_alloc_mb": 3947.0,
621
+ "peak_gpu_reserved_mb": 4176.0,
622
+ "rounds": 6
623
+ },
624
+ "inference": {
625
+ "seconds": 91.64,
626
+ "peak_cpu_rss_mb": 5951.0,
627
+ "peak_gpu_alloc_mb": 2149.5,
628
+ "peak_gpu_reserved_mb": 4176.0,
629
+ "patches": 1750,
630
+ "images": 50,
631
+ "patches_per_second": 19.1,
632
+ "seconds_per_image": 1.833
633
+ }
634
+ },
635
+ "peak_gpu_alloc_mb": 3947.0,
636
+ "peak_cpu_rss_mb": 5951.0,
637
+ "total_seconds": 2598.0
638
+ },
639
+ "student_parameters": 31042369,
640
+ "teacher_parameters": [
641
+ 31042369,
642
+ 31042369,
643
+ 31042369,
644
+ 31042369
645
+ ],
646
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/lucchi-pp/macs-v11-norestart-acq-random_b5_s1.pth"
647
+ }
macs_v2_r26/runs/mitochondria/lucchi-pp/macs-v11-norestart-acq-random/budget-5/seed-1/rounds.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ round,n_labeled,selection_seconds,round_seconds,teacher_dice_labeled,teacher_dice_pool,evidence_fg_pixels,evidence_nonempty_patches,first_correction,restart,restart_student_dice,restart_teacher_dice,weights,ensemble_choice,candidate_dice,val_dice,val_vi,val_ece,pseudo_student_dice,pseudo_ensemble_dice,pseudo_source,consistency_scale,final_consolidation
2
+ 1,67,82.7,632.7,"[0.2876389731008006, 2.8393119779215102e-06, 0.02286523788150808, 0.931847537434372]",,352197,62,True,kept,0.939764804154994,0.931847537434372,"[5.6389282479936555e-05, 3.1020171205931166e-06, 1.907901148148134e-06, 0.9999386007992513]",mixture,"{'mixture': 0.931847537434372, 'uniform': 0.3539312329080638, 'top1': 0.931847537434372, 'top2': 0.931847537434372, 'top3': 0.931847537434372}",0.7963996417830616,0.09719983582607203,0.008608905565021063,,,,,
3
+ 2,134,0.2,57.6,"[0.2797322410747025, 1.455782075246464e-06, 0.03129283038951154, 0.9308365557494995]",,686915,121,False,,,,"[5.2632044600482846e-05, 3.1335047376057656e-06, 2.0967594661903174e-06, 0.9999421376911957]",mixture,"{'mixture': 0.9308365557494995, 'uniform': 0.3157631136821172, 'top1': 0.9308365557494995, 'top2': 0.9308365557494995, 'top3': 0.9308365557494995}",0.8360258919249423,0.07626112770829221,0.005044878277267725,0.9217522272049676,0.9297682266068903,ensemble,1.0,
4
+ 3,201,0.2,82.7,"[0.285088893636434, 9.573124792382856e-07, 0.027690813420591064, 0.9358991276509686]",,1044085,179,False,,,,"[5.278706224823984e-05, 2.978803091277857e-06, 1.922732452354128e-06, 0.9999423114022081]",mixture,"{'mixture': 0.9358986801938234, 'uniform': 0.3092815616297828, 'top1': 0.9358991276509686, 'top2': 0.9358986801938234, 'top3': 0.9358986801938234}",0.8717971151028363,0.07333970560102024,0.006264443101983306,0.9488361135853891,0.9455641796027374,ensemble,1.0,
5
+ 4,268,0.2,106.7,"[0.2887129617740495, 7.146374179864233e-07, 0.02675218913568767, 0.9341140653396488]",,1398805,243,False,,,,"[5.572085136061948e-05, 3.0324375408485426e-06, 1.9390704386544167e-06, 0.99993930764066]",mixture,"{'mixture': 0.9341141124811376, 'uniform': 0.2974809266161287, 'top1': 0.9341140653396488, 'top2': 0.9341141124811376, 'top3': 0.9341141124811376}",0.8609243697760304,0.0737337951427876,0.006416487514190574,0.9379381073761351,0.9288095752421666,ensemble,1.0,
6
+ 5,335,0.2,130.5,"[0.2851837942410718, 5.709202892510553e-07, 0.02400631314910587, 0.9346082435626396]",,1751052,304,False,,,,"[5.352363032039484e-05, 3.017491387355586e-06, 1.8772546836238203e-06, 0.9999415816236087]",mixture,"{'mixture': 0.934608280971694, 'uniform': 0.3136637816728857, 'top1': 0.9346082435626396, 'top2': 0.934608280971694, 'top3': 0.934608280971694}",0.8758075852599518,0.06919363862118208,0.005191076904368195,0.9435884035290092,0.9365794422929289,ensemble,1.0,
7
+ 6,402,0.2,155.8,"[0.28191093592370076, 4.857738693491748e-07, 0.022959482419344, 0.9338568269067726]",,2057337,357,False,,,,"[5.219100403170781e-05, 3.040252132571167e-06, 1.8717196545786043e-06, 0.9999428970241812]",mixture,"{'mixture': 0.9338566313420587, 'uniform': 0.32391720725548095, 'top1': 0.9338568269067726, 'top2': 0.9338566313420587, 'top3': 0.9338566313420587}",0.8795111878237105,0.063227044280279,0.00398630717600138,0.9342727392589453,0.9294967729090275,ensemble,1.0,
8
+ 7,402,0.0,243.8,,,,,,,,,,,,0.884373415141364,0.06514450746984593,0.004541055743000292,,,,,True
macs_v2_r26/runs/mitochondria/multiclass/macs-v11-norestart-acq-laplace/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [23:14:51][ 0s][START] target=multiclass variant=macs-v11-norestart-acq-laplace budget=5.0% seed=1 | {"task": "mitochondria", "target": "multiclass", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 1, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 8, "batch_size": 8, "eval_batch_size": 16, "amp": true, "weighting": "mixture", "feature_n": 512, "feature_seed": 0, "source_split": "train", "kernel_scales": "0.25,0.5,1,2,4", "lam": 0.01, "tau": 0.5, "calibration": "source-val", "ensemble_space": "prob", "student_init": "top-source", "init_compatible": false, "weight_update": "labeled", "reliability_beta": 10.0, "update_cap": 512, "kd_after_update": 2, "reinit_after_update": true, "min_consistency": 64, "consistency_cap": 2000, "select_ensemble": true, "pseudo_source": "auto", "final_epochs": 10, "evidence": "pooled", "min_evidence_fg": 2000, "restart_rule": "evidence", "ema": 0.0, "conf_weight": false, "skip_blank": true, "free_blank": true, "aug_intensity": false, "final_pool": false, "final_pool_cap": 8000, "tta": true, "blank_std": 0.01, "kd": true, "kd_epochs": 5, "kd_lr": 0.0001, "kd_cap": 6000, "kd_kl_weight": 0.0, "rounds": 6, "label_schedule": "rounds", "eval_test_rounds": "", "acquisition": "laplace", "first_round": "stratified", "cold_cap": 2000, "recover": false, "recover_margin": 0.1, "recover_max": 2, "recover_big": 0.3, "recover_epochs": 3, "adabn": true, "adabn_cap": 512, "restart_margin": 9.0, "skip_empty": true, "empty_prevalence": 0.005, "score_pool_cap": 8000, "lap_precision": "pool", "lap_score": "entropy+var", "lap_scale": 1.0, "deconf_prev": false, "diversity": "none", "div_mult": 4, "evidence_explore_only": false, "pseudo_switch_margin": 0.05, "cons_gate": true, "cons_gate_lo": 0.5, "cons_gate_hi": 0.8, "pool_evidence": 0.5, "pool_evidence_n": 2000, "oracle_evidence": false, "typicality": 0.0, "evidence_rounds": 0, "explore_frac": 0.0, "strat_bins": 10, "dump_signals": "", "mc_passes": 5, "mc_dropout": 0.2, "ft_epochs": 5, "ft_lr": 0.0001, "ft_cap": 10000, "ft_loss": "combined", "augment": true, "l2sp": 0.0, "consistency": 0.5, "eval_rounds": true, "val_cap": 1024, "image_level": true}
2
+ [23:14:51][ 0s][DATA] MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.
3
+ [23:14:51][ 0s][DATA] multiclass: train=1855 val=350 test=175 patches
4
+ [23:14:55][ 4s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, lucchi=3.80, dros-vnc=2.77
5
+ [23:14:55][ 4s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 1s
6
+ [23:14:57][ 6s][WEIGHTS] mixture: fly-mito=0.012, kasthuri=0.012, lucchi=0.968, dros-vnc=0.008 | eff.sources=1.19 | MMD2 mix=0.0059 uniform=0.2484
7
+ [23:14:57][ 6s][WEIGHTS] per-source: fly-mito=0.014, kasthuri=0.019, lucchi=0.962, dros-vnc=0.005 | min-MMD source (NeuroADDA rule) = lucchi
8
+ [23:15:10][ 19s][TEACHERS] target-val Dice: fly-mito=0.258, kasthuri=0.175, lucchi=0.968, dros-vnc=0.176
9
+ [23:15:10][ 19s][TEACHERS] ensemble target-val Dice: mixture=0.967, mixture@raw=0.968, mixture@logit=0.967, per_source=0.967, per_source@raw=0.967, per_source@logit=0.966, uniform=0.248, uniform@raw=0.208, uniform@logit=0.195
10
+ [23:15:10][ 19s][WEIGHTS] using mixture: fly-mito=0.012, kasthuri=0.012, lucchi=0.968, dros-vnc=0.008
11
+ [23:15:10][ 19s][INIT] student initialised from teacher lucchi (weight 0.968)
12
+ [23:15:13][ 22s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [23:15:13][ 22s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [23:15:50][ 60s][KD] soft labels for 1855 patches from 4 teachers in 37s
15
+ [23:16:45][ 114s][KD] epoch 1/5 | patches=1855 | loss=0.1031 | 55s
16
+ [23:17:40][ 169s][KD] epoch 2/5 | patches=1855 | loss=0.0736 | 55s
17
+ [23:18:35][ 224s][KD] epoch 3/5 | patches=1855 | loss=0.0710 | 55s
18
+ [23:19:30][ 279s][KD] epoch 4/5 | patches=1855 | loss=0.0699 | 55s
19
+ [23:20:25][ 334s][KD] epoch 5/5 | patches=1855 | loss=0.0687 | 55s
20
+ [23:20:27][ 336s][ROUND0] before any target label: val_dice=0.9624 val_vi=0.0434
21
+ [23:20:27][ 336s][AL] patches=1855 (pool 1855 after dropping blank; free blank negatives: True) | budget=92 (5.0%) | rounds=6 | per_round=15 | acquisition=laplace | first_round=stratified
22
+ [23:20:47][ 356s][AL] round-1 uncertainty quality on 1855 patches: {'spearman_uncertainty_error': -0.14785451464746693, 'auroc_top20_error': 0.2738500882731163}
23
+ [23:21:26][ 395s][AL] round 1: stratified cold start: 8 patches from the membrane-rich half (ensemble prevalence >= 0.071) + 7 from the membrane-poor half of 1855 candidates
24
+ [23:21:27][ 396s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.968, uniform=0.178, top1=0.968, top2=0.968, top3=0.968 -> using mixture
25
+ [23:21:28][ 397s][WEIGHTS] round 1: student kept (labeled Dice 0.966 vs best teacher lucchi 0.968); distilling the corrected ensemble into it
26
+ [23:21:28][ 397s][WEIGHTS] round 1: teacher Dice on 15 labeled patches + 0 blank (73632 fg px): fly-mito=0.294, kasthuri=0.000, lucchi=0.968, dros-vnc=0.018 | weights: fly-mito=0.000, kasthuri=0.000, lucchi=1.000, dros-vnc=0.000
27
+ [23:22:05][ 434s][KD] soft labels for 1840 patches from 4 teachers in 38s
28
+ [23:23:00][ 489s][KD] epoch 1/2 | patches=1840 | loss=0.0453 | 55s
29
+ [23:23:55][ 544s][KD] epoch 2/2 | patches=1840 | loss=0.0448 | 55s
30
+ [23:24:33][ 582s][CONS] pseudo-labels for 1840 unlabeled patches from the current ensemble in 38s
31
+ [23:24:34][ 583s][FT] round 1/6 epoch 1/5 | patches=15 | loss=0.2333
32
+ [23:24:36][ 585s][FT] round 1/6 epoch 2/5 | patches=15 | loss=0.1945
33
+ [23:24:37][ 586s][FT] round 1/6 epoch 3/5 | patches=15 | loss=0.1615
34
+ [23:24:38][ 588s][FT] round 1/6 epoch 4/5 | patches=15 | loss=0.1698
35
+ [23:24:40][ 589s][FT] round 1/6 epoch 5/5 | patches=15 | loss=0.1832
36
+ [23:24:42][ 591s][AL] round 1/6 | labeled=15 | selection_seconds=58.3000 round_seconds=252.7000 restart_student_dice=0.9665 restart_teacher_dice=0.9683 val_dice=0.9368 val_vi=0.0490 val_ece=0.0022
37
+ [23:25:02][ 611s][AL] round 2: 272/1840 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [23:25:05][ 614s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.968, uniform=0.130, top1=0.968, top2=0.968, top3=0.968 -> using mixture
39
+ [23:25:05][ 614s][WEIGHTS] round 2: teacher Dice on 30 labeled patches + 0 blank (155821 fg px): fly-mito=0.300, kasthuri=0.000, lucchi=0.968, dros-vnc=0.011 | weights: fly-mito=0.000, kasthuri=0.000, lucchi=1.000, dros-vnc=0.000
40
+ [23:25:07][ 616s][CONS] round 2: on the 15 new patches student Dice=0.959 vs ensemble 0.968 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [23:25:09][ 618s][FT] round 2/6 epoch 1/5 | patches=30 | loss=0.1966
42
+ [23:25:11][ 621s][FT] round 2/6 epoch 2/5 | patches=30 | loss=0.1494
43
+ [23:25:14][ 623s][FT] round 2/6 epoch 3/5 | patches=30 | loss=0.1582
44
+ [23:25:16][ 625s][FT] round 2/6 epoch 4/5 | patches=30 | loss=0.1536
45
+ [23:25:19][ 628s][FT] round 2/6 epoch 5/5 | patches=30 | loss=0.1538
46
+ [23:25:21][ 630s][AL] round 2/6 | labeled=30 | selection_seconds=20.2000 round_seconds=36.4000 pseudo_student_dice=0.9591 pseudo_ensemble_dice=0.9683 consistency_scale=1.0000 val_dice=0.9536 val_vi=0.0476 val_ece=0.0014
47
+ [23:25:40][ 650s][AL] round 3: 270/1825 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [23:25:45][ 654s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.966, uniform=0.120, top1=0.966, top2=0.966, top3=0.966 -> using mixture
49
+ [23:25:45][ 654s][WEIGHTS] round 3: teacher Dice on 45 labeled patches + 0 blank (240801 fg px): fly-mito=0.311, kasthuri=0.000, lucchi=0.966, dros-vnc=0.019 | weights: fly-mito=0.000, kasthuri=0.000, lucchi=1.000, dros-vnc=0.000
50
+ [23:25:46][ 655s][CONS] round 3: on the 15 new patches student Dice=0.966 vs ensemble 0.962 -> pseudo-labels from the ensemble | consistency x1.00
51
+ [23:25:49][ 658s][FT] round 3/6 epoch 1/5 | patches=45 | loss=0.1997
52
+ [23:25:53][ 662s][FT] round 3/6 epoch 2/5 | patches=45 | loss=0.1722
53
+ [23:25:56][ 665s][FT] round 3/6 epoch 3/5 | patches=45 | loss=0.1707
54
+ [23:25:59][ 668s][FT] round 3/6 epoch 4/5 | patches=45 | loss=0.1597
55
+ [23:26:02][ 671s][FT] round 3/6 epoch 5/5 | patches=45 | loss=0.1385
56
+ [23:26:05][ 674s][AL] round 3/6 | labeled=45 | selection_seconds=20.0000 round_seconds=41.7000 pseudo_student_dice=0.9658 pseudo_ensemble_dice=0.9617 consistency_scale=1.0000 val_dice=0.9543 val_vi=0.0476 val_ece=0.0014
57
+ [23:26:24][ 693s][AL] round 4: 282/1810 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [23:26:29][ 699s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.966, uniform=0.148, top1=0.966, top2=0.966, top3=0.966 -> using mixture
59
+ [23:26:29][ 699s][WEIGHTS] round 4: teacher Dice on 60 labeled patches + 0 blank (328081 fg px): fly-mito=0.318, kasthuri=0.000, lucchi=0.966, dros-vnc=0.033 | weights: fly-mito=0.000, kasthuri=0.000, lucchi=1.000, dros-vnc=0.000
60
+ [23:26:31][ 700s][CONS] round 4: on the 15 new patches student Dice=0.971 vs ensemble 0.966 -> pseudo-labels from the ensemble | consistency x1.00
61
+ [23:26:35][ 704s][FT] round 4/6 epoch 1/5 | patches=60 | loss=0.1675
62
+ [23:26:39][ 708s][FT] round 4/6 epoch 2/5 | patches=60 | loss=0.1548
63
+ [23:26:43][ 713s][FT] round 4/6 epoch 3/5 | patches=60 | loss=0.1342
64
+ [23:26:48][ 717s][FT] round 4/6 epoch 4/5 | patches=60 | loss=0.1252
65
+ [23:26:52][ 721s][FT] round 4/6 epoch 5/5 | patches=60 | loss=0.1480
66
+ [23:26:54][ 723s][AL] round 4/6 | labeled=60 | selection_seconds=19.8000 round_seconds=47.3000 pseudo_student_dice=0.9707 pseudo_ensemble_dice=0.9663 consistency_scale=1.0000 val_dice=0.9217 val_vi=0.0488 val_ece=0.0021
67
+ [23:27:13][ 743s][AL] round 5: 255/1795 candidates skipped as agreed-empty (predicted prevalence < 0.005)
68
+ [23:27:20][ 749s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.964, uniform=0.157, top1=0.964, top2=0.964, top3=0.964 -> using mixture
69
+ [23:27:20][ 749s][WEIGHTS] round 5: teacher Dice on 75 labeled patches + 0 blank (412459 fg px): fly-mito=0.323, kasthuri=0.000, lucchi=0.964, dros-vnc=0.033 | weights: fly-mito=0.000, kasthuri=0.000, lucchi=1.000, dros-vnc=0.000
70
+ [23:27:21][ 750s][CONS] round 5: on the 15 new patches student Dice=0.965 vs ensemble 0.955 -> pseudo-labels from the ensemble | consistency x1.00
71
+ [23:27:26][ 755s][FT] round 5/6 epoch 1/5 | patches=75 | loss=0.1604
72
+ [23:27:32][ 761s][FT] round 5/6 epoch 2/5 | patches=75 | loss=0.1526
73
+ [23:27:37][ 766s][FT] round 5/6 epoch 3/5 | patches=75 | loss=0.1478
74
+ [23:27:42][ 771s][FT] round 5/6 epoch 4/5 | patches=75 | loss=0.1327
75
+ [23:27:47][ 776s][FT] round 5/6 epoch 5/5 | patches=75 | loss=0.1382
76
+ [23:27:49][ 778s][AL] round 5/6 | labeled=75 | selection_seconds=19.7000 round_seconds=53.0000 pseudo_student_dice=0.9648 pseudo_ensemble_dice=0.9555 consistency_scale=1.0000 val_dice=0.9241 val_vi=0.0486 val_ece=0.0021
77
+ [23:28:09][ 798s][AL] round 6: 270/1780 candidates skipped as agreed-empty (predicted prevalence < 0.005)
78
+ [23:28:16][ 805s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.963, uniform=0.160, top1=0.963, top2=0.963, top3=0.963 -> using mixture
79
+ [23:28:16][ 805s][WEIGHTS] round 6: teacher Dice on 90 labeled patches + 0 blank (495033 fg px): fly-mito=0.313, kasthuri=0.000, lucchi=0.963, dros-vnc=0.033 | weights: fly-mito=0.000, kasthuri=0.000, lucchi=1.000, dros-vnc=0.000
80
+ [23:28:18][ 807s][CONS] round 6: on the 15 new patches student Dice=0.965 vs ensemble 0.961 -> pseudo-labels from the ensemble | consistency x1.00
81
+ [23:28:24][ 813s][FT] round 6/6 epoch 1/5 | patches=90 | loss=0.1348
82
+ [23:28:30][ 819s][FT] round 6/6 epoch 2/5 | patches=90 | loss=0.1244
83
+ [23:28:36][ 825s][FT] round 6/6 epoch 3/5 | patches=90 | loss=0.1252
84
+ [23:28:42][ 831s][FT] round 6/6 epoch 4/5 | patches=90 | loss=0.1216
85
+ [23:28:48][ 837s][FT] round 6/6 epoch 5/5 | patches=90 | loss=0.1199
86
+ [23:28:50][ 839s][AL] round 6/6 | labeled=90 | selection_seconds=19.7000 round_seconds=58.5000 pseudo_student_dice=0.9648 pseudo_ensemble_dice=0.9607 consistency_scale=1.0000 val_dice=0.9269 val_vi=0.0477 val_ece=0.0019
87
+ [23:28:56][ 845s][FT] final 1/10 epoch 1/1 | patches=90 | loss=0.1197
88
+ [23:29:02][ 851s][FT] final 2/10 epoch 1/1 | patches=90 | loss=0.1198
89
+ [23:29:08][ 857s][FT] final 3/10 epoch 1/1 | patches=90 | loss=0.1106
90
+ [23:29:14][ 863s][FT] final 4/10 epoch 1/1 | patches=90 | loss=0.1230
91
+ [23:29:20][ 869s][FT] final 5/10 epoch 1/1 | patches=90 | loss=0.1152
92
+ [23:29:26][ 875s][FT] final 6/10 epoch 1/1 | patches=90 | loss=0.1010
93
+ [23:29:32][ 881s][FT] final 7/10 epoch 1/1 | patches=90 | loss=0.1047
94
+ [23:29:38][ 887s][FT] final 8/10 epoch 1/1 | patches=90 | loss=0.1098
95
+ [23:29:44][ 893s][FT] final 9/10 epoch 1/1 | patches=90 | loss=0.1180
96
+ [23:29:50][ 899s][FT] final 10/10 epoch 1/1 | patches=90 | loss=0.0981
97
+ [23:29:52][ 901s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=60.1000 val_dice=0.9394 val_vi=0.0461 val_ece=0.0019
98
+ [23:29:52][ 901s][WEIGHTS] final: fly-mito=0.000, kasthuri=0.000, lucchi=1.000, dros-vnc=0.000
99
+ [23:30:01][ 910s][TEST] raw student (no EMA, no TTA): patch_dice=0.9013 patch_vi=0.0835
100
+ [23:30:02][ 911s][TEST] final model without TTA: patch_dice=0.9013 patch_vi=0.0835
101
+ [23:30:02][ 911s][RESOURCES] {"phases": {"setup": {"seconds": 2.66, "peak_cpu_rss_mb": 2160.1, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 18.41, "peak_cpu_rss_mb": 4176.4, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 312.05, "peak_cpu_rss_mb": 4656.7, "peak_gpu_alloc_mb": 3826.7, "peak_gpu_reserved_mb": 4148.0, "kd_epochs": 5}, "active_learning": {"seconds": 564.86, "peak_cpu_rss_mb": 4793.3, "peak_gpu_alloc_mb": 3947.0, "peak_gpu_reserved_mb": 4156.0, "rounds": 6}, "inference": {"seconds": 10.07, "peak_cpu_rss_mb": 4793.3, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4156.0, "patches": 175, "images": 5, "patches_per_second": 17.4, "seconds_per_image": 2.014}}, "peak_gpu_alloc_mb": 3947.0, "peak_cpu_rss_mb": 4793.3, "total_seconds": 908.1}
102
+ [23:30:02][ 911s][TEST] patch_dice=0.8905 patch_iou=0.8441 patch_precision=0.9614 patch_recall=0.8780 patch_vi=0.0924 image_dice=0.9038 image_iou=0.8275 image_precision=0.9575 image_recall=0.8651 image_vi=0.1166 cal_ece=0.0076 cal_nll=0.0696 cal_brier=0.0107 cal_mean_confidence=0.9948 cal_accuracy=0.9872 cal_predicted_prevalence=0.0829 cal_true_prevalence=0.0886 cal_mean_probability=0.0827
103
+ [23:30:03][ 912s][DONE] multiclass macs-v11-norestart-acq-laplace b5 s1 | test patch Dice=0.8905 VI=0.0924 | image Dice=0.9038 VI=0.1166 | 911s
macs_v2_r26/runs/mitochondria/multiclass/macs-v11-norestart-acq-laplace/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,647 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "multiclass",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "multiclass",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 1,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/mnt/sdc1/connectomics/MACS-2/models",
17
+ "cache_dir": "/mnt/sdc1/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 8,
22
+ "batch_size": 8,
23
+ "eval_batch_size": 16,
24
+ "amp": true,
25
+ "weighting": "mixture",
26
+ "feature_n": 512,
27
+ "feature_seed": 0,
28
+ "source_split": "train",
29
+ "kernel_scales": "0.25,0.5,1,2,4",
30
+ "lam": 0.01,
31
+ "tau": 0.5,
32
+ "calibration": "source-val",
33
+ "ensemble_space": "prob",
34
+ "student_init": "top-source",
35
+ "init_compatible": false,
36
+ "weight_update": "labeled",
37
+ "reliability_beta": 10.0,
38
+ "update_cap": 512,
39
+ "kd_after_update": 2,
40
+ "reinit_after_update": true,
41
+ "min_consistency": 64,
42
+ "consistency_cap": 2000,
43
+ "select_ensemble": true,
44
+ "pseudo_source": "auto",
45
+ "final_epochs": 10,
46
+ "evidence": "pooled",
47
+ "min_evidence_fg": 2000,
48
+ "restart_rule": "evidence",
49
+ "ema": 0.0,
50
+ "conf_weight": false,
51
+ "skip_blank": true,
52
+ "free_blank": true,
53
+ "aug_intensity": false,
54
+ "final_pool": false,
55
+ "final_pool_cap": 8000,
56
+ "tta": true,
57
+ "blank_std": 0.01,
58
+ "kd": true,
59
+ "kd_epochs": 5,
60
+ "kd_lr": 0.0001,
61
+ "kd_cap": 6000,
62
+ "kd_kl_weight": 0.0,
63
+ "rounds": 6,
64
+ "label_schedule": "rounds",
65
+ "eval_test_rounds": "",
66
+ "acquisition": "laplace",
67
+ "first_round": "stratified",
68
+ "cold_cap": 2000,
69
+ "recover": false,
70
+ "recover_margin": 0.1,
71
+ "recover_max": 2,
72
+ "recover_big": 0.3,
73
+ "recover_epochs": 3,
74
+ "adabn": true,
75
+ "adabn_cap": 512,
76
+ "restart_margin": 9.0,
77
+ "skip_empty": true,
78
+ "empty_prevalence": 0.005,
79
+ "score_pool_cap": 8000,
80
+ "lap_precision": "pool",
81
+ "lap_score": "entropy+var",
82
+ "lap_scale": 1.0,
83
+ "deconf_prev": false,
84
+ "diversity": "none",
85
+ "div_mult": 4,
86
+ "evidence_explore_only": false,
87
+ "pseudo_switch_margin": 0.05,
88
+ "cons_gate": true,
89
+ "cons_gate_lo": 0.5,
90
+ "cons_gate_hi": 0.8,
91
+ "pool_evidence": 0.5,
92
+ "pool_evidence_n": 2000,
93
+ "oracle_evidence": false,
94
+ "typicality": 0.0,
95
+ "evidence_rounds": 0,
96
+ "explore_frac": 0.0,
97
+ "strat_bins": 10,
98
+ "dump_signals": "",
99
+ "mc_passes": 5,
100
+ "mc_dropout": 0.2,
101
+ "ft_epochs": 5,
102
+ "ft_lr": 0.0001,
103
+ "ft_cap": 10000,
104
+ "ft_loss": "combined",
105
+ "augment": true,
106
+ "l2sp": 0.0,
107
+ "consistency": 0.5,
108
+ "eval_rounds": true,
109
+ "val_cap": 1024,
110
+ "image_level": true
111
+ },
112
+ "commit": "fce9b15",
113
+ "data_access": "MMD weights and distillation use the unlabeled target train pool only; teacher temperatures are fitted on each teacher's own source validation set; target validation labels are used only for reported diagnostics, per-round monitoring and the explicitly named best-single oracle; test labels are used once, for the final evaluation.",
114
+ "environment": {
115
+ "host": "bayzid-system-2",
116
+ "python": "3.12.11",
117
+ "torch": "2.5.1+cu118",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "multiclass",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "8",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--task",
134
+ "mitochondria",
135
+ "--output-dir",
136
+ "experiments/macs_v2/outputs-r26"
137
+ ],
138
+ "cwd": "/mnt/sdc1/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 3070",
140
+ "cuda": "11.8",
141
+ "commit": "fce9b15",
142
+ "dirty": true
143
+ },
144
+ "sources": [
145
+ "fly-brain-mito-benchmark",
146
+ "kasthuri-pp",
147
+ "lucchi-pp",
148
+ "drosophila-vnc"
149
+ ],
150
+ "alphas": [
151
+ 0.01152117817089438,
152
+ 0.011843492157429523,
153
+ 0.9683960236342841,
154
+ 0.008239306037391987
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "lucchi-pp",
161
+ "drosophila-vnc"
162
+ ],
163
+ "mixture": [
164
+ 0.01152117817089438,
165
+ 0.011843492157429523,
166
+ 0.9683960236342841,
167
+ 0.008239306037391987
168
+ ],
169
+ "per_source": [
170
+ 0.014321460439305007,
171
+ 0.018762755437246332,
172
+ 0.9619826418368663,
173
+ 0.0049331422865822525
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.004128238346556883,
183
+ "mmd2_mixture": 0.005874251861260116,
184
+ "mmd2_uniform": 0.2484069500788153,
185
+ "mmd2_single_source": [
186
+ 0.6121996102822926,
187
+ 0.5667987013145535,
188
+ 0.00484548842698207,
189
+ 0.6689345615903355
190
+ ],
191
+ "median_squared_distance": 0.20474058073505946,
192
+ "gammas": [
193
+ 1.2210573942031921,
194
+ 2.4421147884063843,
195
+ 4.884229576812769,
196
+ 9.768459153625537,
197
+ 19.536918307251074
198
+ ],
199
+ "max_weight": 0.9683960236342841,
200
+ "entropy": 0.17460135147032324,
201
+ "effective_sources": 1.1907714227038573,
202
+ "min_weight": 0.008239306037391987
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6529838206918517,
207
+ 0.6112545706593259,
208
+ 0.0030196534926445473,
209
+ 0.8176336137299548
210
+ ],
211
+ "standardized": [
212
+ 0.426446119561544,
213
+ 0.2913887851649038,
214
+ -1.6771725126169683,
215
+ 0.9593376078905211
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9619826418368663,
219
+ "entropy": 0.19889648186407677,
220
+ "effective_sources": 1.2200556614747875,
221
+ "min_weight": 0.0049331422865822525
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "lucchi-pp",
226
+ "seconds": 1.9
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.25842427994689,
231
+ 0.17499716869513837,
232
+ 0.9675528820923397,
233
+ 0.17625340082547544
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.9673725087302072,
237
+ "mixture@raw": 0.9675092802728925,
238
+ "mixture@logit": 0.9667406060014452,
239
+ "per_source": 0.9673224803379604,
240
+ "per_source@raw": 0.9674927929469518,
241
+ "per_source@logit": 0.9664724666731698,
242
+ "uniform": 0.2475083000162392,
243
+ "uniform@raw": 0.20821212102935532,
244
+ "uniform@logit": 0.19508060271550287
245
+ },
246
+ "val_patches": 350
247
+ },
248
+ "temperatures": [
249
+ 1.3822230100631714,
250
+ 2.5090832710266113,
251
+ 3.80090069770813,
252
+ 2.767641305923462
253
+ ],
254
+ "top_source": "lucchi-pp",
255
+ "weight_stats": {
256
+ "max_weight": 0.9683960236342841,
257
+ "entropy": 0.17460135147032324,
258
+ "effective_sources": 1.1907714227038573,
259
+ "min_weight": 0.008239306037391987
260
+ },
261
+ "correlations": {
262
+ "spearman_weight_teacher_dice": 0.39999999999999997,
263
+ "spearman_weight_taxonomy": -0.8944271909999159,
264
+ "top_source": "lucchi-pp",
265
+ "top_source_is_best_teacher": true
266
+ },
267
+ "init_teacher": "lucchi-pp",
268
+ "student_init": "top-source",
269
+ "blank_fraction": 0.0,
270
+ "kd_seconds": 312.0,
271
+ "round0_val": {
272
+ "val_dice": 0.9623507293600193,
273
+ "val_vi": 0.043359066853027754,
274
+ "val_ece": 0.009826597372024078
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 15,
280
+ "selection_seconds": 58.3,
281
+ "round_seconds": 252.7,
282
+ "teacher_dice_labeled": [
283
+ 0.2938186560944717,
284
+ 1.358086727418413e-05,
285
+ 0.9683060184264144,
286
+ 0.01782471245039349
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 73632,
290
+ "evidence_nonempty_patches": 14,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.9664782881707965,
294
+ "restart_teacher_dice": 0.9683060184264144,
295
+ "weights": [
296
+ 1.4001540225714672e-05,
297
+ 7.623939953124306e-07,
298
+ 0.9999846022791299,
299
+ 6.337866489948326e-07
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.9683060184264144,
304
+ "uniform": 0.1778269851676831,
305
+ "top1": 0.9683060184264144,
306
+ "top2": 0.9683060184264144,
307
+ "top3": 0.9683060184264144
308
+ },
309
+ "val_dice": 0.9367825440230815,
310
+ "val_vi": 0.04902821843243505,
311
+ "val_ece": 0.002242055302164851
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 30,
316
+ "selection_seconds": 20.2,
317
+ "round_seconds": 36.4,
318
+ "teacher_dice_labeled": [
319
+ 0.30025932706211406,
320
+ 6.417579032485785e-06,
321
+ 0.9682767700219854,
322
+ 0.011387269224389809
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 155821,
326
+ "evidence_nonempty_patches": 29,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 1.493736268096847e-05,
331
+ 7.625617057448709e-07,
332
+ 0.9999837056298168,
333
+ 5.944457965627549e-07
334
+ ],
335
+ "ensemble_choice": "mixture",
336
+ "candidate_dice": {
337
+ "mixture": 0.9682767700219854,
338
+ "uniform": 0.12951527045112196,
339
+ "top1": 0.9682767700219854,
340
+ "top2": 0.9682767700219854,
341
+ "top3": 0.9682767700219854
342
+ },
343
+ "pseudo_student_dice": 0.9590947745807612,
344
+ "pseudo_ensemble_dice": 0.968250747149762,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.9536202317207382,
348
+ "val_vi": 0.04758055893308673,
349
+ "val_ece": 0.0013883460739741694
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 45,
354
+ "selection_seconds": 20.0,
355
+ "round_seconds": 41.7,
356
+ "teacher_dice_labeled": [
357
+ 0.31087552052835477,
358
+ 4.15278942865923e-06,
359
+ 0.965947077844261,
360
+ 0.018605052939869852
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 240801,
364
+ "evidence_nonempty_patches": 43,
365
+ "first_correction": false,
366
+ "restart": "",
367
+ "weights": [
368
+ 1.7001853221602358e-05,
369
+ 7.805162522607558e-07,
370
+ 0.9999815636339252,
371
+ 6.539966008991305e-07
372
+ ],
373
+ "ensemble_choice": "mixture",
374
+ "candidate_dice": {
375
+ "mixture": 0.965947077844261,
376
+ "uniform": 0.11951632802861115,
377
+ "top1": 0.965947077844261,
378
+ "top2": 0.965947077844261,
379
+ "top3": 0.965947077844261
380
+ },
381
+ "pseudo_student_dice": 0.9657906130425116,
382
+ "pseudo_ensemble_dice": 0.9616518292208995,
383
+ "pseudo_source": "ensemble",
384
+ "consistency_scale": 1.0,
385
+ "val_dice": 0.954270906544748,
386
+ "val_vi": 0.047638874112841144,
387
+ "val_ece": 0.0013604008995015291
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 60,
392
+ "selection_seconds": 19.8,
393
+ "round_seconds": 47.3,
394
+ "teacher_dice_labeled": [
395
+ 0.317738364665974,
396
+ 3.048018483184082e-06,
397
+ 0.9660351508741329,
398
+ 0.033080268430627946
399
+ ],
400
+ "teacher_dice_pool": null,
401
+ "evidence_fg_pixels": 328081,
402
+ "evidence_nonempty_patches": 58,
403
+ "first_correction": false,
404
+ "restart": "",
405
+ "weights": [
406
+ 1.819357973396529e-05,
407
+ 7.798195075771067e-07,
408
+ 0.9999802714085584,
409
+ 7.551922000094123e-07
410
+ ],
411
+ "ensemble_choice": "mixture",
412
+ "candidate_dice": {
413
+ "mixture": 0.9660351508741329,
414
+ "uniform": 0.14769137834183466,
415
+ "top1": 0.9660351508741329,
416
+ "top2": 0.9660351508741329,
417
+ "top3": 0.9660351508741329
418
+ },
419
+ "pseudo_student_dice": 0.9706596671377888,
420
+ "pseudo_ensemble_dice": 0.9662802457660312,
421
+ "pseudo_source": "ensemble",
422
+ "consistency_scale": 1.0,
423
+ "val_dice": 0.9216831759004065,
424
+ "val_vi": 0.04882421978576393,
425
+ "val_ece": 0.0020669694208124826
426
+ },
427
+ {
428
+ "round": 5,
429
+ "n_labeled": 75,
430
+ "selection_seconds": 19.7,
431
+ "round_seconds": 53.0,
432
+ "teacher_dice_labeled": [
433
+ 0.32291000827099386,
434
+ 2.4244775250933425e-06,
435
+ 0.9639021682139222,
436
+ 0.03308238053915913
437
+ ],
438
+ "teacher_dice_pool": null,
439
+ "evidence_fg_pixels": 412459,
440
+ "evidence_nonempty_patches": 73,
441
+ "first_correction": false,
442
+ "restart": "",
443
+ "weights": [
444
+ 1.957226710843179e-05,
445
+ 7.96625492397049e-07,
446
+ 0.9999788596188555,
447
+ 7.714885436697631e-07
448
+ ],
449
+ "ensemble_choice": "mixture",
450
+ "candidate_dice": {
451
+ "mixture": 0.9639021682139222,
452
+ "uniform": 0.156949700850309,
453
+ "top1": 0.9639021682139222,
454
+ "top2": 0.9639021682139222,
455
+ "top3": 0.9639021682139222
456
+ },
457
+ "pseudo_student_dice": 0.964805861328671,
458
+ "pseudo_ensemble_dice": 0.955485177998267,
459
+ "pseudo_source": "ensemble",
460
+ "consistency_scale": 1.0,
461
+ "val_dice": 0.9241157053196762,
462
+ "val_vi": 0.04862066420187986,
463
+ "val_ece": 0.0020597238850812863
464
+ },
465
+ {
466
+ "round": 6,
467
+ "n_labeled": 90,
468
+ "selection_seconds": 19.7,
469
+ "round_seconds": 58.5,
470
+ "teacher_dice_labeled": [
471
+ 0.31313687709842153,
472
+ 2.0200632683815656e-06,
473
+ 0.9633628632939749,
474
+ 0.03338318269293788
475
+ ],
476
+ "teacher_dice_pool": null,
477
+ "evidence_fg_pixels": 495033,
478
+ "evidence_nonempty_patches": 88,
479
+ "first_correction": false,
480
+ "restart": "",
481
+ "weights": [
482
+ 1.7845958603297553e-05,
483
+ 8.009314735799591e-07,
484
+ 0.9999805751114135,
485
+ 7.779985096301431e-07
486
+ ],
487
+ "ensemble_choice": "mixture",
488
+ "candidate_dice": {
489
+ "mixture": 0.9633628632939749,
490
+ "uniform": 0.15983339962159931,
491
+ "top1": 0.9633628632939749,
492
+ "top2": 0.9633628632939749,
493
+ "top3": 0.9633628632939749
494
+ },
495
+ "pseudo_student_dice": 0.9647581094503258,
496
+ "pseudo_ensemble_dice": 0.9606947095384917,
497
+ "pseudo_source": "ensemble",
498
+ "consistency_scale": 1.0,
499
+ "val_dice": 0.9269402183550002,
500
+ "val_vi": 0.04773342905549056,
501
+ "val_ece": 0.0019010978224997363
502
+ },
503
+ {
504
+ "round": 7,
505
+ "n_labeled": 90,
506
+ "selection_seconds": 0.0,
507
+ "round_seconds": 60.1,
508
+ "final_consolidation": true,
509
+ "val_dice": 0.939400585836005,
510
+ "val_vi": 0.04612817190652949,
511
+ "val_ece": 0.001865632105289674
512
+ }
513
+ ],
514
+ "uncertainty_quality": {
515
+ "spearman_uncertainty_error": -0.14785451464746693,
516
+ "auroc_top20_error": 0.2738500882731163
517
+ },
518
+ "al_seconds": 564.9,
519
+ "source_archs": [
520
+ "unet",
521
+ "unet",
522
+ "unet",
523
+ "unet"
524
+ ],
525
+ "alphas_final": [
526
+ 1.7845958603297553e-05,
527
+ 8.009314735799591e-07,
528
+ 0.9999805751114135,
529
+ 7.779985096301431e-07
530
+ ],
531
+ "weight_stats_final": {
532
+ "max_weight": 0.9999805751114135,
533
+ "entropy": 0.00023673447107835246,
534
+ "effective_sources": 1.0002367624948947,
535
+ "min_weight": 7.779985096301431e-07
536
+ },
537
+ "top_source_final": "lucchi-pp",
538
+ "ensemble_choice_final": "",
539
+ "restart": "kept",
540
+ "test_raw_student": {
541
+ "patch_dice": 0.9013441843656629,
542
+ "patch_iou": 0.8612735447008448,
543
+ "patch_precision": 0.9643553459614856,
544
+ "patch_recall": 0.8939486028232443,
545
+ "patch_vi": 0.08351672149892893,
546
+ "n_patches": 175,
547
+ "cal_ece": 0.008238096063656893,
548
+ "cal_nll": 0.07850860294000966,
549
+ "cal_brier": 0.01023246901159236,
550
+ "cal_mean_confidence": 0.9966647752568322,
551
+ "cal_accuracy": 0.9884933035714286,
552
+ "cal_predicted_prevalence": 0.0837890625,
553
+ "cal_true_prevalence": 0.08861049107142857,
554
+ "cal_mean_probability": 0.08348922600161458
555
+ },
556
+ "test_notta": {
557
+ "patch_dice": 0.9013441843656629,
558
+ "patch_iou": 0.8612735447008448,
559
+ "patch_precision": 0.9643553459614856,
560
+ "patch_recall": 0.8939486028232443,
561
+ "patch_vi": 0.08351672149892893,
562
+ "n_patches": 175,
563
+ "cal_ece": 0.008238096063656893,
564
+ "cal_nll": 0.07850860294000966,
565
+ "cal_brier": 0.01023246901159236,
566
+ "cal_mean_confidence": 0.9966647752568322,
567
+ "cal_accuracy": 0.9884933035714286,
568
+ "cal_predicted_prevalence": 0.0837890625,
569
+ "cal_true_prevalence": 0.08861049107142857,
570
+ "cal_mean_probability": 0.08348922600161458
571
+ },
572
+ "test": {
573
+ "patch_dice": 0.8904517688434722,
574
+ "patch_iou": 0.8440724660048682,
575
+ "patch_precision": 0.9614157225591229,
576
+ "patch_recall": 0.8779824872614105,
577
+ "patch_vi": 0.09238620068438104,
578
+ "n_patches": 175,
579
+ "image_dice": 0.9037671893357683,
580
+ "image_iou": 0.827489132989274,
581
+ "image_precision": 0.9575323651068441,
582
+ "image_recall": 0.8650652426532572,
583
+ "image_vi": 0.11661794111904884,
584
+ "n_images": 5,
585
+ "cal_ece": 0.0076183893408824175,
586
+ "cal_nll": 0.06957390569200572,
587
+ "cal_brier": 0.01065475153991808,
588
+ "cal_mean_confidence": 0.9947722827666771,
589
+ "cal_accuracy": 0.9871819196428572,
590
+ "cal_predicted_prevalence": 0.08293526785714286,
591
+ "cal_true_prevalence": 0.08861049107142857,
592
+ "cal_mean_probability": 0.08272788942355813
593
+ },
594
+ "eval_seconds": 10.1,
595
+ "total_seconds": 911.3,
596
+ "resources": {
597
+ "phases": {
598
+ "setup": {
599
+ "seconds": 2.66,
600
+ "peak_cpu_rss_mb": 2160.1,
601
+ "peak_gpu_alloc_mb": 592.4,
602
+ "peak_gpu_reserved_mb": 594.0
603
+ },
604
+ "features_and_weights": {
605
+ "seconds": 18.41,
606
+ "peak_cpu_rss_mb": 4176.4,
607
+ "peak_gpu_alloc_mb": 2298.2,
608
+ "peak_gpu_reserved_mb": 2640.0
609
+ },
610
+ "distillation": {
611
+ "seconds": 312.05,
612
+ "peak_cpu_rss_mb": 4656.7,
613
+ "peak_gpu_alloc_mb": 3826.7,
614
+ "peak_gpu_reserved_mb": 4148.0,
615
+ "kd_epochs": 5
616
+ },
617
+ "active_learning": {
618
+ "seconds": 564.86,
619
+ "peak_cpu_rss_mb": 4793.3,
620
+ "peak_gpu_alloc_mb": 3947.0,
621
+ "peak_gpu_reserved_mb": 4156.0,
622
+ "rounds": 6
623
+ },
624
+ "inference": {
625
+ "seconds": 10.07,
626
+ "peak_cpu_rss_mb": 4793.3,
627
+ "peak_gpu_alloc_mb": 2149.5,
628
+ "peak_gpu_reserved_mb": 4156.0,
629
+ "patches": 175,
630
+ "images": 5,
631
+ "patches_per_second": 17.4,
632
+ "seconds_per_image": 2.014
633
+ }
634
+ },
635
+ "peak_gpu_alloc_mb": 3947.0,
636
+ "peak_cpu_rss_mb": 4793.3,
637
+ "total_seconds": 908.1
638
+ },
639
+ "student_parameters": 31042369,
640
+ "teacher_parameters": [
641
+ 31042369,
642
+ 31042369,
643
+ 31042369,
644
+ 31042369
645
+ ],
646
+ "checkpoint": "/mnt/sdc1/connectomics/MACS-2/models/experiments/macs_v2/multiclass/macs-v11-norestart-acq-laplace_b5_s1.pth"
647
+ }