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

macs_v2 runs from pc2 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-laplace/budget-5/seed-2/log.txt +108 -0
  2. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json +785 -0
  3. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv +8 -0
  4. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-random/budget-5/seed-2/log.txt +103 -0
  5. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-random/budget-5/seed-2/result.json +785 -0
  6. macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-random/budget-5/seed-2/rounds.csv +8 -0
  7. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-2/log.txt +107 -0
  8. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-2/result.json +776 -0
  9. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-2/rounds.csv +8 -0
  10. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt +107 -0
  11. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json +776 -0
  12. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-2/rounds.csv +8 -0
  13. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-3/log.txt +107 -0
  14. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-3/result.json +776 -0
  15. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-3/rounds.csv +8 -0
  16. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-margin/budget-5/seed-1/log.txt +106 -0
  17. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-margin/budget-5/seed-1/result.json +767 -0
  18. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-margin/budget-5/seed-1/rounds.csv +8 -0
  19. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-random/budget-5/seed-2/log.txt +102 -0
  20. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-random/budget-5/seed-2/result.json +776 -0
  21. macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-random/budget-5/seed-2/rounds.csv +8 -0
  22. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-2/log.txt +104 -0
  23. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-2/result.json +785 -0
  24. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-2/rounds.csv +8 -0
  25. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-3/log.txt +105 -0
  26. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-3/result.json +785 -0
  27. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-3/rounds.csv +8 -0
  28. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-random/budget-5/seed-3/log.txt +103 -0
  29. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-random/budget-5/seed-3/result.json +785 -0
  30. macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-random/budget-5/seed-3/rounds.csv +8 -0
  31. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-3/log.txt +106 -0
  32. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-3/result.json +767 -0
  33. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-3/rounds.csv +8 -0
  34. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-margin/budget-5/seed-3/log.txt +106 -0
  35. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-margin/budget-5/seed-3/result.json +767 -0
  36. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-margin/budget-5/seed-3/rounds.csv +8 -0
  37. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/log.txt +108 -0
  38. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/result.json +785 -0
  39. macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/rounds.csv +8 -0
  40. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-3/log.txt +107 -0
  41. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-3/result.json +662 -0
  42. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-3/rounds.csv +8 -0
  43. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-1/log.txt +108 -0
  44. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-1/result.json +667 -0
  45. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-1/rounds.csv +8 -0
  46. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-random/budget-5/seed-1/log.txt +103 -0
  47. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-random/budget-5/seed-1/result.json +667 -0
  48. macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-random/budget-5/seed-1/rounds.csv +8 -0
  49. macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt +108 -0
  50. macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json +667 -0
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [05:16:39][ 0s][START] target=dhanyasi-P14-mouse-cerebellum variant=macs-v11-norestart-acq-laplace budget=5.0% seed=2 | {"task": "membrane", "target": "dhanyasi-P14-mouse-cerebellum", "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": 5, "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
+ [05:16:39][ 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:16:39][ 0s][DATA] dhanyasi-P14-mouse-cerebellum: train=8649 val=1922 test=2883 patches
4
+ [05:16:41][ 3s][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.08
5
+ [05:16:42][ 4s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 1s
6
+ [05:16:48][ 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
+ [05:16:48][ 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
+ [05:17:12][ 34s][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
+ [05:17:12][ 34s][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
+ [05:17:12][ 34s][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
+ [05:17:12][ 34s][INIT] student initialised from teacher microns (weight 0.417)
12
+ [05:17:15][ 36s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [05:17:15][ 36s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [05:18:23][ 105s][KD] soft labels for 6000 patches from 8 teachers in 69s
15
+ [05:19:20][ 161s][KD] epoch 1/5 | patches=6000 | loss=0.5836 | 56s
16
+ [05:20:15][ 217s][KD] epoch 2/5 | patches=6000 | loss=0.4512 | 56s
17
+ [05:21:10][ 272s][KD] epoch 3/5 | patches=6000 | loss=0.4330 | 55s
18
+ [05:22:06][ 327s][KD] epoch 4/5 | patches=6000 | loss=0.4247 | 55s
19
+ [05:23:01][ 382s][KD] epoch 5/5 | patches=6000 | loss=0.4224 | 55s
20
+ [05:23:03][ 384s][ROUND0] before any target label: val_dice=0.1795 val_vi=0.5071
21
+ [05:23:03][ 384s][AL] patches=8649 (pool 8647 after dropping blank; free blank negatives: True) | budget=432 (5.0%) | rounds=6 | per_round=72 | acquisition=laplace | first_round=stratified
22
+ [05:23:29][ 410s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': -0.3018138618955013, 'auroc_top20_error': 0.24228212890625}
23
+ [05:23:52][ 434s][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
+ [05:24:00][ 441s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.449, uniform=0.257, top1=0.413, top2=0.428, top3=0.558 -> using top3
25
+ [05:24:02][ 443s][WEIGHTS] round 1: student kept (labeled Dice 0.228 vs best teacher mouse-brain 0.413); distilling the corrected ensemble into it
26
+ [05:24:02][ 443s][WEIGHTS] round 1: teacher Dice on 72 labeled patches + 2 blank (891480 fg px): c-elegans=0.347, flywire=0.154, berghia=0.171, microns=0.295, oct-glia=0.191, oct-sfl=0.403, snemi=0.403, mouse-brain=0.413 | weights: c-elegans=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.157, snemi=0.312, mouse-brain=0.531
27
+ [05:24:28][ 470s][KD] soft labels for 6000 patches from 8 teachers in 26s
28
+ [05:25:23][ 525s][KD] epoch 1/2 | patches=6000 | loss=0.5636 | 55s
29
+ [05:26:18][ 579s][KD] epoch 2/2 | patches=6000 | loss=0.5549 | 55s
30
+ [05:26:27][ 589s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 9s
31
+ [05:26:30][ 592s][FT] round 1/6 epoch 1/5 | patches=74 | loss=1.4207
32
+ [05:26:33][ 595s][FT] round 1/6 epoch 2/5 | patches=74 | loss=1.3712
33
+ [05:26:36][ 598s][FT] round 1/6 epoch 3/5 | patches=74 | loss=1.3298
34
+ [05:26:39][ 601s][FT] round 1/6 epoch 4/5 | patches=74 | loss=1.3434
35
+ [05:26:43][ 604s][FT] round 1/6 epoch 5/5 | patches=74 | loss=1.3357
36
+ [05:26:45][ 606s][AL] round 1/6 | labeled=72 | selection_seconds=49.4000 round_seconds=219.7000 restart_student_dice=0.2279 restart_teacher_dice=0.4127 val_dice=0.6071 val_vi=0.6185 val_ece=0.0518
37
+ [05:27:11][ 632s][AL] round 2: 1218/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [05:27:21][ 643s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.353, uniform=0.177, top1=0.350, top2=0.374, top3=0.407 -> using top3
39
+ [05:27:21][ 643s][WEIGHTS] round 2: teacher Dice on 144 labeled patches + 2 blank (1729464 fg px): c-elegans=0.303, flywire=0.120, berghia=0.147, microns=0.225, oct-glia=0.119, oct-sfl=0.317, snemi=0.337, mouse-brain=0.350 | weights: c-elegans=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.130, snemi=0.317, mouse-brain=0.553
40
+ [05:27:30][ 652s][CONS] round 2: on the 72 new patches student Dice=0.510 vs ensemble 0.313 -> pseudo-labels from the student | consistency x0.03
41
+ [05:27:35][ 656s][FT] round 2/6 epoch 1/5 | patches=146 | loss=1.1291
42
+ [05:27:39][ 660s][FT] round 2/6 epoch 2/5 | patches=146 | loss=1.0857
43
+ [05:27:43][ 665s][FT] round 2/6 epoch 3/5 | patches=146 | loss=1.0509
44
+ [05:27:48][ 669s][FT] round 2/6 epoch 4/5 | patches=146 | loss=1.0033
45
+ [05:27:52][ 673s][FT] round 2/6 epoch 5/5 | patches=146 | loss=0.9764
46
+ [05:27:54][ 676s][AL] round 2/6 | labeled=144 | selection_seconds=26.0000 round_seconds=67.2000 pseudo_student_dice=0.5102 pseudo_ensemble_dice=0.3126 consistency_scale=0.0340 val_dice=0.6110 val_vi=0.6381 val_ece=0.0065
47
+ [05:28:20][ 701s][AL] round 3: 1237/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [05:29:14][ 755s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.424, flywire=0.151, berghia=0.175, microns=0.280, oct-glia=0.177, oct-sfl=0.437, snemi=0.449, mouse-brain=0.492 | blended with labeled Dice at 0.50
49
+ [05:30:04][ 805s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.503, uniform=0.227, top1=0.450, top2=0.464, top3=0.477 -> using mixture
50
+ [05:30:04][ 805s][WEIGHTS] round 3: teacher Dice on 216 labeled patches + 2 blank (2913575 fg px): c-elegans=0.382, flywire=0.141, berghia=0.168, microns=0.254, oct-glia=0.139, oct-sfl=0.397, snemi=0.401, mouse-brain=0.450 | weights: c-elegans=0.072, flywire=0.020, berghia=0.002, microns=0.165, oct-glia=0.005, oct-sfl=0.089, snemi=0.185, mouse-brain=0.462
51
+ [05:30:14][ 815s][CONS] round 3: on the 72 new patches student Dice=0.592 vs ensemble 0.554 -> pseudo-labels from the student | consistency x0.31
52
+ [05:30:19][ 821s][FT] round 3/6 epoch 1/5 | patches=218 | loss=1.0665
53
+ [05:30:25][ 826s][FT] round 3/6 epoch 2/5 | patches=218 | loss=1.0386
54
+ [05:30:30][ 831s][FT] round 3/6 epoch 3/5 | patches=218 | loss=1.0204
55
+ [05:30:35][ 837s][FT] round 3/6 epoch 4/5 | patches=218 | loss=0.9218
56
+ [05:30:41][ 843s][FT] round 3/6 epoch 5/5 | patches=218 | loss=0.9563
57
+ [05:30:44][ 845s][AL] round 3/6 | labeled=216 | selection_seconds=25.9000 round_seconds=167.2000 pseudo_student_dice=0.5916 pseudo_ensemble_dice=0.5539 consistency_scale=0.3050 val_dice=0.5930 val_vi=0.5589 val_ece=0.0208
58
+ [05:31:09][ 871s][AL] round 4: 1527/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [05:32:05][ 926s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.348, flywire=0.192, berghia=0.172, microns=0.361, oct-glia=0.240, oct-sfl=0.485, snemi=0.415, mouse-brain=0.414 | blended with labeled Dice at 0.50
60
+ [05:32:56][ 978s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.487, uniform=0.262, top1=0.432, top2=0.445, top3=0.491 -> using mixture
61
+ [05:32:56][ 978s][WEIGHTS] round 4: teacher Dice on 288 labeled patches + 2 blank (4568760 fg px): c-elegans=0.366, flywire=0.154, berghia=0.168, microns=0.291, oct-glia=0.158, oct-sfl=0.405, snemi=0.397, mouse-brain=0.432 | weights: c-elegans=0.062, flywire=0.023, berghia=0.002, microns=0.241, oct-glia=0.006, oct-sfl=0.097, snemi=0.178, mouse-brain=0.391
62
+ [05:33:06][ 988s][CONS] round 4: on the 72 new patches student Dice=0.600 vs ensemble 0.428 -> pseudo-labels from the student | consistency x0.33
63
+ [05:33:13][ 994s][FT] round 4/6 epoch 1/5 | patches=290 | loss=0.9763
64
+ [05:33:19][ 1001s][FT] round 4/6 epoch 2/5 | patches=290 | loss=0.9413
65
+ [05:33:26][ 1007s][FT] round 4/6 epoch 3/5 | patches=290 | loss=0.9665
66
+ [05:33:33][ 1014s][FT] round 4/6 epoch 4/5 | patches=290 | loss=0.9434
67
+ [05:33:39][ 1021s][FT] round 4/6 epoch 5/5 | patches=290 | loss=0.8966
68
+ [05:33:41][ 1023s][AL] round 4/6 | labeled=288 | selection_seconds=26.0000 round_seconds=175.6000 pseudo_student_dice=0.5996 pseudo_ensemble_dice=0.4281 consistency_scale=0.3320 val_dice=0.6412 val_vi=0.5584 val_ece=0.0317
69
+ [05:34:07][ 1049s][AL] round 5: 1370/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [05:35:04][ 1105s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.399, flywire=0.168, berghia=0.184, microns=0.321, oct-glia=0.217, oct-sfl=0.479, snemi=0.434, mouse-brain=0.464 | blended with labeled Dice at 0.50
71
+ [05:35:57][ 1159s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.505, uniform=0.229, top1=0.466, top2=0.482, top3=0.485 -> using mixture
72
+ [05:35:57][ 1159s][WEIGHTS] round 5: teacher Dice on 360 labeled patches + 2 blank (5969708 fg px): c-elegans=0.395, flywire=0.136, berghia=0.176, microns=0.263, oct-glia=0.142, oct-sfl=0.388, snemi=0.414, mouse-brain=0.466 | weights: c-elegans=0.073, flywire=0.017, berghia=0.002, microns=0.160, oct-glia=0.005, oct-sfl=0.072, snemi=0.187, mouse-brain=0.484
73
+ [05:36:07][ 1168s][CONS] round 5: on the 72 new patches student Dice=0.643 vs ensemble 0.444 -> pseudo-labels from the student | consistency x0.48
74
+ [05:36:15][ 1176s][FT] round 5/6 epoch 1/5 | patches=362 | loss=1.0087
75
+ [05:36:23][ 1184s][FT] round 5/6 epoch 2/5 | patches=362 | loss=0.9617
76
+ [05:36:31][ 1192s][FT] round 5/6 epoch 3/5 | patches=362 | loss=0.9284
77
+ [05:36:39][ 1200s][FT] round 5/6 epoch 4/5 | patches=362 | loss=0.9311
78
+ [05:36:46][ 1208s][FT] round 5/6 epoch 5/5 | patches=362 | loss=0.9370
79
+ [05:36:49][ 1210s][AL] round 5/6 | labeled=360 | selection_seconds=26.0000 round_seconds=184.9000 pseudo_student_dice=0.6431 pseudo_ensemble_dice=0.4439 consistency_scale=0.4770 val_dice=0.6439 val_vi=0.5519 val_ece=0.0053
80
+ [05:37:14][ 1236s][AL] round 6: 1343/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [05:38:13][ 1294s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.395, flywire=0.160, berghia=0.185, microns=0.301, oct-glia=0.199, oct-sfl=0.445, snemi=0.422, mouse-brain=0.477 | blended with labeled Dice at 0.50
82
+ [05:39:07][ 1349s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.491, uniform=0.218, top1=0.478, top2=0.491, top3=0.493 -> using mixture
83
+ [05:39:07][ 1349s][WEIGHTS] round 6: teacher Dice on 432 labeled patches + 2 blank (7439104 fg px): c-elegans=0.402, flywire=0.134, berghia=0.183, microns=0.251, oct-glia=0.130, oct-sfl=0.375, snemi=0.409, mouse-brain=0.478 | weights: c-elegans=0.076, flywire=0.016, berghia=0.002, microns=0.138, oct-glia=0.004, oct-sfl=0.062, snemi=0.173, mouse-brain=0.530
84
+ [05:39:18][ 1359s][CONS] round 6: on the 72 new patches student Dice=0.681 vs ensemble 0.499 -> pseudo-labels from the student | consistency x0.60
85
+ [05:39:27][ 1368s][FT] round 6/6 epoch 1/5 | patches=434 | loss=0.9291
86
+ [05:39:36][ 1377s][FT] round 6/6 epoch 2/5 | patches=434 | loss=0.9589
87
+ [05:39:45][ 1386s][FT] round 6/6 epoch 3/5 | patches=434 | loss=0.9226
88
+ [05:39:54][ 1395s][FT] round 6/6 epoch 4/5 | patches=434 | loss=0.8989
89
+ [05:40:03][ 1404s][FT] round 6/6 epoch 5/5 | patches=434 | loss=0.8698
90
+ [05:40:05][ 1406s][AL] round 6/6 | labeled=432 | selection_seconds=26.0000 round_seconds=194.0000 pseudo_student_dice=0.6814 pseudo_ensemble_dice=0.4993 consistency_scale=0.6050 val_dice=0.6561 val_vi=0.5270 val_ece=0.0070
91
+ [05:40:08][ 1409s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [05:40:17][ 1418s][FT] final 1/10 epoch 1/1 | patches=434 | loss=0.8707
93
+ [05:40:26][ 1427s][FT] final 2/10 epoch 1/1 | patches=434 | loss=0.8387
94
+ [05:40:35][ 1437s][FT] final 3/10 epoch 1/1 | patches=434 | loss=0.8128
95
+ [05:40:44][ 1446s][FT] final 4/10 epoch 1/1 | patches=434 | loss=0.7855
96
+ [05:40:54][ 1455s][FT] final 5/10 epoch 1/1 | patches=434 | loss=0.7703
97
+ [05:41:03][ 1464s][FT] final 6/10 epoch 1/1 | patches=434 | loss=0.7591
98
+ [05:41:12][ 1473s][FT] final 7/10 epoch 1/1 | patches=434 | loss=0.7416
99
+ [05:41:21][ 1482s][FT] final 8/10 epoch 1/1 | patches=434 | loss=0.7372
100
+ [05:41:30][ 1491s][FT] final 9/10 epoch 1/1 | patches=434 | loss=0.7155
101
+ [05:41:39][ 1501s][FT] final 10/10 epoch 1/1 | patches=434 | loss=0.7190
102
+ [05:41:41][ 1503s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=94.4000 val_dice=0.6658 val_vi=0.5143 val_ece=0.0212
103
+ [05:41:41][ 1503s][WEIGHTS] final: c-elegans=0.076, flywire=0.016, berghia=0.002, microns=0.138, oct-glia=0.004, oct-sfl=0.062, snemi=0.173, mouse-brain=0.530
104
+ [05:42:21][ 1542s][TEST] raw student (no EMA, no TTA): patch_dice=0.6969 patch_vi=0.4345
105
+ [05:42:26][ 1548s][TEST] final model without TTA: patch_dice=0.6969 patch_vi=0.4345
106
+ [05:42:26][ 1548s][RESOURCES] {"phases": {"setup": {"seconds": 2.22, "peak_cpu_rss_mb": 1028.3, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 33.69, "peak_cpu_rss_mb": 1800.9, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 346.12, "peak_cpu_rss_mb": 3693.7, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 1118.32, "peak_cpu_rss_mb": 3693.7, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4642.0, "rounds": 6}, "inference": {"seconds": 44.73, "peak_cpu_rss_mb": 3693.7, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4644.0, "patches": 2883, "images": 3, "patches_per_second": 64.5, "seconds_per_image": 14.91}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 3693.7, "total_seconds": 1545.1}
107
+ [05:42:26][ 1548s][TEST] patch_dice=0.7515 patch_iou=0.6503 patch_precision=0.8460 patch_recall=0.7459 patch_vi=0.4085 image_dice=0.8127 image_iou=0.6879 image_precision=0.8866 image_recall=0.7541 image_vi=0.4586 cal_ece=0.0015 cal_nll=0.1819 cal_brier=0.0545 cal_mean_confidence=0.9268 cal_accuracy=0.9255 cal_predicted_prevalence=0.2046 cal_true_prevalence=0.2301 cal_mean_probability=0.2107
108
+ [05:42:26][ 1548s][DONE] dhanyasi-P14-mouse-cerebellum macs-v11-norestart-acq-laplace b5 s2 | test patch Dice=0.7515 VI=0.4085 | image Dice=0.8127 VI=0.4586 | 1548s
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "dhanyasi-P14-mouse-cerebellum",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "dhanyasi-P14-mouse-cerebellum",
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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "dhanyasi-P14-mouse-cerebellum",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.05083387092965836,
154
+ 0.15580245740591697,
155
+ 0.010243446832791585,
156
+ 0.41728942804507835,
157
+ 0.03964191869924105,
158
+ 0.053950781313640436,
159
+ 0.10715830600341246,
160
+ 0.16507979077026083
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.05083387092965836,
175
+ 0.15580245740591697,
176
+ 0.010243446832791585,
177
+ 0.41728942804507835,
178
+ 0.03964191869924105,
179
+ 0.053950781313640436,
180
+ 0.10715830600341246,
181
+ 0.16507979077026083
182
+ ],
183
+ "per_source": [
184
+ 0.1831792908635141,
185
+ 0.0008117602305311557,
186
+ 0.07130039492253423,
187
+ 0.2901333759297942,
188
+ 0.19473854254781,
189
+ 0.14427929446206111,
190
+ 0.11165168345469406,
191
+ 0.0039056575890611817
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.04944674080252824,
205
+ "mmd2_mixture": 0.06619580859842833,
206
+ "mmd2_uniform": 0.10385692805437269,
207
+ "mmd2_single_source": [
208
+ 0.35157092449944216,
209
+ 0.1914113737092883,
210
+ 0.2296477365874025,
211
+ 0.08478080568303437,
212
+ 0.272622477181822,
213
+ 0.2463089382682188,
214
+ 0.15004801624266395,
215
+ 0.17311813097471462
216
+ ],
217
+ "median_squared_distance": 0.18230687630230707,
218
+ "gammas": [
219
+ 1.3713141548508683,
220
+ 2.7426283097017365,
221
+ 5.485256619403473,
222
+ 10.970513238806946,
223
+ 21.941026477613892
224
+ ],
225
+ "max_weight": 0.41728942804507835,
226
+ "entropy": 1.6749067795900086,
227
+ "effective_sources": 5.338297487596983,
228
+ "min_weight": 0.010243446832791585
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.24983749105579034,
233
+ 0.6076273510548802,
234
+ 0.31213616057205607,
235
+ 0.2194742775498013,
236
+ 0.24579726709659655,
237
+ 0.26559858325874997,
238
+ 0.28252517774848496,
239
+ 0.5039038205278614
240
+ ],
241
+ "standardized": [
242
+ -0.6514591536335823,
243
+ 2.0580486812336294,
244
+ -0.17967738442258652,
245
+ -0.8813968184025964,
246
+ -0.6820553769924043,
247
+ -0.5321019342588011,
248
+ -0.4039184793457027,
249
+ 1.2725604658220449
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.2901333759297942,
253
+ "entropy": 1.7283708993213025,
254
+ "effective_sources": 5.631472196315185,
255
+ "min_weight": 0.0008117602305311557
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 7.0
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.41286983026930635,
265
+ 0.10651095633970442,
266
+ 0.15770527050491268,
267
+ 0.22267858774357308,
268
+ 0.11006956393332956,
269
+ 0.2911632103623596,
270
+ 0.2970295092802324,
271
+ 0.447529566690438
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.20976331913409396,
275
+ "mixture@raw": 0.2201044706093569,
276
+ "mixture@logit": 0.1889936769494014,
277
+ "per_source": 0.19317883340253061,
278
+ "per_source@raw": 0.20883607926566583,
279
+ "per_source@logit": 0.15551849586998046,
280
+ "uniform": 0.19238025487255683,
281
+ "uniform@raw": 0.21034175472151873,
282
+ "uniform@logit": 0.15367464892063687
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 1.990083932876587,
289
+ 8.0,
290
+ 1.9150984287261963,
291
+ 2.5513463020324707,
292
+ 2.6421806812286377,
293
+ 3.5461363792419434,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.41728942804507835,
299
+ "entropy": 1.6749067795900086,
300
+ "effective_sources": 5.338297487596983,
301
+ "min_weight": 0.010243446832791585
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": 346.1,
313
+ "round0_val": {
314
+ "val_dice": 0.1795085898180082,
315
+ "val_vi": 0.5071205839268854,
316
+ "val_ece": 0.1431383671563685
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 72,
322
+ "selection_seconds": 49.4,
323
+ "round_seconds": 219.7,
324
+ "teacher_dice_labeled": [
325
+ 0.34699131258491106,
326
+ 0.15400938239211243,
327
+ 0.17063725881990668,
328
+ 0.29518215496468825,
329
+ 0.1907363491430849,
330
+ 0.40286997571879657,
331
+ 0.402560670886263,
332
+ 0.4126936934594237
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 891480,
336
+ "evidence_nonempty_patches": 58,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.22785475732277613,
340
+ "restart_teacher_dice": 0.4126936934594237,
341
+ "weights": [
342
+ 0.0,
343
+ 0.0,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0,
347
+ 0.1573376001938336,
348
+ 0.311542520327699,
349
+ 0.5311198794784675
350
+ ],
351
+ "ensemble_choice": "top3",
352
+ "candidate_dice": {
353
+ "mixture": 0.4486622376468838,
354
+ "uniform": 0.257123442242594,
355
+ "top1": 0.4126936934594237,
356
+ "top2": 0.427720538104064,
357
+ "top3": 0.5579440810273272
358
+ },
359
+ "val_dice": 0.6070700831590716,
360
+ "val_vi": 0.6184691251569843,
361
+ "val_ece": 0.05175704877036804
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 144,
366
+ "selection_seconds": 26.0,
367
+ "round_seconds": 67.2,
368
+ "teacher_dice_labeled": [
369
+ 0.30315355038755776,
370
+ 0.12001301230858169,
371
+ 0.1465265228793779,
372
+ 0.2254534366318072,
373
+ 0.11921934308719918,
374
+ 0.3172824812217642,
375
+ 0.33741894167974107,
376
+ 0.3498583982698843
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 1729464,
380
+ "evidence_nonempty_patches": 100,
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.13042238801348177,
390
+ 0.31683400374116205,
391
+ 0.5527436082453562
392
+ ],
393
+ "ensemble_choice": "top3",
394
+ "candidate_dice": {
395
+ "mixture": 0.3530103977499102,
396
+ "uniform": 0.17731911177941523,
397
+ "top1": 0.3498583982698843,
398
+ "top2": 0.37390484882696645,
399
+ "top3": 0.4072446824388192
400
+ },
401
+ "pseudo_student_dice": 0.5102164768161838,
402
+ "pseudo_ensemble_dice": 0.31257957043181106,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.034,
405
+ "val_dice": 0.6110047127116678,
406
+ "val_vi": 0.638117576109154,
407
+ "val_ece": 0.006539609706106881
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 216,
412
+ "selection_seconds": 25.9,
413
+ "round_seconds": 167.2,
414
+ "teacher_dice_labeled": [
415
+ 0.3819753440736413,
416
+ 0.14061082822423704,
417
+ 0.16821673752804672,
418
+ 0.2537591878167585,
419
+ 0.13870534762009895,
420
+ 0.3973398975358051,
421
+ 0.40137266311189335,
422
+ 0.44969605142945246
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.42386395699475177,
426
+ 0.15099438303350263,
427
+ 0.17495050231510595,
428
+ 0.279604574493834,
429
+ 0.17744932514923112,
430
+ 0.43695860860524693,
431
+ 0.4493108258230955,
432
+ 0.49185366434198335
433
+ ],
434
+ "evidence_fg_pixels": 2913575,
435
+ "evidence_nonempty_patches": 165,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.07229111007511609,
440
+ 0.019827741191740342,
441
+ 0.0017180507822275705,
442
+ 0.1646392588259067,
443
+ 0.0049496923673013095,
444
+ 0.08946576052936685,
445
+ 0.18501163344613708,
446
+ 0.4620967527822041
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.5030819805858586,
451
+ "uniform": 0.2265744778786027,
452
+ "top1": 0.44969605142945246,
453
+ "top2": 0.4635763198897255,
454
+ "top3": 0.477477686886879
455
+ },
456
+ "pseudo_student_dice": 0.591602265736447,
457
+ "pseudo_ensemble_dice": 0.5539129798210711,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.305,
460
+ "val_dice": 0.5930079496634324,
461
+ "val_vi": 0.5588676820879914,
462
+ "val_ece": 0.020844457318665577
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 288,
467
+ "selection_seconds": 26.0,
468
+ "round_seconds": 175.6,
469
+ "teacher_dice_labeled": [
470
+ 0.3659048985997267,
471
+ 0.15353753119751318,
472
+ 0.16844964751011626,
473
+ 0.2908847684179655,
474
+ 0.15789017264557856,
475
+ 0.4047283674903942,
476
+ 0.3966932197117854,
477
+ 0.4321963382581655
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.3476838243870192,
481
+ 0.19217188601799204,
482
+ 0.172233344062994,
483
+ 0.3611551305335358,
484
+ 0.2396295638748975,
485
+ 0.4852648082757493,
486
+ 0.4149907624250994,
487
+ 0.4142943549311604
488
+ ],
489
+ "evidence_fg_pixels": 4568760,
490
+ "evidence_nonempty_patches": 233,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.062100170113087695,
495
+ 0.022762195720855558,
496
+ 0.0017371945807277208,
497
+ 0.24075133517549557,
498
+ 0.0060491979750396845,
499
+ 0.09717298181633877,
500
+ 0.17810553945189095,
501
+ 0.391321385166564
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.4866048628809274,
506
+ "uniform": 0.2619714021531271,
507
+ "top1": 0.4321963382581655,
508
+ "top2": 0.44509639703054504,
509
+ "top3": 0.49060202517976464
510
+ },
511
+ "pseudo_student_dice": 0.5995607250850519,
512
+ "pseudo_ensemble_dice": 0.4281460952256102,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.332,
515
+ "val_dice": 0.6411766760615955,
516
+ "val_vi": 0.5584266727212388,
517
+ "val_ece": 0.03166756076429024
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 360,
522
+ "selection_seconds": 26.0,
523
+ "round_seconds": 184.9,
524
+ "teacher_dice_labeled": [
525
+ 0.3953085237250244,
526
+ 0.13647534350877416,
527
+ 0.17612099976432438,
528
+ 0.2628817625648954,
529
+ 0.1419262187673558,
530
+ 0.3879575357978311,
531
+ 0.4141298405020889,
532
+ 0.46600203134969875
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.3986317767680898,
536
+ 0.16823970417904313,
537
+ 0.1841090592603666,
538
+ 0.3212210790491769,
539
+ 0.21687275845407342,
540
+ 0.4787500737459872,
541
+ 0.43429163241666896,
542
+ 0.4643731595703601
543
+ ],
544
+ "evidence_fg_pixels": 5969708,
545
+ "evidence_nonempty_patches": 301,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0734540416368638,
550
+ 0.016917594038813894,
551
+ 0.0016534433165064843,
552
+ 0.16039018219487342,
553
+ 0.004545606243436821,
554
+ 0.0724328074489532,
555
+ 0.18690817398135207,
556
+ 0.48369815113920034
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.5052101415491518,
561
+ "uniform": 0.22916977644195366,
562
+ "top1": 0.46600203134969875,
563
+ "top2": 0.4822501640003084,
564
+ "top3": 0.48496910511121183
565
+ },
566
+ "pseudo_student_dice": 0.6430858944634501,
567
+ "pseudo_ensemble_dice": 0.44390733840638275,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.477,
570
+ "val_dice": 0.64392883350122,
571
+ "val_vi": 0.5519165497753227,
572
+ "val_ece": 0.005270940102244961
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 432,
577
+ "selection_seconds": 26.0,
578
+ "round_seconds": 194.0,
579
+ "teacher_dice_labeled": [
580
+ 0.4015779769021923,
581
+ 0.13371681261033305,
582
+ 0.18321938102607802,
583
+ 0.250881543038054,
584
+ 0.12972555025287827,
585
+ 0.37503542861674366,
586
+ 0.40930616637479933,
587
+ 0.4782651715898207
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.3952798389140022,
591
+ 0.15953434509246006,
592
+ 0.1854799560811665,
593
+ 0.30070633663258745,
594
+ 0.19935759134853634,
595
+ 0.44519469823025515,
596
+ 0.4222142629817597,
597
+ 0.4765445169330087
598
+ ],
599
+ "evidence_fg_pixels": 7439104,
600
+ "evidence_nonempty_patches": 370,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0758345688067689,
605
+ 0.01595813326405757,
606
+ 0.001721237600976133,
607
+ 0.13793838128455513,
608
+ 0.0039014731144281904,
609
+ 0.06172185298498267,
610
+ 0.17270423199249021,
611
+ 0.5302201209517412
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.4911926135221738,
616
+ "uniform": 0.21810257800847072,
617
+ "top1": 0.4782651715898207,
618
+ "top2": 0.4907837766601343,
619
+ "top3": 0.49343918422359895
620
+ },
621
+ "pseudo_student_dice": 0.6814277622500998,
622
+ "pseudo_ensemble_dice": 0.49926128889806726,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.605,
625
+ "val_dice": 0.6561008947304966,
626
+ "val_vi": 0.5270340585580242,
627
+ "val_ece": 0.00698206159380761
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 432,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 94.4,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.6658333978014943,
636
+ "val_vi": 0.5143445223532903,
637
+ "val_ece": 0.02122605101113116
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": -0.3018138618955013,
642
+ "auroc_top20_error": 0.24228212890625
643
+ },
644
+ "al_seconds": 1118.3,
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.0758345688067689,
657
+ 0.01595813326405757,
658
+ 0.001721237600976133,
659
+ 0.13793838128455513,
660
+ 0.0039014731144281904,
661
+ 0.06172185298498267,
662
+ 0.17270423199249021,
663
+ 0.5302201209517412
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.5302201209517412,
667
+ "entropy": 1.3790735363210445,
668
+ "effective_sources": 3.971220730881249,
669
+ "min_weight": 0.001721237600976133
670
+ },
671
+ "top_source_final": "whole-mouse-brain",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.6968826503970063,
676
+ "patch_iou": 0.5873942958945824,
677
+ "patch_precision": 0.7688665778942382,
678
+ "patch_recall": 0.7397190870694399,
679
+ "patch_vi": 0.434540009497679,
680
+ "n_patches": 2883,
681
+ "cal_ece": 0.013984583116174568,
682
+ "cal_nll": 0.20291160477716605,
683
+ "cal_brier": 0.05947698933410016,
684
+ "cal_mean_confidence": 0.933616504075245,
685
+ "cal_accuracy": 0.9196319209590704,
686
+ "cal_predicted_prevalence": 0.20512520865851544,
687
+ "cal_true_prevalence": 0.23013442215140478,
688
+ "cal_mean_probability": 0.2089750948953597
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.6968826503970063,
692
+ "patch_iou": 0.5873942958945824,
693
+ "patch_precision": 0.7688665778942382,
694
+ "patch_recall": 0.7397190870694399,
695
+ "patch_vi": 0.434540009497679,
696
+ "n_patches": 2883,
697
+ "cal_ece": 0.013984583116174568,
698
+ "cal_nll": 0.20291160477716605,
699
+ "cal_brier": 0.05947698933410016,
700
+ "cal_mean_confidence": 0.933616504075245,
701
+ "cal_accuracy": 0.9196319209590704,
702
+ "cal_predicted_prevalence": 0.20512520865851544,
703
+ "cal_true_prevalence": 0.23013442215140478,
704
+ "cal_mean_probability": 0.2089750948953597
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7515223139947016,
708
+ "patch_iou": 0.6502919854628868,
709
+ "patch_precision": 0.8459618413535717,
710
+ "patch_recall": 0.7458955232078299,
711
+ "patch_vi": 0.4085141725179584,
712
+ "n_patches": 2883,
713
+ "image_dice": 0.8126819379613308,
714
+ "image_iou": 0.6878766774473583,
715
+ "image_precision": 0.8865888050426772,
716
+ "image_recall": 0.7540789897163429,
717
+ "image_vi": 0.4586308388710216,
718
+ "n_images": 3,
719
+ "cal_ece": 0.0014887245718914603,
720
+ "cal_nll": 0.1819273293225221,
721
+ "cal_brier": 0.05446771271927853,
722
+ "cal_mean_confidence": 0.926763834764255,
723
+ "cal_accuracy": 0.9254770692421089,
724
+ "cal_predicted_prevalence": 0.2046103369970517,
725
+ "cal_true_prevalence": 0.23013442215140478,
726
+ "cal_mean_probability": 0.2107195412252572
727
+ },
728
+ "eval_seconds": 44.7,
729
+ "total_seconds": 1547.5,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 2.22,
734
+ "peak_cpu_rss_mb": 1028.3,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 33.69,
740
+ "peak_cpu_rss_mb": 1800.9,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 346.12,
746
+ "peak_cpu_rss_mb": 3693.7,
747
+ "peak_gpu_alloc_mb": 4303.7,
748
+ "peak_gpu_reserved_mb": 4618.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 1118.32,
753
+ "peak_cpu_rss_mb": 3693.7,
754
+ "peak_gpu_alloc_mb": 4424.0,
755
+ "peak_gpu_reserved_mb": 4642.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 44.73,
760
+ "peak_cpu_rss_mb": 3693.7,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4644.0,
763
+ "patches": 2883,
764
+ "images": 3,
765
+ "patches_per_second": 64.5,
766
+ "seconds_per_image": 14.91
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4424.0,
770
+ "peak_cpu_rss_mb": 3693.7,
771
+ "total_seconds": 1545.1
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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-laplace_b5_s2.pth"
785
+ }
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/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,72,49.4,219.7,"[0.34699131258491106, 0.15400938239211243, 0.17063725881990668, 0.29518215496468825, 0.1907363491430849, 0.40286997571879657, 0.402560670886263, 0.4126936934594237]",,891480,58,True,kept,0.22785475732277613,0.4126936934594237,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.1573376001938336, 0.311542520327699, 0.5311198794784675]",top3,"{'mixture': 0.4486622376468838, 'uniform': 0.257123442242594, 'top1': 0.4126936934594237, 'top2': 0.427720538104064, 'top3': 0.5579440810273272}",0.6070700831590716,0.6184691251569843,0.05175704877036804,,,,,
3
+ 2,144,26.0,67.2,"[0.30315355038755776, 0.12001301230858169, 0.1465265228793779, 0.2254534366318072, 0.11921934308719918, 0.3172824812217642, 0.33741894167974107, 0.3498583982698843]",,1729464,100,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.13042238801348177, 0.31683400374116205, 0.5527436082453562]",top3,"{'mixture': 0.3530103977499102, 'uniform': 0.17731911177941523, 'top1': 0.3498583982698843, 'top2': 0.37390484882696645, 'top3': 0.4072446824388192}",0.6110047127116678,0.638117576109154,0.006539609706106881,0.5102164768161838,0.31257957043181106,student,0.034,
4
+ 3,216,25.9,167.2,"[0.3819753440736413, 0.14061082822423704, 0.16821673752804672, 0.2537591878167585, 0.13870534762009895, 0.3973398975358051, 0.40137266311189335, 0.44969605142945246]","[0.42386395699475177, 0.15099438303350263, 0.17495050231510595, 0.279604574493834, 0.17744932514923112, 0.43695860860524693, 0.4493108258230955, 0.49185366434198335]",2913575,165,False,,,,"[0.07229111007511609, 0.019827741191740342, 0.0017180507822275705, 0.1646392588259067, 0.0049496923673013095, 0.08946576052936685, 0.18501163344613708, 0.4620967527822041]",mixture,"{'mixture': 0.5030819805858586, 'uniform': 0.2265744778786027, 'top1': 0.44969605142945246, 'top2': 0.4635763198897255, 'top3': 0.477477686886879}",0.5930079496634324,0.5588676820879914,0.020844457318665577,0.591602265736447,0.5539129798210711,student,0.305,
5
+ 4,288,26.0,175.6,"[0.3659048985997267, 0.15353753119751318, 0.16844964751011626, 0.2908847684179655, 0.15789017264557856, 0.4047283674903942, 0.3966932197117854, 0.4321963382581655]","[0.3476838243870192, 0.19217188601799204, 0.172233344062994, 0.3611551305335358, 0.2396295638748975, 0.4852648082757493, 0.4149907624250994, 0.4142943549311604]",4568760,233,False,,,,"[0.062100170113087695, 0.022762195720855558, 0.0017371945807277208, 0.24075133517549557, 0.0060491979750396845, 0.09717298181633877, 0.17810553945189095, 0.391321385166564]",mixture,"{'mixture': 0.4866048628809274, 'uniform': 0.2619714021531271, 'top1': 0.4321963382581655, 'top2': 0.44509639703054504, 'top3': 0.49060202517976464}",0.6411766760615955,0.5584266727212388,0.03166756076429024,0.5995607250850519,0.4281460952256102,student,0.332,
6
+ 5,360,26.0,184.9,"[0.3953085237250244, 0.13647534350877416, 0.17612099976432438, 0.2628817625648954, 0.1419262187673558, 0.3879575357978311, 0.4141298405020889, 0.46600203134969875]","[0.3986317767680898, 0.16823970417904313, 0.1841090592603666, 0.3212210790491769, 0.21687275845407342, 0.4787500737459872, 0.43429163241666896, 0.4643731595703601]",5969708,301,False,,,,"[0.0734540416368638, 0.016917594038813894, 0.0016534433165064843, 0.16039018219487342, 0.004545606243436821, 0.0724328074489532, 0.18690817398135207, 0.48369815113920034]",mixture,"{'mixture': 0.5052101415491518, 'uniform': 0.22916977644195366, 'top1': 0.46600203134969875, 'top2': 0.4822501640003084, 'top3': 0.48496910511121183}",0.64392883350122,0.5519165497753227,0.005270940102244961,0.6430858944634501,0.44390733840638275,student,0.477,
7
+ 6,432,26.0,194.0,"[0.4015779769021923, 0.13371681261033305, 0.18321938102607802, 0.250881543038054, 0.12972555025287827, 0.37503542861674366, 0.40930616637479933, 0.4782651715898207]","[0.3952798389140022, 0.15953434509246006, 0.1854799560811665, 0.30070633663258745, 0.19935759134853634, 0.44519469823025515, 0.4222142629817597, 0.4765445169330087]",7439104,370,False,,,,"[0.0758345688067689, 0.01595813326405757, 0.001721237600976133, 0.13793838128455513, 0.0039014731144281904, 0.06172185298498267, 0.17270423199249021, 0.5302201209517412]",mixture,"{'mixture': 0.4911926135221738, 'uniform': 0.21810257800847072, 'top1': 0.4782651715898207, 'top2': 0.4907837766601343, 'top3': 0.49343918422359895}",0.6561008947304966,0.5270340585580242,0.00698206159380761,0.6814277622500998,0.49926128889806726,student,0.605,
8
+ 7,432,0.0,94.4,,,,,,,,,,,,0.6658333978014943,0.5143445223532903,0.02122605101113116,,,,,True
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-random/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06:17:56][ 0s][START] target=dhanyasi-P14-mouse-cerebellum variant=macs-v11-norestart-acq-random budget=5.0% seed=2 | {"task": "membrane", "target": "dhanyasi-P14-mouse-cerebellum", "variant": "macs-v11-norestart-acq-random", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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
+ [06:17:56][ 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:17:56][ 0s][DATA] dhanyasi-P14-mouse-cerebellum: train=8649 val=1922 test=2883 patches
4
+ [06:17:57][ 1s][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.08
5
+ [06:17:58][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [06:18:03][ 8s][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
+ [06:18:03][ 8s][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
+ [06:18:27][ 32s][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
+ [06:18:27][ 32s][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
+ [06:18:27][ 32s][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
+ [06:18:27][ 32s][INIT] student initialised from teacher microns (weight 0.417)
12
+ [06:18:30][ 34s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [06:18:30][ 34s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [06:19:38][ 102s][KD] soft labels for 6000 patches from 8 teachers in 69s
15
+ [06:20:32][ 157s][KD] epoch 1/5 | patches=6000 | loss=0.5835 | 54s
16
+ [06:21:27][ 212s][KD] epoch 2/5 | patches=6000 | loss=0.4531 | 55s
17
+ [06:22:22][ 267s][KD] epoch 3/5 | patches=6000 | loss=0.4309 | 55s
18
+ [06:23:16][ 321s][KD] epoch 4/5 | patches=6000 | loss=0.4249 | 54s
19
+ [06:24:09][ 374s][KD] epoch 5/5 | patches=6000 | loss=0.4230 | 53s
20
+ [06:24:12][ 376s][ROUND0] before any target label: val_dice=0.1712 val_vi=0.5021
21
+ [06:24:12][ 376s][AL] patches=8649 (pool 8647 after dropping blank; free blank negatives: True) | budget=432 (5.0%) | rounds=6 | per_round=72 | acquisition=random | first_round=stratified
22
+ [06:24:24][ 388s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': -0.01683200768757291, 'auroc_top20_error': 0.5015251953125}
23
+ [06:24:47][ 412s][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
+ [06:24:55][ 419s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.449, uniform=0.257, top1=0.413, top2=0.428, top3=0.558 -> using top3
25
+ [06:24:57][ 421s][WEIGHTS] round 1: student kept (labeled Dice 0.216 vs best teacher mouse-brain 0.413); distilling the corrected ensemble into it
26
+ [06:24:57][ 421s][WEIGHTS] round 1: teacher Dice on 72 labeled patches + 2 blank (891480 fg px): c-elegans=0.347, flywire=0.154, berghia=0.171, microns=0.295, oct-glia=0.191, oct-sfl=0.403, snemi=0.403, mouse-brain=0.413 | weights: c-elegans=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.157, snemi=0.312, mouse-brain=0.531
27
+ [06:25:23][ 447s][KD] soft labels for 6000 patches from 8 teachers in 26s
28
+ [06:26:18][ 502s][KD] epoch 1/2 | patches=6000 | loss=0.5647 | 55s
29
+ [06:27:14][ 558s][KD] epoch 2/2 | patches=6000 | loss=0.5552 | 56s
30
+ [06:27:23][ 567s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 9s
31
+ [06:27:26][ 570s][FT] round 1/6 epoch 1/5 | patches=74 | loss=1.3886
32
+ [06:27:29][ 574s][FT] round 1/6 epoch 2/5 | patches=74 | loss=1.3259
33
+ [06:27:32][ 577s][FT] round 1/6 epoch 3/5 | patches=74 | loss=1.3300
34
+ [06:27:35][ 580s][FT] round 1/6 epoch 4/5 | patches=74 | loss=1.3050
35
+ [06:27:38][ 582s][FT] round 1/6 epoch 5/5 | patches=74 | loss=1.2636
36
+ [06:27:41][ 585s][AL] round 1/6 | labeled=72 | selection_seconds=35.6000 round_seconds=206.6000 restart_student_dice=0.2157 restart_teacher_dice=0.4127 val_dice=0.5873 val_vi=0.6600 val_ece=0.0484
37
+ [06:27:51][ 595s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.511, uniform=0.254, top1=0.449, top2=0.457, top3=0.492 -> using mixture
38
+ [06:27:51][ 595s][WEIGHTS] round 2: teacher Dice on 144 labeled patches + 2 blank (2038859 fg px): c-elegans=0.388, flywire=0.149, berghia=0.170, microns=0.291, oct-glia=0.178, oct-sfl=0.419, snemi=0.405, mouse-brain=0.449 | weights: c-elegans=0.069, flywire=0.019, berghia=0.002, microns=0.216, oct-glia=0.007, oct-sfl=0.100, snemi=0.172, mouse-brain=0.415
39
+ [06:28:02][ 606s][CONS] round 2: on the 72 new patches student Dice=0.772 vs ensemble 0.499 -> pseudo-labels from the student | consistency x0.91
40
+ [06:28:06][ 611s][FT] round 2/6 epoch 1/5 | patches=146 | loss=1.0746
41
+ [06:28:11][ 615s][FT] round 2/6 epoch 2/5 | patches=146 | loss=1.0634
42
+ [06:28:15][ 620s][FT] round 2/6 epoch 3/5 | patches=146 | loss=1.0433
43
+ [06:28:20][ 624s][FT] round 2/6 epoch 4/5 | patches=146 | loss=1.0409
44
+ [06:28:24][ 629s][FT] round 2/6 epoch 5/5 | patches=146 | loss=1.0049
45
+ [06:28:27][ 631s][AL] round 2/6 | labeled=144 | selection_seconds=0.2000 round_seconds=43.8000 pseudo_student_dice=0.7723 pseudo_ensemble_dice=0.4989 consistency_scale=0.9080 val_dice=0.6586 val_vi=0.5740 val_ece=0.0054
46
+ [06:29:21][ 685s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.442, flywire=0.155, berghia=0.189, microns=0.287, oct-glia=0.186, oct-sfl=0.457, snemi=0.439, mouse-brain=0.516 | blended with labeled Dice at 0.50
47
+ [06:30:11][ 735s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.545, uniform=0.266, top1=0.485, top2=0.491, top3=0.510 -> using mixture
48
+ [06:30:11][ 735s][WEIGHTS] round 3: teacher Dice on 216 labeled patches + 2 blank (3013404 fg px): c-elegans=0.414, flywire=0.154, berghia=0.180, microns=0.291, oct-glia=0.183, oct-sfl=0.442, snemi=0.418, mouse-brain=0.485 | weights: c-elegans=0.072, flywire=0.016, berghia=0.001, microns=0.172, oct-glia=0.006, oct-sfl=0.101, snemi=0.158, mouse-brain=0.474
49
+ [06:30:21][ 746s][CONS] round 3: on the 72 new patches student Dice=0.800 vs ensemble 0.507 -> pseudo-labels from the student | consistency x1.00
50
+ [06:30:27][ 751s][FT] round 3/6 epoch 1/5 | patches=218 | loss=0.9337
51
+ [06:30:32][ 757s][FT] round 3/6 epoch 2/5 | patches=218 | loss=0.9435
52
+ [06:30:38][ 762s][FT] round 3/6 epoch 3/5 | patches=218 | loss=0.8940
53
+ [06:30:43][ 768s][FT] round 3/6 epoch 4/5 | patches=218 | loss=0.9051
54
+ [06:30:49][ 773s][FT] round 3/6 epoch 5/5 | patches=218 | loss=0.8813
55
+ [06:30:51][ 776s][AL] round 3/6 | labeled=216 | selection_seconds=0.2000 round_seconds=142.6000 pseudo_student_dice=0.7999 pseudo_ensemble_dice=0.5074 consistency_scale=1.0000 val_dice=0.6489 val_vi=0.5501 val_ece=0.0084
56
+ [06:31:46][ 831s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.393, flywire=0.183, berghia=0.188, microns=0.344, oct-glia=0.231, oct-sfl=0.497, snemi=0.420, mouse-brain=0.455 | blended with labeled Dice at 0.50
57
+ [06:32:38][ 882s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.493, uniform=0.298, top1=0.466, top2=0.469, top3=0.578 -> using top3
58
+ [06:32:38][ 882s][WEIGHTS] round 4: teacher Dice on 288 labeled patches + 2 blank (4032333 fg px): c-elegans=0.389, flywire=0.168, berghia=0.180, microns=0.323, oct-glia=0.203, oct-sfl=0.466, snemi=0.419, mouse-brain=0.450 | weights: c-elegans=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.206, snemi=0.255, mouse-brain=0.539
59
+ [06:32:49][ 893s][CONS] round 4: on the 72 new patches student Dice=0.783 vs ensemble 0.571 -> pseudo-labels from the student | consistency x0.94
60
+ [06:32:56][ 900s][FT] round 4/6 epoch 1/5 | patches=290 | loss=0.8305
61
+ [06:33:03][ 907s][FT] round 4/6 epoch 2/5 | patches=290 | loss=0.8281
62
+ [06:33:10][ 914s][FT] round 4/6 epoch 3/5 | patches=290 | loss=0.7818
63
+ [06:33:16][ 921s][FT] round 4/6 epoch 4/5 | patches=290 | loss=0.7958
64
+ [06:33:23][ 927s][FT] round 4/6 epoch 5/5 | patches=290 | loss=0.8050
65
+ [06:33:25][ 930s][AL] round 4/6 | labeled=288 | selection_seconds=0.2000 round_seconds=151.8000 pseudo_student_dice=0.7826 pseudo_ensemble_dice=0.5707 consistency_scale=0.9420 val_dice=0.6588 val_vi=0.5911 val_ece=0.0125
66
+ [06:34:22][ 987s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.455, flywire=0.146, berghia=0.189, microns=0.268, oct-glia=0.170, oct-sfl=0.425, snemi=0.427, mouse-brain=0.522 | blended with labeled Dice at 0.50
67
+ [06:35:16][ 1040s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.528, uniform=0.258, top1=0.480, top2=0.483, top3=0.500 -> using mixture
68
+ [06:35:16][ 1040s][WEIGHTS] round 5: teacher Dice on 360 labeled patches + 2 blank (4939842 fg px): c-elegans=0.419, flywire=0.150, berghia=0.182, microns=0.284, oct-glia=0.175, oct-sfl=0.432, snemi=0.422, mouse-brain=0.480 | weights: c-elegans=0.078, flywire=0.016, berghia=0.001, microns=0.167, oct-glia=0.005, oct-sfl=0.095, snemi=0.170, mouse-brain=0.467
69
+ [06:35:27][ 1051s][CONS] round 5: on the 72 new patches student Dice=0.803 vs ensemble 0.467 -> pseudo-labels from the student | consistency x1.00
70
+ [06:35:35][ 1059s][FT] round 5/6 epoch 1/5 | patches=362 | loss=0.8099
71
+ [06:35:43][ 1067s][FT] round 5/6 epoch 2/5 | patches=362 | loss=0.8055
72
+ [06:35:51][ 1075s][FT] round 5/6 epoch 3/5 | patches=362 | loss=0.7721
73
+ [06:35:59][ 1083s][FT] round 5/6 epoch 4/5 | patches=362 | loss=0.7884
74
+ [06:36:07][ 1091s][FT] round 5/6 epoch 5/5 | patches=362 | loss=0.7350
75
+ [06:36:09][ 1093s][AL] round 5/6 | labeled=360 | selection_seconds=0.2000 round_seconds=161.3000 pseudo_student_dice=0.8026 pseudo_ensemble_dice=0.4667 consistency_scale=1.0000 val_dice=0.6882 val_vi=0.5241 val_ece=0.0292
76
+ [06:37:07][ 1151s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.405, flywire=0.161, berghia=0.183, microns=0.297, oct-glia=0.199, oct-sfl=0.448, snemi=0.416, mouse-brain=0.481 | blended with labeled Dice at 0.50
77
+ [06:38:02][ 1206s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.516, uniform=0.277, top1=0.456, top2=0.466, top3=0.531 -> using top3
78
+ [06:38:02][ 1206s][WEIGHTS] round 6: teacher Dice on 432 labeled patches + 2 blank (5814272 fg px): c-elegans=0.392, flywire=0.159, berghia=0.179, microns=0.301, oct-glia=0.190, oct-sfl=0.449, snemi=0.417, mouse-brain=0.456 | weights: c-elegans=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.175, snemi=0.253, mouse-brain=0.572
79
+ [06:38:13][ 1217s][CONS] round 6: on the 72 new patches student Dice=0.804 vs ensemble 0.511 -> pseudo-labels from the student | consistency x1.00
80
+ [06:38:22][ 1226s][FT] round 6/6 epoch 1/5 | patches=434 | loss=0.6374
81
+ [06:38:31][ 1235s][FT] round 6/6 epoch 2/5 | patches=434 | loss=0.6052
82
+ [06:38:40][ 1244s][FT] round 6/6 epoch 3/5 | patches=434 | loss=0.6068
83
+ [06:38:49][ 1253s][FT] round 6/6 epoch 4/5 | patches=434 | loss=0.5832
84
+ [06:38:58][ 1262s][FT] round 6/6 epoch 5/5 | patches=434 | loss=0.6386
85
+ [06:39:00][ 1265s][AL] round 6/6 | labeled=432 | selection_seconds=0.2000 round_seconds=169.2000 pseudo_student_dice=0.8042 pseudo_ensemble_dice=0.5110 consistency_scale=1.0000 val_dice=0.6883 val_vi=0.5339 val_ece=0.0105
86
+ [06:39:04][ 1268s][CONS] final consolidation: pseudo-labels refreshed from the student
87
+ [06:39:13][ 1277s][FT] final 1/10 epoch 1/1 | patches=434 | loss=0.6010
88
+ [06:39:22][ 1286s][FT] final 2/10 epoch 1/1 | patches=434 | loss=0.5822
89
+ [06:39:31][ 1296s][FT] final 3/10 epoch 1/1 | patches=434 | loss=0.5734
90
+ [06:39:41][ 1305s][FT] final 4/10 epoch 1/1 | patches=434 | loss=0.5643
91
+ [06:39:50][ 1314s][FT] final 5/10 epoch 1/1 | patches=434 | loss=0.5516
92
+ [06:39:59][ 1323s][FT] final 6/10 epoch 1/1 | patches=434 | loss=0.5410
93
+ [06:40:08][ 1332s][FT] final 7/10 epoch 1/1 | patches=434 | loss=0.5213
94
+ [06:40:17][ 1341s][FT] final 8/10 epoch 1/1 | patches=434 | loss=0.5250
95
+ [06:40:26][ 1351s][FT] final 9/10 epoch 1/1 | patches=434 | loss=0.5119
96
+ [06:40:36][ 1360s][FT] final 10/10 epoch 1/1 | patches=434 | loss=0.5281
97
+ [06:40:38][ 1362s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=95.4000 val_dice=0.7122 val_vi=0.5155 val_ece=0.0282
98
+ [06:40:38][ 1362s][WEIGHTS] final: c-elegans=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.175, snemi=0.253, mouse-brain=0.572
99
+ [06:41:17][ 1401s][TEST] raw student (no EMA, no TTA): patch_dice=0.7470 patch_vi=0.4291
100
+ [06:41:22][ 1407s][TEST] final model without TTA: patch_dice=0.7470 patch_vi=0.4291
101
+ [06:41:22][ 1407s][RESOURCES] {"phases": {"setup": {"seconds": 1.22, "peak_cpu_rss_mb": 1028.3, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 32.54, "peak_cpu_rss_mb": 1801.3, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 339.71, "peak_cpu_rss_mb": 3693.9, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 986.15, "peak_cpu_rss_mb": 3693.9, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4642.0, "rounds": 6}, "inference": {"seconds": 44.7, "peak_cpu_rss_mb": 3693.9, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4644.0, "patches": 2883, "images": 3, "patches_per_second": 64.5, "seconds_per_image": 14.9}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 3693.9, "total_seconds": 1404.3}
102
+ [06:41:22][ 1407s][TEST] patch_dice=0.7784 patch_iou=0.6821 patch_precision=0.8233 patch_recall=0.8023 patch_vi=0.4046 image_dice=0.8283 image_iou=0.7096 image_precision=0.8551 image_recall=0.8058 image_vi=0.4575 cal_ece=0.0084 cal_nll=0.1759 cal_brier=0.0526 cal_mean_confidence=0.9360 cal_accuracy=0.9277 cal_predicted_prevalence=0.2215 cal_true_prevalence=0.2301 cal_mean_probability=0.2258
103
+ [06:41:23][ 1407s][DONE] dhanyasi-P14-mouse-cerebellum macs-v11-norestart-acq-random b5 s2 | test patch Dice=0.7784 VI=0.4046 | image Dice=0.8283 VI=0.4575 | 1407s
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-random/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "dhanyasi-P14-mouse-cerebellum",
3
+ "variant": "macs-v11-norestart-acq-random",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "dhanyasi-P14-mouse-cerebellum",
9
+ "variant": "macs-v11-norestart-acq-random",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "dhanyasi-P14-mouse-cerebellum",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-random",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.05083387092965836,
154
+ 0.15580245740591697,
155
+ 0.010243446832791585,
156
+ 0.41728942804507835,
157
+ 0.03964191869924105,
158
+ 0.053950781313640436,
159
+ 0.10715830600341246,
160
+ 0.16507979077026083
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.05083387092965836,
175
+ 0.15580245740591697,
176
+ 0.010243446832791585,
177
+ 0.41728942804507835,
178
+ 0.03964191869924105,
179
+ 0.053950781313640436,
180
+ 0.10715830600341246,
181
+ 0.16507979077026083
182
+ ],
183
+ "per_source": [
184
+ 0.1831792908635141,
185
+ 0.0008117602305311557,
186
+ 0.07130039492253423,
187
+ 0.2901333759297942,
188
+ 0.19473854254781,
189
+ 0.14427929446206111,
190
+ 0.11165168345469406,
191
+ 0.0039056575890611817
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.04944674080252824,
205
+ "mmd2_mixture": 0.06619580859842833,
206
+ "mmd2_uniform": 0.10385692805437269,
207
+ "mmd2_single_source": [
208
+ 0.35157092449944216,
209
+ 0.1914113737092883,
210
+ 0.2296477365874025,
211
+ 0.08478080568303437,
212
+ 0.272622477181822,
213
+ 0.2463089382682188,
214
+ 0.15004801624266395,
215
+ 0.17311813097471462
216
+ ],
217
+ "median_squared_distance": 0.18230687630230707,
218
+ "gammas": [
219
+ 1.3713141548508683,
220
+ 2.7426283097017365,
221
+ 5.485256619403473,
222
+ 10.970513238806946,
223
+ 21.941026477613892
224
+ ],
225
+ "max_weight": 0.41728942804507835,
226
+ "entropy": 1.6749067795900086,
227
+ "effective_sources": 5.338297487596983,
228
+ "min_weight": 0.010243446832791585
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.24983749105579034,
233
+ 0.6076273510548802,
234
+ 0.31213616057205607,
235
+ 0.2194742775498013,
236
+ 0.24579726709659655,
237
+ 0.26559858325874997,
238
+ 0.28252517774848496,
239
+ 0.5039038205278614
240
+ ],
241
+ "standardized": [
242
+ -0.6514591536335823,
243
+ 2.0580486812336294,
244
+ -0.17967738442258652,
245
+ -0.8813968184025964,
246
+ -0.6820553769924043,
247
+ -0.5321019342588011,
248
+ -0.4039184793457027,
249
+ 1.2725604658220449
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.2901333759297942,
253
+ "entropy": 1.7283708993213025,
254
+ "effective_sources": 5.631472196315185,
255
+ "min_weight": 0.0008117602305311557
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.41286983026930635,
265
+ 0.10651095633970442,
266
+ 0.15770527050491268,
267
+ 0.22267858774357308,
268
+ 0.11006956393332956,
269
+ 0.2911632103623596,
270
+ 0.2970295092802324,
271
+ 0.447529566690438
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.20976331913409396,
275
+ "mixture@raw": 0.2201044706093569,
276
+ "mixture@logit": 0.1889936769494014,
277
+ "per_source": 0.19317883340253061,
278
+ "per_source@raw": 0.20883607926566583,
279
+ "per_source@logit": 0.15551849586998046,
280
+ "uniform": 0.19238025487255683,
281
+ "uniform@raw": 0.21034175472151873,
282
+ "uniform@logit": 0.15367464892063687
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 1.990083932876587,
289
+ 8.0,
290
+ 1.9150984287261963,
291
+ 2.5513463020324707,
292
+ 2.6421806812286377,
293
+ 3.5461363792419434,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.41728942804507835,
299
+ "entropy": 1.6749067795900086,
300
+ "effective_sources": 5.338297487596983,
301
+ "min_weight": 0.010243446832791585
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": 339.7,
313
+ "round0_val": {
314
+ "val_dice": 0.1711621108784323,
315
+ "val_vi": 0.5020588886973317,
316
+ "val_ece": 0.14820936102204899
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 72,
322
+ "selection_seconds": 35.6,
323
+ "round_seconds": 206.6,
324
+ "teacher_dice_labeled": [
325
+ 0.34699131258491106,
326
+ 0.15400938239211243,
327
+ 0.17063725881990668,
328
+ 0.29518215496468825,
329
+ 0.1907363491430849,
330
+ 0.40286997571879657,
331
+ 0.402560670886263,
332
+ 0.4126936934594237
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 891480,
336
+ "evidence_nonempty_patches": 58,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.21571648537522917,
340
+ "restart_teacher_dice": 0.4126936934594237,
341
+ "weights": [
342
+ 0.0,
343
+ 0.0,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0,
347
+ 0.1573376001938336,
348
+ 0.311542520327699,
349
+ 0.5311198794784675
350
+ ],
351
+ "ensemble_choice": "top3",
352
+ "candidate_dice": {
353
+ "mixture": 0.4486622376468838,
354
+ "uniform": 0.257123442242594,
355
+ "top1": 0.4126936934594237,
356
+ "top2": 0.427720538104064,
357
+ "top3": 0.5579440810273272
358
+ },
359
+ "val_dice": 0.587305604106643,
360
+ "val_vi": 0.6599535991066656,
361
+ "val_ece": 0.04835740491699966
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 144,
366
+ "selection_seconds": 0.2,
367
+ "round_seconds": 43.8,
368
+ "teacher_dice_labeled": [
369
+ 0.3877112948623053,
370
+ 0.14909626611196175,
371
+ 0.17005234419964096,
372
+ 0.29110798999593296,
373
+ 0.17764307442922855,
374
+ 0.41866300287842756,
375
+ 0.40459903528437674,
376
+ 0.4492049901441661
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 2038859,
380
+ "evidence_nonempty_patches": 117,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.06909489706776745,
385
+ 0.019479382824218353,
386
+ 0.0015792762266002333,
387
+ 0.21586754477923684,
388
+ 0.006593754437182248,
389
+ 0.09993372841912157,
390
+ 0.17244918911249582,
391
+ 0.4150022271333776
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.5114063614291914,
396
+ "uniform": 0.2542809724207618,
397
+ "top1": 0.4492049901441661,
398
+ "top2": 0.4573143432435651,
399
+ "top3": 0.4917913428812348
400
+ },
401
+ "pseudo_student_dice": 0.7723456432892528,
402
+ "pseudo_ensemble_dice": 0.4989113809299943,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.908,
405
+ "val_dice": 0.6585940233579239,
406
+ "val_vi": 0.5740162973538123,
407
+ "val_ece": 0.005417245034970651
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 216,
412
+ "selection_seconds": 0.2,
413
+ "round_seconds": 142.6,
414
+ "teacher_dice_labeled": [
415
+ 0.4140682111607643,
416
+ 0.1536399927755801,
417
+ 0.1799205572303296,
418
+ 0.29112126324332566,
419
+ 0.18334845976830494,
420
+ 0.4423851087364882,
421
+ 0.41803091046534124,
422
+ 0.4848902568732807
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.4416778556160547,
426
+ 0.15487823535765688,
427
+ 0.18914476821851361,
428
+ 0.28655053365525646,
429
+ 0.18583099402223757,
430
+ 0.4567643200946957,
431
+ 0.43939763997607106,
432
+ 0.5156445163650382
433
+ ],
434
+ "evidence_fg_pixels": 3013404,
435
+ "evidence_nonempty_patches": 174,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0718401217611655,
440
+ 0.016284063956197966,
441
+ 0.001392418083738922,
442
+ 0.17246439507692587,
443
+ 0.0055765473665446265,
444
+ 0.10120229003831627,
445
+ 0.157561280540448,
446
+ 0.4736788831766628
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.5454374977215515,
451
+ "uniform": 0.2664851046953125,
452
+ "top1": 0.4848902568732807,
453
+ "top2": 0.49108429525345076,
454
+ "top3": 0.5097392015266642
455
+ },
456
+ "pseudo_student_dice": 0.7999457618489225,
457
+ "pseudo_ensemble_dice": 0.5073909859154929,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 1.0,
460
+ "val_dice": 0.6488990698124532,
461
+ "val_vi": 0.5500686787278544,
462
+ "val_ece": 0.008365029822864706
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 288,
467
+ "selection_seconds": 0.2,
468
+ "round_seconds": 151.8,
469
+ "teacher_dice_labeled": [
470
+ 0.38945019463626285,
471
+ 0.1679853583375917,
472
+ 0.18044124015986018,
473
+ 0.32282208176596117,
474
+ 0.2034846994902197,
475
+ 0.4660624113903503,
476
+ 0.41870020084547344,
477
+ 0.4503311467877327
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.3928618027754761,
481
+ 0.18289820943264143,
482
+ 0.1883542828074731,
483
+ 0.3437577001051289,
484
+ 0.2306743626695978,
485
+ 0.4966166642733409,
486
+ 0.4197338102857259,
487
+ 0.45470006684976394
488
+ ],
489
+ "evidence_fg_pixels": 4032333,
490
+ "evidence_nonempty_patches": 233,
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.2061290137522376,
500
+ 0.25496217742297783,
501
+ 0.5389088088247845
502
+ ],
503
+ "ensemble_choice": "top3",
504
+ "candidate_dice": {
505
+ "mixture": 0.4927856038827534,
506
+ "uniform": 0.29765161943165275,
507
+ "top1": 0.4660624113903503,
508
+ "top2": 0.4691393882366579,
509
+ "top3": 0.5775226351451215
510
+ },
511
+ "pseudo_student_dice": 0.7826412650210633,
512
+ "pseudo_ensemble_dice": 0.5706861006865913,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.942,
515
+ "val_dice": 0.658762843387845,
516
+ "val_vi": 0.5911395322997408,
517
+ "val_ece": 0.012483891875880187
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 360,
522
+ "selection_seconds": 0.2,
523
+ "round_seconds": 161.3,
524
+ "teacher_dice_labeled": [
525
+ 0.41854435812646784,
526
+ 0.1495941701206981,
527
+ 0.1822344165135339,
528
+ 0.28407492428974873,
529
+ 0.17477511072235818,
530
+ 0.43229461743105685,
531
+ 0.42189655355246203,
532
+ 0.47989858564637067
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.45500621878025627,
536
+ 0.14580300142111405,
537
+ 0.18938505602311717,
538
+ 0.2676734414185573,
539
+ 0.1697405400963424,
540
+ 0.4251377383150291,
541
+ 0.4270884498370188,
542
+ 0.5221131621647941
543
+ ],
544
+ "evidence_fg_pixels": 4939842,
545
+ "evidence_nonempty_patches": 289,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0779412985155291,
550
+ 0.01622381303412828,
551
+ 0.001478357728619292,
552
+ 0.1667471831433008,
553
+ 0.005309978119330455,
554
+ 0.09491367972415017,
555
+ 0.16990207946327957,
556
+ 0.4674836102716623
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.5283083464616156,
561
+ "uniform": 0.2575204836185174,
562
+ "top1": 0.47989858564637067,
563
+ "top2": 0.4829881803552951,
564
+ "top3": 0.5002578227349939
565
+ },
566
+ "pseudo_student_dice": 0.8026457077424155,
567
+ "pseudo_ensemble_dice": 0.46667988670073507,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 1.0,
570
+ "val_dice": 0.6882328190174084,
571
+ "val_vi": 0.5241002137565222,
572
+ "val_ece": 0.029186931568365077
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 432,
577
+ "selection_seconds": 0.2,
578
+ "round_seconds": 169.2,
579
+ "teacher_dice_labeled": [
580
+ 0.39221785990090063,
581
+ 0.15853969100727025,
582
+ 0.1789619795127443,
583
+ 0.3011489393039044,
584
+ 0.18995564470764165,
585
+ 0.4492783861051983,
586
+ 0.4173859453694295,
587
+ 0.45590431446624324
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.4051408302204626,
591
+ 0.16061494373172766,
592
+ 0.1831960622696714,
593
+ 0.2969592804592786,
594
+ 0.19929429611917968,
595
+ 0.44823407067395027,
596
+ 0.41566445570090216,
597
+ 0.4808073840817319
598
+ ],
599
+ "evidence_fg_pixels": 5814272,
600
+ "evidence_nonempty_patches": 348,
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.17503087706727477,
610
+ 0.2527176996415204,
611
+ 0.5722514232912048
612
+ ],
613
+ "ensemble_choice": "top3",
614
+ "candidate_dice": {
615
+ "mixture": 0.5162106450575661,
616
+ "uniform": 0.27684872084241097,
617
+ "top1": 0.45590431446624324,
618
+ "top2": 0.46629336580424974,
619
+ "top3": 0.5313853044604864
620
+ },
621
+ "pseudo_student_dice": 0.8041609915056682,
622
+ "pseudo_ensemble_dice": 0.5110455493001167,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 1.0,
625
+ "val_dice": 0.6883015407537225,
626
+ "val_vi": 0.5339455101163537,
627
+ "val_ece": 0.010485531571301124
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 432,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 95.4,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7122290178272843,
636
+ "val_vi": 0.515518646087249,
637
+ "val_ece": 0.0282238460581894
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": -0.01683200768757291,
642
+ "auroc_top20_error": 0.5015251953125
643
+ },
644
+ "al_seconds": 986.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.0,
657
+ 0.0,
658
+ 0.0,
659
+ 0.0,
660
+ 0.0,
661
+ 0.17503087706727477,
662
+ 0.2527176996415204,
663
+ 0.5722514232912048
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.5722514232912048,
667
+ "entropy": 0.9720687572709196,
668
+ "effective_sources": 2.643407374909532,
669
+ "min_weight": 0.0
670
+ },
671
+ "top_source_final": "whole-mouse-brain",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7470388735427181,
676
+ "patch_iou": 0.6460663585703925,
677
+ "patch_precision": 0.7807578668019558,
678
+ "patch_recall": 0.8005368189549578,
679
+ "patch_vi": 0.42906332242828876,
680
+ "n_patches": 2883,
681
+ "cal_ece": 0.02143620715811456,
682
+ "cal_nll": 0.20047653371661475,
683
+ "cal_brier": 0.05796857954842853,
684
+ "cal_mean_confidence": 0.9434937833591204,
685
+ "cal_accuracy": 0.9220575762010059,
686
+ "cal_predicted_prevalence": 0.2271959276361429,
687
+ "cal_true_prevalence": 0.23013442215140478,
688
+ "cal_mean_probability": 0.23093329968843
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7470388735427181,
692
+ "patch_iou": 0.6460663585703925,
693
+ "patch_precision": 0.7807578668019558,
694
+ "patch_recall": 0.8005368189549578,
695
+ "patch_vi": 0.42906332242828876,
696
+ "n_patches": 2883,
697
+ "cal_ece": 0.02143620715811456,
698
+ "cal_nll": 0.20047653371661475,
699
+ "cal_brier": 0.05796857954842853,
700
+ "cal_mean_confidence": 0.9434937833591204,
701
+ "cal_accuracy": 0.9220575762010059,
702
+ "cal_predicted_prevalence": 0.2271959276361429,
703
+ "cal_true_prevalence": 0.23013442215140478,
704
+ "cal_mean_probability": 0.23093329968843
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7783869137129839,
708
+ "patch_iou": 0.6820751619244556,
709
+ "patch_precision": 0.8232589978608481,
710
+ "patch_recall": 0.8022611640300222,
711
+ "patch_vi": 0.4045632298190714,
712
+ "n_patches": 2883,
713
+ "image_dice": 0.8282705378907229,
714
+ "image_iou": 0.7096447795902364,
715
+ "image_precision": 0.8550598096304546,
716
+ "image_recall": 0.8057972121205764,
717
+ "image_vi": 0.45746639872723177,
718
+ "n_images": 3,
719
+ "cal_ece": 0.008398856496640952,
720
+ "cal_nll": 0.17592274256698134,
721
+ "cal_brier": 0.05262819081835747,
722
+ "cal_mean_confidence": 0.9360410674965641,
723
+ "cal_accuracy": 0.927740472164412,
724
+ "cal_predicted_prevalence": 0.22152996824054805,
725
+ "cal_true_prevalence": 0.23013442215140478,
726
+ "cal_mean_probability": 0.2258376879442032
727
+ },
728
+ "eval_seconds": 44.7,
729
+ "total_seconds": 1406.8,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.22,
734
+ "peak_cpu_rss_mb": 1028.3,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 32.54,
740
+ "peak_cpu_rss_mb": 1801.3,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 339.71,
746
+ "peak_cpu_rss_mb": 3693.9,
747
+ "peak_gpu_alloc_mb": 4303.7,
748
+ "peak_gpu_reserved_mb": 4618.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 986.15,
753
+ "peak_cpu_rss_mb": 3693.9,
754
+ "peak_gpu_alloc_mb": 4424.0,
755
+ "peak_gpu_reserved_mb": 4642.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 44.7,
760
+ "peak_cpu_rss_mb": 3693.9,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4644.0,
763
+ "patches": 2883,
764
+ "images": 3,
765
+ "patches_per_second": 64.5,
766
+ "seconds_per_image": 14.9
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4424.0,
770
+ "peak_cpu_rss_mb": 3693.9,
771
+ "total_seconds": 1404.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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-random_b5_s2.pth"
785
+ }
macs_v2_r26/runs/membrane/dhanyasi-P14-mouse-cerebellum/macs-v11-norestart-acq-random/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,72,35.6,206.6,"[0.34699131258491106, 0.15400938239211243, 0.17063725881990668, 0.29518215496468825, 0.1907363491430849, 0.40286997571879657, 0.402560670886263, 0.4126936934594237]",,891480,58,True,kept,0.21571648537522917,0.4126936934594237,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.1573376001938336, 0.311542520327699, 0.5311198794784675]",top3,"{'mixture': 0.4486622376468838, 'uniform': 0.257123442242594, 'top1': 0.4126936934594237, 'top2': 0.427720538104064, 'top3': 0.5579440810273272}",0.587305604106643,0.6599535991066656,0.04835740491699966,,,,,
3
+ 2,144,0.2,43.8,"[0.3877112948623053, 0.14909626611196175, 0.17005234419964096, 0.29110798999593296, 0.17764307442922855, 0.41866300287842756, 0.40459903528437674, 0.4492049901441661]",,2038859,117,False,,,,"[0.06909489706776745, 0.019479382824218353, 0.0015792762266002333, 0.21586754477923684, 0.006593754437182248, 0.09993372841912157, 0.17244918911249582, 0.4150022271333776]",mixture,"{'mixture': 0.5114063614291914, 'uniform': 0.2542809724207618, 'top1': 0.4492049901441661, 'top2': 0.4573143432435651, 'top3': 0.4917913428812348}",0.6585940233579239,0.5740162973538123,0.005417245034970651,0.7723456432892528,0.4989113809299943,student,0.908,
4
+ 3,216,0.2,142.6,"[0.4140682111607643, 0.1536399927755801, 0.1799205572303296, 0.29112126324332566, 0.18334845976830494, 0.4423851087364882, 0.41803091046534124, 0.4848902568732807]","[0.4416778556160547, 0.15487823535765688, 0.18914476821851361, 0.28655053365525646, 0.18583099402223757, 0.4567643200946957, 0.43939763997607106, 0.5156445163650382]",3013404,174,False,,,,"[0.0718401217611655, 0.016284063956197966, 0.001392418083738922, 0.17246439507692587, 0.0055765473665446265, 0.10120229003831627, 0.157561280540448, 0.4736788831766628]",mixture,"{'mixture': 0.5454374977215515, 'uniform': 0.2664851046953125, 'top1': 0.4848902568732807, 'top2': 0.49108429525345076, 'top3': 0.5097392015266642}",0.6488990698124532,0.5500686787278544,0.008365029822864706,0.7999457618489225,0.5073909859154929,student,1.0,
5
+ 4,288,0.2,151.8,"[0.38945019463626285, 0.1679853583375917, 0.18044124015986018, 0.32282208176596117, 0.2034846994902197, 0.4660624113903503, 0.41870020084547344, 0.4503311467877327]","[0.3928618027754761, 0.18289820943264143, 0.1883542828074731, 0.3437577001051289, 0.2306743626695978, 0.4966166642733409, 0.4197338102857259, 0.45470006684976394]",4032333,233,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.2061290137522376, 0.25496217742297783, 0.5389088088247845]",top3,"{'mixture': 0.4927856038827534, 'uniform': 0.29765161943165275, 'top1': 0.4660624113903503, 'top2': 0.4691393882366579, 'top3': 0.5775226351451215}",0.658762843387845,0.5911395322997408,0.012483891875880187,0.7826412650210633,0.5706861006865913,student,0.942,
6
+ 5,360,0.2,161.3,"[0.41854435812646784, 0.1495941701206981, 0.1822344165135339, 0.28407492428974873, 0.17477511072235818, 0.43229461743105685, 0.42189655355246203, 0.47989858564637067]","[0.45500621878025627, 0.14580300142111405, 0.18938505602311717, 0.2676734414185573, 0.1697405400963424, 0.4251377383150291, 0.4270884498370188, 0.5221131621647941]",4939842,289,False,,,,"[0.0779412985155291, 0.01622381303412828, 0.001478357728619292, 0.1667471831433008, 0.005309978119330455, 0.09491367972415017, 0.16990207946327957, 0.4674836102716623]",mixture,"{'mixture': 0.5283083464616156, 'uniform': 0.2575204836185174, 'top1': 0.47989858564637067, 'top2': 0.4829881803552951, 'top3': 0.5002578227349939}",0.6882328190174084,0.5241002137565222,0.029186931568365077,0.8026457077424155,0.46667988670073507,student,1.0,
7
+ 6,432,0.2,169.2,"[0.39221785990090063, 0.15853969100727025, 0.1789619795127443, 0.3011489393039044, 0.18995564470764165, 0.4492783861051983, 0.4173859453694295, 0.45590431446624324]","[0.4051408302204626, 0.16061494373172766, 0.1831960622696714, 0.2969592804592786, 0.19929429611917968, 0.44823407067395027, 0.41566445570090216, 0.4808073840817319]",5814272,348,False,,,,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.17503087706727477, 0.2527176996415204, 0.5722514232912048]",top3,"{'mixture': 0.5162106450575661, 'uniform': 0.27684872084241097, 'top1': 0.45590431446624324, 'top2': 0.46629336580424974, 'top3': 0.5313853044604864}",0.6883015407537225,0.5339455101163537,0.010485531571301124,0.8041609915056682,0.5110455493001167,student,1.0,
8
+ 7,432,0.0,95.4,,,,,,,,,,,,0.7122290178272843,0.515518646087249,0.0282238460581894,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06:56:31][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-entropy budget=5.0% seed=2 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "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": 5, "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
+ [06:56:31][ 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:56:31][ 0s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [06:56:33][ 1s][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.08
5
+ [06:56:33][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [06:56:39][ 7s][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
+ [06:56:39][ 7s][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
+ [06:56:57][ 26s][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
+ [06:56:57][ 26s][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
+ [06:56:57][ 26s][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
+ [06:56:57][ 26s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [06:56:58][ 27s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [06:56:58][ 27s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [06:57:39][ 68s][KD] soft labels for 3584 patches from 8 teachers in 41s
15
+ [06:58:12][ 101s][KD] epoch 1/5 | patches=3584 | loss=0.6002 | 33s
16
+ [06:58:45][ 133s][KD] epoch 2/5 | patches=3584 | loss=0.4596 | 33s
17
+ [06:59:17][ 166s][KD] epoch 3/5 | patches=3584 | loss=0.4055 | 33s
18
+ [06:59:50][ 199s][KD] epoch 4/5 | patches=3584 | loss=0.3664 | 33s
19
+ [07:00:23][ 232s][KD] epoch 5/5 | patches=3584 | loss=0.3377 | 33s
20
+ [07:00:24][ 233s][ROUND0] before any target label: val_dice=0.8442 val_vi=0.1463
21
+ [07:00:24][ 233s][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
+ [07:00:28][ 237s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': 0.4491343304947581, 'auroc_top20_error': 0.6088995155171626}
23
+ [07:00:51][ 260s][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
+ [07:00:54][ 263s][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
+ [07:00:55][ 263s][WEIGHTS] round 1: student kept (labeled Dice 0.748 vs best teacher oct-glia 0.765); distilling the corrected ensemble into it
26
+ [07:00:55][ 263s][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
+ [07:01:21][ 290s][KD] soft labels for 2309 patches from 8 teachers in 26s
28
+ [07:01:42][ 311s][KD] epoch 1/2 | patches=2309 | loss=0.1395 | 21s
29
+ [07:02:03][ 332s][KD] epoch 2/2 | patches=2309 | loss=0.1332 | 21s
30
+ [07:02:26][ 355s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [07:02:28][ 356s][FT] round 1/6 epoch 1/5 | patches=58 | loss=0.8560
32
+ [07:02:29][ 358s][FT] round 1/6 epoch 2/5 | patches=58 | loss=0.5224
33
+ [07:02:30][ 359s][FT] round 1/6 epoch 3/5 | patches=58 | loss=0.4384
34
+ [07:02:32][ 361s][FT] round 1/6 epoch 4/5 | patches=58 | loss=0.3711
35
+ [07:02:33][ 362s][FT] round 1/6 epoch 5/5 | patches=58 | loss=0.3721
36
+ [07:02:35][ 364s][AL] round 1/6 | labeled=29 | selection_seconds=26.9000 round_seconds=129.3000 restart_student_dice=0.7483 restart_teacher_dice=0.7648 val_dice=0.8506 val_vi=0.1502 val_ece=0.0197
37
+ [07:02:39][ 367s][AL] round 2: 595/2309 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [07:02:44][ 373s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.578, uniform=0.590, top1=0.578, top2=0.577, top3=0.577 -> using uniform
39
+ [07:02:44][ 373s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (666295 fg px): c-elegans=0.305, cerebellum=0.438, flywire=0.166, berghia=0.275, microns=0.457, oct-glia=0.578, snemi=0.187, mouse-brain=0.290 | 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
+ [07:02:47][ 376s][CONS] round 2: on the 29 new patches student Dice=0.527 vs ensemble 0.520 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [07:02:49][ 378s][FT] round 2/6 epoch 1/5 | patches=116 | loss=0.9634
42
+ [07:02:52][ 381s][FT] round 2/6 epoch 2/5 | patches=116 | loss=0.8654
43
+ [07:02:54][ 383s][FT] round 2/6 epoch 3/5 | patches=116 | loss=0.8580
44
+ [07:02:56][ 385s][FT] round 2/6 epoch 4/5 | patches=116 | loss=0.7631
45
+ [07:02:59][ 388s][FT] round 2/6 epoch 5/5 | patches=116 | loss=0.6561
46
+ [07:03:00][ 389s][AL] round 2/6 | labeled=58 | selection_seconds=3.7000 round_seconds=23.9000 pseudo_student_dice=0.5266 pseudo_ensemble_dice=0.5199 consistency_scale=1.0000 val_dice=0.8430 val_vi=0.1733 val_ece=0.0119
47
+ [07:03:04][ 393s][AL] round 3: 550/2280 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [07:03:13][ 401s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.425, uniform=0.447, top1=0.423, top2=0.424, top3=0.423 -> using uniform
49
+ [07:03:13][ 401s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (1340584 fg px): c-elegans=0.257, cerebellum=0.358, flywire=0.144, berghia=0.219, microns=0.340, oct-glia=0.423, snemi=0.249, mouse-brain=0.287 | 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
50
+ [07:03:18][ 407s][CONS] round 3: on the 29 new patches student Dice=0.484 vs ensemble 0.251 -> pseudo-labels from the student | consistency x0.00
51
+ [07:03:20][ 409s][FT] round 3/6 epoch 1/5 | patches=174 | loss=0.8398
52
+ [07:03:22][ 411s][FT] round 3/6 epoch 2/5 | patches=174 | loss=0.7916
53
+ [07:03:24][ 413s][FT] round 3/6 epoch 3/5 | patches=174 | loss=1.0183
54
+ [07:03:26][ 414s][FT] round 3/6 epoch 4/5 | patches=174 | loss=0.8409
55
+ [07:03:27][ 416s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.8439
56
+ [07:03:29][ 418s][AL] round 3/6 | labeled=87 | selection_seconds=3.9000 round_seconds=26.9000 pseudo_student_dice=0.4843 pseudo_ensemble_dice=0.2510 consistency_scale=0.0000 val_dice=0.7727 val_vi=0.1726 val_ece=0.0198
57
+ [07:03:32][ 421s][AL] round 4: 574/2251 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [07:04:24][ 473s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.286, cerebellum=0.521, flywire=0.234, berghia=0.315, microns=0.554, oct-glia=0.793, snemi=0.220, mouse-brain=0.190 | blended with labeled Dice at 0.50
59
+ [07:05:13][ 522s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.630, uniform=0.587, top1=0.630, top2=0.630, top3=0.630 -> using mixture
60
+ [07:05:13][ 522s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (1701624 fg px): c-elegans=0.294, cerebellum=0.456, flywire=0.192, berghia=0.285, microns=0.465, oct-glia=0.630, snemi=0.225, mouse-brain=0.248 | weights: c-elegans=0.005, cerebellum=0.008, flywire=0.000, berghia=0.007, microns=0.009, oct-glia=0.969, snemi=0.001, mouse-brain=0.001
61
+ [07:05:19][ 527s][CONS] round 4: on the 29 new patches student Dice=0.674 vs ensemble 0.607 -> pseudo-labels from the student | consistency x0.58
62
+ [07:05:23][ 532s][FT] round 4/6 epoch 1/5 | patches=232 | loss=0.6445
63
+ [07:05:27][ 536s][FT] round 4/6 epoch 2/5 | patches=232 | loss=0.6586
64
+ [07:05:32][ 540s][FT] round 4/6 epoch 3/5 | patches=232 | loss=0.5856
65
+ [07:05:36][ 545s][FT] round 4/6 epoch 4/5 | patches=232 | loss=0.5562
66
+ [07:05:40][ 549s][FT] round 4/6 epoch 5/5 | patches=232 | loss=0.4736
67
+ [07:05:42][ 551s][AL] round 4/6 | labeled=116 | selection_seconds=3.8000 round_seconds=131.4000 pseudo_student_dice=0.6742 pseudo_ensemble_dice=0.6070 consistency_scale=0.5810 val_dice=0.8448 val_vi=0.1761 val_ece=0.0075
68
+ [07:05:45][ 554s][AL] round 5: 536/2222 candidates skipped as agreed-empty (predicted prevalence < 0.005)
69
+ [07:06:38][ 607s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.409, cerebellum=0.640, flywire=0.238, berghia=0.380, microns=0.605, oct-glia=0.820, snemi=0.314, mouse-brain=0.283 | blended with labeled Dice at 0.50
70
+ [07:07:28][ 657s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.657, uniform=0.657, top1=0.656, top2=0.657, top3=0.656 -> using mixture
71
+ [07:07:28][ 657s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (1973658 fg px): c-elegans=0.353, cerebellum=0.514, flywire=0.195, berghia=0.320, microns=0.494, oct-glia=0.656, snemi=0.263, mouse-brain=0.290 | weights: c-elegans=0.007, cerebellum=0.010, flywire=0.000, berghia=0.008, microns=0.009, oct-glia=0.963, snemi=0.001, mouse-brain=0.001
72
+ [07:07:34][ 663s][CONS] round 5: on the 29 new patches student Dice=0.689 vs ensemble 0.631 -> pseudo-labels from the student | consistency x0.63
73
+ [07:07:39][ 668s][FT] round 5/6 epoch 1/5 | patches=290 | loss=0.4823
74
+ [07:07:44][ 673s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.4024
75
+ [07:07:50][ 679s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.4317
76
+ [07:07:55][ 684s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.3859
77
+ [07:08:00][ 689s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.4092
78
+ [07:08:02][ 691s][AL] round 5/6 | labeled=145 | selection_seconds=3.8000 round_seconds=138.5000 pseudo_student_dice=0.6891 pseudo_ensemble_dice=0.6310 consistency_scale=0.6300 val_dice=0.5182 val_vi=0.1551 val_ece=0.0061
79
+ [07:08:05][ 694s][AL] round 6: 551/2193 candidates skipped as agreed-empty (predicted prevalence < 0.005)
80
+ [07:08:59][ 748s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.376, cerebellum=0.625, flywire=0.243, berghia=0.368, microns=0.609, oct-glia=0.861, snemi=0.290, mouse-brain=0.253 | blended with labeled Dice at 0.50
81
+ [07:09:51][ 799s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.682, uniform=0.662, top1=0.682, top2=0.682, top3=0.682 -> using mixture
82
+ [07:09:51][ 799s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (2295762 fg px): c-elegans=0.338, cerebellum=0.514, flywire=0.198, berghia=0.319, microns=0.501, oct-glia=0.682, snemi=0.248, mouse-brain=0.275 | weights: c-elegans=0.005, cerebellum=0.008, flywire=0.000, berghia=0.006, microns=0.008, oct-glia=0.972, snemi=0.000, mouse-brain=0.001
83
+ [07:09:56][ 805s][CONS] round 6: on the 29 new patches student Dice=0.729 vs ensemble 0.557 -> pseudo-labels from the student | consistency x0.76
84
+ [07:10:02][ 811s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.5120
85
+ [07:10:09][ 817s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.4880
86
+ [07:10:15][ 824s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.4572
87
+ [07:10:21][ 830s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.4679
88
+ [07:10:27][ 836s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.4644
89
+ [07:10:29][ 838s][AL] round 6/6 | labeled=174 | selection_seconds=3.6000 round_seconds=145.5000 pseudo_student_dice=0.7290 pseudo_ensemble_dice=0.5568 consistency_scale=0.7630 val_dice=0.8730 val_vi=0.1522 val_ece=0.0088
90
+ [07:10:32][ 841s][CONS] final consolidation: pseudo-labels refreshed from the student
91
+ [07:10:38][ 847s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.3857
92
+ [07:10:45][ 853s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.3635
93
+ [07:10:51][ 860s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.3861
94
+ [07:10:57][ 866s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.3872
95
+ [07:11:03][ 872s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.3739
96
+ [07:11:10][ 879s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.3606
97
+ [07:11:16][ 885s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.3436
98
+ [07:11:23][ 891s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.3332
99
+ [07:11:29][ 898s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.3277
100
+ [07:11:35][ 904s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.3268
101
+ [07:11:37][ 906s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=66.2000 val_dice=0.8848 val_vi=0.1468 val_ece=0.0087
102
+ [07:11:37][ 906s][WEIGHTS] final: c-elegans=0.005, cerebellum=0.008, flywire=0.000, berghia=0.006, microns=0.008, oct-glia=0.972, snemi=0.000, mouse-brain=0.001
103
+ [07:11:47][ 916s][TEST] raw student (no EMA, no TTA): patch_dice=0.8539 patch_vi=0.1791
104
+ [07:11:49][ 918s][TEST] final model without TTA: patch_dice=0.8539 patch_vi=0.1791
105
+ [07:11:49][ 918s][RESOURCES] {"phases": {"setup": {"seconds": 1.13, "peak_cpu_rss_mb": 1027.8, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 25.8, "peak_cpu_rss_mb": 1809.7, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 204.46, "peak_cpu_rss_mb": 2938.7, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 672.49, "peak_cpu_rss_mb": 2938.7, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4626.0, "rounds": 6}, "inference": {"seconds": 12.28, "peak_cpu_rss_mb": 2938.7, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4626.0, "patches": 768, "images": 6, "patches_per_second": 62.5, "seconds_per_image": 2.047}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2938.7, "total_seconds": 916.2}
106
+ [07:11:49][ 918s][TEST] patch_dice=0.8592 patch_iou=0.7973 patch_precision=0.8997 patch_recall=0.8627 patch_vi=0.1753 image_dice=0.7942 image_iou=0.6669 image_precision=0.7997 image_recall=0.7956 image_vi=0.1990 cal_ece=0.0074 cal_nll=0.0770 cal_brier=0.0223 cal_mean_confidence=0.9774 cal_accuracy=0.9701 cal_predicted_prevalence=0.0725 cal_true_prevalence=0.0718 cal_mean_probability=0.0736
107
+ [07:11:49][ 918s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-entropy b5 s2 | test patch Dice=0.8592 VI=0.1753 | image Dice=0.7942 VI=0.1990 | 918s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,776 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-entropy",
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-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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "2",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.09888773316940314,
154
+ 0.02852238358730045,
155
+ 0.006877111295002701,
156
+ 0.14762496137410624,
157
+ 0.031629415990885375,
158
+ 0.6364113152878205,
159
+ 0.01903121486130303,
160
+ 0.03101586443417853
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.09888773316940314,
175
+ 0.02852238358730045,
176
+ 0.006877111295002701,
177
+ 0.14762496137410624,
178
+ 0.031629415990885375,
179
+ 0.6364113152878205,
180
+ 0.01903121486130303,
181
+ 0.03101586443417853
182
+ ],
183
+ "per_source": [
184
+ 0.3196472209911767,
185
+ 0.016524281783989066,
186
+ 0.0007715704214095669,
187
+ 0.17539935780265475,
188
+ 0.02748152710843107,
189
+ 0.4363201963447303,
190
+ 0.016643455180579362,
191
+ 0.00721239036702913
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.00048684441851293454,
205
+ "mmd2_mixture": 0.01275567083190321,
206
+ "mmd2_uniform": 0.09698324592915836,
207
+ "mmd2_single_source": [
208
+ 0.07244541101040552,
209
+ 0.256897395483041,
210
+ 0.3929088032810887,
211
+ 0.05287172109384486,
212
+ 0.26498470596000767,
213
+ 0.011934168264888134,
214
+ 0.339258942897097,
215
+ 0.2684433232010991
216
+ ],
217
+ "median_squared_distance": 0.18344226468067681,
218
+ "gammas": [
219
+ 1.3628266116054668,
220
+ 2.7256532232109336,
221
+ 5.451306446421867,
222
+ 10.902612892843734,
223
+ 21.80522578568747
224
+ ],
225
+ "max_weight": 0.6364113152878205,
226
+ "entropy": 1.2268826413390275,
227
+ "effective_sources": 3.410580943129122,
228
+ "min_weight": 0.006877111295002701
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.0496200334528889,
233
+ 0.42663682749168497,
234
+ 0.8166058321365515,
235
+ 0.12600018979150718,
236
+ 0.3618977926472007,
237
+ 0.01001955344998784,
238
+ 0.4257222632020228,
239
+ 0.5321458020642489
240
+ ],
241
+ "standardized": [
242
+ -1.1548905481172125,
243
+ 0.3263029673133632,
244
+ 1.8583820949064265,
245
+ -0.8548142807860197,
246
+ 0.07196140979373515,
247
+ -1.3104697560349354,
248
+ 0.32270990006354566,
249
+ 0.7408182128610976
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363201963447303,
253
+ "entropy": 1.3076016834873658,
254
+ "effective_sources": 3.6972957848927845,
255
+ "min_weight": 0.0007715704214095669
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4757138324136084,
265
+ 0.6329416506363946,
266
+ 0.14191107641715917,
267
+ 0.4669227387129098,
268
+ 0.7079858630413108,
269
+ 0.8450575342195966,
270
+ 0.2290226697023551,
271
+ 0.11473197497037783
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8487996328814233,
275
+ "mixture@raw": 0.8468783370062004,
276
+ "mixture@logit": 0.8498165961112344,
277
+ "per_source": 0.8430704623597217,
278
+ "per_source@raw": 0.6192918885999461,
279
+ "per_source@logit": 0.8479512470904803,
280
+ "uniform": 0.7183095932451996,
281
+ "uniform@raw": 0.6771602818911759,
282
+ "uniform@logit": 0.8065076510127938
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 3.5461363792419434,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.6364113152878205,
299
+ "entropy": 1.2268826413390275,
300
+ "effective_sources": 3.410580943129122,
301
+ "min_weight": 0.006877111295002701
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": 204.5,
313
+ "round0_val": {
314
+ "val_dice": 0.844188048800421,
315
+ "val_vi": 0.14634638944976133,
316
+ "val_ece": 0.06461472771169184
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 26.9,
323
+ "round_seconds": 129.3,
324
+ "teacher_dice_labeled": [
325
+ 0.2571777942968238,
326
+ 0.5690605504275248,
327
+ 0.1686588604013407,
328
+ 0.2758037194420113,
329
+ 0.5811237001396865,
330
+ 0.7648114620563284,
331
+ 0.10985703762520847,
332
+ 0.20342659662893037
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.7483403957093632,
340
+ "restart_teacher_dice": 0.7648114620563284,
341
+ "weights": [
342
+ 0.0009536063313568787,
343
+ 0.00622160049410085,
344
+ 2.7365280978604556e-05,
345
+ 0.0017150542671718894,
346
+ 0.00778389682673956,
347
+ 0.9830816831898324,
348
+ 4.206174632514249e-05,
349
+ 0.0001747318634946766
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.7646874735949377,
354
+ "uniform": 0.7405359432386459,
355
+ "top1": 0.7648114620563284,
356
+ "top2": 0.7643850371191413,
357
+ "top3": 0.7646318754401064
358
+ },
359
+ "val_dice": 0.850588566843053,
360
+ "val_vi": 0.15020738136525003,
361
+ "val_ece": 0.019654480413019926
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 3.7,
367
+ "round_seconds": 23.9,
368
+ "teacher_dice_labeled": [
369
+ 0.3051898457957521,
370
+ 0.43829723274180427,
371
+ 0.1662645122120252,
372
+ 0.2748940361871823,
373
+ 0.4567545091150516,
374
+ 0.5777898396180228,
375
+ 0.18661986847273826,
376
+ 0.28953794592991694
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 666295,
380
+ "evidence_nonempty_patches": 49,
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.5780045228581705,
396
+ "uniform": 0.5900107461950028,
397
+ "top1": 0.5777898396180228,
398
+ "top2": 0.5769733017351059,
399
+ "top3": 0.5772074201516861
400
+ },
401
+ "pseudo_student_dice": 0.5266264913726709,
402
+ "pseudo_ensemble_dice": 0.5198939717868823,
403
+ "pseudo_source": "ensemble",
404
+ "consistency_scale": 1.0,
405
+ "val_dice": 0.8430299891923164,
406
+ "val_vi": 0.17334322904515395,
407
+ "val_ece": 0.011880019773361832
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 3.9,
413
+ "round_seconds": 26.9,
414
+ "teacher_dice_labeled": [
415
+ 0.256554203215484,
416
+ 0.3584625882888147,
417
+ 0.14446923270617784,
418
+ 0.21940902140115776,
419
+ 0.3404308510983355,
420
+ 0.423359355028126,
421
+ 0.24896099647764894,
422
+ 0.28709608031045697
423
+ ],
424
+ "teacher_dice_pool": null,
425
+ "evidence_fg_pixels": 1340584,
426
+ "evidence_nonempty_patches": 77,
427
+ "first_correction": false,
428
+ "restart": "",
429
+ "weights": [
430
+ 0.125,
431
+ 0.125,
432
+ 0.125,
433
+ 0.125,
434
+ 0.125,
435
+ 0.125,
436
+ 0.125,
437
+ 0.125
438
+ ],
439
+ "ensemble_choice": "uniform",
440
+ "candidate_dice": {
441
+ "mixture": 0.42523293426148684,
442
+ "uniform": 0.4468307673264077,
443
+ "top1": 0.423359355028126,
444
+ "top2": 0.42387354326914495,
445
+ "top3": 0.42262162899245326
446
+ },
447
+ "pseudo_student_dice": 0.48432161207532876,
448
+ "pseudo_ensemble_dice": 0.2509745273916862,
449
+ "pseudo_source": "student",
450
+ "consistency_scale": 0.0,
451
+ "val_dice": 0.7727355398927459,
452
+ "val_vi": 0.17261770973435211,
453
+ "val_ece": 0.019825972598603598
454
+ },
455
+ {
456
+ "round": 4,
457
+ "n_labeled": 116,
458
+ "selection_seconds": 3.8,
459
+ "round_seconds": 131.4,
460
+ "teacher_dice_labeled": [
461
+ 0.2936284700962486,
462
+ 0.4555138797855507,
463
+ 0.1916935869025312,
464
+ 0.28483595860735256,
465
+ 0.4645854181906192,
466
+ 0.6302061070335462,
467
+ 0.22524482639783452,
468
+ 0.24801376422596666
469
+ ],
470
+ "teacher_dice_pool": [
471
+ 0.2856535313876258,
472
+ 0.5207219061423793,
473
+ 0.2336147684929623,
474
+ 0.3149336309940731,
475
+ 0.5542851398624332,
476
+ 0.7928285164628092,
477
+ 0.21995953296421208,
478
+ 0.1900572617220739
479
+ ],
480
+ "evidence_fg_pixels": 1701624,
481
+ "evidence_nonempty_patches": 105,
482
+ "first_correction": false,
483
+ "restart": "",
484
+ "weights": [
485
+ 0.005201196091910545,
486
+ 0.007571920116834874,
487
+ 0.000130517662110731,
488
+ 0.007111074208082487,
489
+ 0.009194086198533695,
490
+ 0.9692522174719312,
491
+ 0.0005051739265953853,
492
+ 0.0010338143240010826
493
+ ],
494
+ "ensemble_choice": "mixture",
495
+ "candidate_dice": {
496
+ "mixture": 0.6304836448276889,
497
+ "uniform": 0.5866893800713544,
498
+ "top1": 0.6302061070335462,
499
+ "top2": 0.6301844454387036,
500
+ "top3": 0.6303030425059223
501
+ },
502
+ "pseudo_student_dice": 0.6741909994732245,
503
+ "pseudo_ensemble_dice": 0.6069983324752639,
504
+ "pseudo_source": "student",
505
+ "consistency_scale": 0.581,
506
+ "val_dice": 0.8447836167150625,
507
+ "val_vi": 0.17608145575249626,
508
+ "val_ece": 0.007456402815686945
509
+ },
510
+ {
511
+ "round": 5,
512
+ "n_labeled": 145,
513
+ "selection_seconds": 3.8,
514
+ "round_seconds": 138.5,
515
+ "teacher_dice_labeled": [
516
+ 0.3525403253235777,
517
+ 0.5143178603488624,
518
+ 0.19521558185516774,
519
+ 0.32040272699958583,
520
+ 0.4937034634276607,
521
+ 0.6562794950132421,
522
+ 0.26321708956655626,
523
+ 0.28986782022526414
524
+ ],
525
+ "teacher_dice_pool": [
526
+ 0.4086587040387924,
527
+ 0.6404567254485388,
528
+ 0.2383637366387085,
529
+ 0.38032477471780685,
530
+ 0.6049985309865628,
531
+ 0.8196890401954791,
532
+ 0.3140789070656653,
533
+ 0.28254675899248766
534
+ ],
535
+ "evidence_fg_pixels": 1973658,
536
+ "evidence_nonempty_patches": 133,
537
+ "first_correction": false,
538
+ "restart": "",
539
+ "weights": [
540
+ 0.007178796284775949,
541
+ 0.010439649829683862,
542
+ 0.00010352913395009788,
543
+ 0.007771362881353382,
544
+ 0.009420286261216514,
545
+ 0.9633177306284751,
546
+ 0.0005655224320038362,
547
+ 0.001203122548541244
548
+ ],
549
+ "ensemble_choice": "mixture",
550
+ "candidate_dice": {
551
+ "mixture": 0.6567929858161429,
552
+ "uniform": 0.656789974783481,
553
+ "top1": 0.6562794950132421,
554
+ "top2": 0.6567521716447765,
555
+ "top3": 0.6561504363680574
556
+ },
557
+ "pseudo_student_dice": 0.6890727445515457,
558
+ "pseudo_ensemble_dice": 0.6309668156812759,
559
+ "pseudo_source": "student",
560
+ "consistency_scale": 0.63,
561
+ "val_dice": 0.5182098282101325,
562
+ "val_vi": 0.15514475495746,
563
+ "val_ece": 0.006062149701860885
564
+ },
565
+ {
566
+ "round": 6,
567
+ "n_labeled": 174,
568
+ "selection_seconds": 3.6,
569
+ "round_seconds": 145.5,
570
+ "teacher_dice_labeled": [
571
+ 0.337566897659429,
572
+ 0.5141171511256178,
573
+ 0.19790145540894027,
574
+ 0.31851610101400474,
575
+ 0.5005018480617079,
576
+ 0.6817950271148931,
577
+ 0.24806949112657262,
578
+ 0.27509876690905666
579
+ ],
580
+ "teacher_dice_pool": [
581
+ 0.3757462025226483,
582
+ 0.6248672855702827,
583
+ 0.2432417622493409,
584
+ 0.3677013462721566,
585
+ 0.6094810118682077,
586
+ 0.8612422762866326,
587
+ 0.28957574781839723,
588
+ 0.2533942182588554
589
+ ],
590
+ "evidence_fg_pixels": 2295762,
591
+ "evidence_nonempty_patches": 158,
592
+ "first_correction": false,
593
+ "restart": "",
594
+ "weights": [
595
+ 0.004831314409281969,
596
+ 0.008144355165130322,
597
+ 8.313226695241612e-05,
598
+ 0.00596137055309223,
599
+ 0.007881911449567177,
600
+ 0.9719066277004534,
601
+ 0.00037993306747879105,
602
+ 0.0008113553880436958
603
+ ],
604
+ "ensemble_choice": "mixture",
605
+ "candidate_dice": {
606
+ "mixture": 0.6821446395117668,
607
+ "uniform": 0.6616735807081089,
608
+ "top1": 0.6817950271148931,
609
+ "top2": 0.6820726476890172,
610
+ "top3": 0.6817917541113985
611
+ },
612
+ "pseudo_student_dice": 0.7289755472355686,
613
+ "pseudo_ensemble_dice": 0.5567674137146332,
614
+ "pseudo_source": "student",
615
+ "consistency_scale": 0.763,
616
+ "val_dice": 0.872970073630813,
617
+ "val_vi": 0.1522411484043612,
618
+ "val_ece": 0.008795662186711174
619
+ },
620
+ {
621
+ "round": 7,
622
+ "n_labeled": 174,
623
+ "selection_seconds": 0.0,
624
+ "round_seconds": 66.2,
625
+ "final_consolidation": true,
626
+ "val_dice": 0.8847641017050304,
627
+ "val_vi": 0.14680541323636923,
628
+ "val_ece": 0.008719392809047056
629
+ }
630
+ ],
631
+ "uncertainty_quality": {
632
+ "spearman_uncertainty_error": 0.4491343304947581,
633
+ "auroc_top20_error": 0.6088995155171626
634
+ },
635
+ "al_seconds": 672.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.004831314409281969,
648
+ 0.008144355165130322,
649
+ 8.313226695241612e-05,
650
+ 0.00596137055309223,
651
+ 0.007881911449567177,
652
+ 0.9719066277004534,
653
+ 0.00037993306747879105,
654
+ 0.0008113553880436958
655
+ ],
656
+ "weight_stats_final": {
657
+ "max_weight": 0.9719066277004534,
658
+ "entropy": 0.17089436807831188,
659
+ "effective_sources": 1.1863654243430872,
660
+ "min_weight": 8.313226695241612e-05
661
+ },
662
+ "top_source_final": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
663
+ "ensemble_choice_final": "",
664
+ "restart": "kept",
665
+ "test_raw_student": {
666
+ "patch_dice": 0.8539403069986387,
667
+ "patch_iou": 0.7897468209479852,
668
+ "patch_precision": 0.8916481287479515,
669
+ "patch_recall": 0.8602379909823856,
670
+ "patch_vi": 0.17912111520513588,
671
+ "n_patches": 768,
672
+ "cal_ece": 0.010201323030848362,
673
+ "cal_nll": 0.08445373201829658,
674
+ "cal_brier": 0.023090665519235807,
675
+ "cal_mean_confidence": 0.9794432489222348,
676
+ "cal_accuracy": 0.9692433675130209,
677
+ "cal_predicted_prevalence": 0.07187652587890625,
678
+ "cal_true_prevalence": 0.07175954182942708,
679
+ "cal_mean_probability": 0.0721161566746557
680
+ },
681
+ "test_notta": {
682
+ "patch_dice": 0.8539403069986387,
683
+ "patch_iou": 0.7897468209479852,
684
+ "patch_precision": 0.8916481287479515,
685
+ "patch_recall": 0.8602379909823856,
686
+ "patch_vi": 0.17912111520513588,
687
+ "n_patches": 768,
688
+ "cal_ece": 0.010201323030848362,
689
+ "cal_nll": 0.08445373201829658,
690
+ "cal_brier": 0.023090665519235807,
691
+ "cal_mean_confidence": 0.9794432489222348,
692
+ "cal_accuracy": 0.9692433675130209,
693
+ "cal_predicted_prevalence": 0.07187652587890625,
694
+ "cal_true_prevalence": 0.07175954182942708,
695
+ "cal_mean_probability": 0.0721161566746557
696
+ },
697
+ "test": {
698
+ "patch_dice": 0.8591772266029952,
699
+ "patch_iou": 0.7973100976285888,
700
+ "patch_precision": 0.8997360376998985,
701
+ "patch_recall": 0.8626797510061494,
702
+ "patch_vi": 0.17529183800507697,
703
+ "n_patches": 768,
704
+ "image_dice": 0.794234595546598,
705
+ "image_iou": 0.6669425716713131,
706
+ "image_precision": 0.7997486828309645,
707
+ "image_recall": 0.7956493079051613,
708
+ "image_vi": 0.19896338686997997,
709
+ "n_images": 6,
710
+ "cal_ece": 0.0073982110200828165,
711
+ "cal_nll": 0.07701464436765242,
712
+ "cal_brier": 0.022278359769095674,
713
+ "cal_mean_confidence": 0.9774351348043228,
714
+ "cal_accuracy": 0.9700902303059896,
715
+ "cal_predicted_prevalence": 0.07253519694010417,
716
+ "cal_true_prevalence": 0.07175954182942708,
717
+ "cal_mean_probability": 0.07355339704691839
718
+ },
719
+ "eval_seconds": 12.3,
720
+ "total_seconds": 917.8,
721
+ "resources": {
722
+ "phases": {
723
+ "setup": {
724
+ "seconds": 1.13,
725
+ "peak_cpu_rss_mb": 1027.8,
726
+ "peak_gpu_alloc_mb": 1066.3,
727
+ "peak_gpu_reserved_mb": 1086.0
728
+ },
729
+ "features_and_weights": {
730
+ "seconds": 25.8,
731
+ "peak_cpu_rss_mb": 1809.7,
732
+ "peak_gpu_alloc_mb": 2820.1,
733
+ "peak_gpu_reserved_mb": 3212.0
734
+ },
735
+ "distillation": {
736
+ "seconds": 204.46,
737
+ "peak_cpu_rss_mb": 2938.7,
738
+ "peak_gpu_alloc_mb": 4303.7,
739
+ "peak_gpu_reserved_mb": 4618.0,
740
+ "kd_epochs": 5
741
+ },
742
+ "active_learning": {
743
+ "seconds": 672.49,
744
+ "peak_cpu_rss_mb": 2938.7,
745
+ "peak_gpu_alloc_mb": 4424.0,
746
+ "peak_gpu_reserved_mb": 4626.0,
747
+ "rounds": 6
748
+ },
749
+ "inference": {
750
+ "seconds": 12.28,
751
+ "peak_cpu_rss_mb": 2938.7,
752
+ "peak_gpu_alloc_mb": 2623.4,
753
+ "peak_gpu_reserved_mb": 4626.0,
754
+ "patches": 768,
755
+ "images": 6,
756
+ "patches_per_second": 62.5,
757
+ "seconds_per_image": 2.047
758
+ }
759
+ },
760
+ "peak_gpu_alloc_mb": 4424.0,
761
+ "peak_cpu_rss_mb": 2938.7,
762
+ "total_seconds": 916.2
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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-entropy_b5_s2.pth"
776
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/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,29,26.9,129.3,"[0.2571777942968238, 0.5690605504275248, 0.1686588604013407, 0.2758037194420113, 0.5811237001396865, 0.7648114620563284, 0.10985703762520847, 0.20342659662893037]",,179039,21,True,kept,0.7483403957093632,0.7648114620563284,"[0.0009536063313568787, 0.00622160049410085, 2.7365280978604556e-05, 0.0017150542671718894, 0.00778389682673956, 0.9830816831898324, 4.206174632514249e-05, 0.0001747318634946766]",mixture,"{'mixture': 0.7646874735949377, 'uniform': 0.7405359432386459, 'top1': 0.7648114620563284, 'top2': 0.7643850371191413, 'top3': 0.7646318754401064}",0.850588566843053,0.15020738136525003,0.019654480413019926,,,,,
3
+ 2,58,3.7,23.9,"[0.3051898457957521, 0.43829723274180427, 0.1662645122120252, 0.2748940361871823, 0.4567545091150516, 0.5777898396180228, 0.18661986847273826, 0.28953794592991694]",,666295,49,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.5780045228581705, 'uniform': 0.5900107461950028, 'top1': 0.5777898396180228, 'top2': 0.5769733017351059, 'top3': 0.5772074201516861}",0.8430299891923164,0.17334322904515395,0.011880019773361832,0.5266264913726709,0.5198939717868823,ensemble,1.0,
4
+ 3,87,3.9,26.9,"[0.256554203215484, 0.3584625882888147, 0.14446923270617784, 0.21940902140115776, 0.3404308510983355, 0.423359355028126, 0.24896099647764894, 0.28709608031045697]",,1340584,77,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.42523293426148684, 'uniform': 0.4468307673264077, 'top1': 0.423359355028126, 'top2': 0.42387354326914495, 'top3': 0.42262162899245326}",0.7727355398927459,0.17261770973435211,0.019825972598603598,0.48432161207532876,0.2509745273916862,student,0.0,
5
+ 4,116,3.8,131.4,"[0.2936284700962486, 0.4555138797855507, 0.1916935869025312, 0.28483595860735256, 0.4645854181906192, 0.6302061070335462, 0.22524482639783452, 0.24801376422596666]","[0.2856535313876258, 0.5207219061423793, 0.2336147684929623, 0.3149336309940731, 0.5542851398624332, 0.7928285164628092, 0.21995953296421208, 0.1900572617220739]",1701624,105,False,,,,"[0.005201196091910545, 0.007571920116834874, 0.000130517662110731, 0.007111074208082487, 0.009194086198533695, 0.9692522174719312, 0.0005051739265953853, 0.0010338143240010826]",mixture,"{'mixture': 0.6304836448276889, 'uniform': 0.5866893800713544, 'top1': 0.6302061070335462, 'top2': 0.6301844454387036, 'top3': 0.6303030425059223}",0.8447836167150625,0.17608145575249626,0.007456402815686945,0.6741909994732245,0.6069983324752639,student,0.581,
6
+ 5,145,3.8,138.5,"[0.3525403253235777, 0.5143178603488624, 0.19521558185516774, 0.32040272699958583, 0.4937034634276607, 0.6562794950132421, 0.26321708956655626, 0.28986782022526414]","[0.4086587040387924, 0.6404567254485388, 0.2383637366387085, 0.38032477471780685, 0.6049985309865628, 0.8196890401954791, 0.3140789070656653, 0.28254675899248766]",1973658,133,False,,,,"[0.007178796284775949, 0.010439649829683862, 0.00010352913395009788, 0.007771362881353382, 0.009420286261216514, 0.9633177306284751, 0.0005655224320038362, 0.001203122548541244]",mixture,"{'mixture': 0.6567929858161429, 'uniform': 0.656789974783481, 'top1': 0.6562794950132421, 'top2': 0.6567521716447765, 'top3': 0.6561504363680574}",0.5182098282101325,0.15514475495746,0.006062149701860885,0.6890727445515457,0.6309668156812759,student,0.63,
7
+ 6,174,3.6,145.5,"[0.337566897659429, 0.5141171511256178, 0.19790145540894027, 0.31851610101400474, 0.5005018480617079, 0.6817950271148931, 0.24806949112657262, 0.27509876690905666]","[0.3757462025226483, 0.6248672855702827, 0.2432417622493409, 0.3677013462721566, 0.6094810118682077, 0.8612422762866326, 0.28957574781839723, 0.2533942182588554]",2295762,158,False,,,,"[0.004831314409281969, 0.008144355165130322, 8.313226695241612e-05, 0.00596137055309223, 0.007881911449567177, 0.9719066277004534, 0.00037993306747879105, 0.0008113553880436958]",mixture,"{'mixture': 0.6821446395117668, 'uniform': 0.6616735807081089, 'top1': 0.6817950271148931, 'top2': 0.6820726476890172, 'top3': 0.6817917541113985}",0.872970073630813,0.1522411484043612,0.008795662186711174,0.7289755472355686,0.5567674137146332,student,0.763,
8
+ 7,174,0.0,66.2,,,,,,,,,,,,0.8847641017050304,0.14680541323636923,0.008719392809047056,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [05:42:29][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-laplace budget=5.0% seed=2 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "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": 5, "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
+ [05:42:29][ 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:42:29][ 0s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [05:42:30][ 1s][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.08
5
+ [05:42:30][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [05:42:36][ 7s][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:42:36][ 7s][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:42:55][ 26s][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:42:55][ 26s][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:42:55][ 26s][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:42:55][ 26s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [05:42:56][ 27s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [05:42:56][ 27s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [05:43:37][ 68s][KD] soft labels for 3584 patches from 8 teachers in 41s
15
+ [05:44:09][ 100s][KD] epoch 1/5 | patches=3584 | loss=0.5967 | 32s
16
+ [05:44:40][ 131s][KD] epoch 2/5 | patches=3584 | loss=0.4536 | 31s
17
+ [05:45:11][ 162s][KD] epoch 3/5 | patches=3584 | loss=0.4007 | 31s
18
+ [05:45:42][ 193s][KD] epoch 4/5 | patches=3584 | loss=0.3637 | 31s
19
+ [05:46:14][ 225s][KD] epoch 5/5 | patches=3584 | loss=0.3392 | 32s
20
+ [05:46:15][ 227s][ROUND0] before any target label: val_dice=0.8527 val_vi=0.1456
21
+ [05:46:15][ 227s][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
+ [05:46:23][ 235s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': 0.4468831233044695, 'auroc_top20_error': 0.618147538735774}
23
+ [05:46:46][ 258s][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:46:49][ 261s][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
+ [05:46:50][ 261s][WEIGHTS] round 1: student kept (labeled Dice 0.760 vs best teacher oct-glia 0.765); distilling the corrected ensemble into it
26
+ [05:46:50][ 261s][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
+ [05:47:16][ 288s][KD] soft labels for 2309 patches from 8 teachers in 26s
28
+ [05:47:37][ 308s][KD] epoch 1/2 | patches=2309 | loss=0.1388 | 21s
29
+ [05:47:58][ 329s][KD] epoch 2/2 | patches=2309 | loss=0.1333 | 21s
30
+ [05:48:21][ 352s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [05:48:22][ 354s][FT] round 1/6 epoch 1/5 | patches=58 | loss=0.8715
32
+ [05:48:24][ 355s][FT] round 1/6 epoch 2/5 | patches=58 | loss=0.5653
33
+ [05:48:25][ 357s][FT] round 1/6 epoch 3/5 | patches=58 | loss=0.5161
34
+ [05:48:27][ 358s][FT] round 1/6 epoch 4/5 | patches=58 | loss=0.5170
35
+ [05:48:28][ 360s][FT] round 1/6 epoch 5/5 | patches=58 | loss=0.4795
36
+ [05:48:30][ 361s][AL] round 1/6 | labeled=29 | selection_seconds=30.9000 round_seconds=132.8000 restart_student_dice=0.7603 restart_teacher_dice=0.7648 val_dice=0.8582 val_vi=0.1520 val_ece=0.0197
37
+ [05:48:37][ 368s][AL] round 2: 590/2309 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [05:48:43][ 374s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.598, uniform=0.658, top1=0.599, top2=0.597, top3=0.597 -> using uniform
39
+ [05:48:43][ 374s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (638880 fg px): c-elegans=0.359, cerebellum=0.528, flywire=0.175, berghia=0.310, microns=0.562, oct-glia=0.599, snemi=0.177, mouse-brain=0.325 | 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:48:49][ 380s][CONS] round 2: on the 29 new patches student Dice=0.661 vs ensemble 0.616 -> pseudo-labels from the student | consistency x0.54
41
+ [05:48:51][ 383s][FT] round 2/6 epoch 1/5 | patches=116 | loss=0.5240
42
+ [05:48:54][ 385s][FT] round 2/6 epoch 2/5 | patches=116 | loss=0.5249
43
+ [05:48:56][ 387s][FT] round 2/6 epoch 3/5 | patches=116 | loss=0.4267
44
+ [05:48:58][ 390s][FT] round 2/6 epoch 4/5 | patches=116 | loss=0.4202
45
+ [05:49:01][ 392s][FT] round 2/6 epoch 5/5 | patches=116 | loss=0.4486
46
+ [05:49:02][ 393s][AL] round 2/6 | labeled=58 | selection_seconds=7.5000 round_seconds=30.8000 pseudo_student_dice=0.6608 pseudo_ensemble_dice=0.6160 consistency_scale=0.5360 val_dice=0.8519 val_vi=0.1695 val_ece=0.0174
47
+ [05:49:09][ 401s][AL] round 3: 567/2280 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [05:50:00][ 451s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.433, cerebellum=0.661, flywire=0.229, berghia=0.388, microns=0.577, oct-glia=0.797, snemi=0.336, mouse-brain=0.309 | blended with labeled Dice at 0.50
49
+ [05:50:47][ 498s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.708, uniform=0.708, top1=0.708, top2=0.709, top3=0.708 -> using mixture
50
+ [05:50:47][ 498s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (816708 fg px): c-elegans=0.355, cerebellum=0.544, flywire=0.200, berghia=0.336, microns=0.539, oct-glia=0.708, snemi=0.247, mouse-brain=0.285 | weights: c-elegans=0.004, cerebellum=0.008, flywire=0.000, berghia=0.005, microns=0.009, oct-glia=0.972, snemi=0.000, mouse-brain=0.001
51
+ [05:50:50][ 501s][CONS] round 3: on the 29 new patches student Dice=0.542 vs ensemble 0.682 -> pseudo-labels from the ensemble | consistency x1.00
52
+ [05:50:53][ 505s][FT] round 3/6 epoch 1/5 | patches=174 | loss=0.5448
53
+ [05:50:57][ 508s][FT] round 3/6 epoch 2/5 | patches=174 | loss=0.5017
54
+ [05:51:00][ 511s][FT] round 3/6 epoch 3/5 | patches=174 | loss=0.5088
55
+ [05:51:04][ 515s][FT] round 3/6 epoch 4/5 | patches=174 | loss=0.4270
56
+ [05:51:07][ 518s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.4082
57
+ [05:51:08][ 520s][AL] round 3/6 | labeled=87 | selection_seconds=7.6000 round_seconds=124.8000 pseudo_student_dice=0.5422 pseudo_ensemble_dice=0.6818 consistency_scale=1.0000 val_dice=0.8693 val_vi=0.1472 val_ece=0.0117
58
+ [05:51:16][ 527s][AL] round 4: 584/2251 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [05:51:26][ 538s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.472, uniform=0.491, top1=0.471, top2=0.470, top3=0.470 -> using uniform
60
+ [05:51:26][ 538s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (1509201 fg px): c-elegans=0.281, cerebellum=0.374, flywire=0.150, berghia=0.245, microns=0.402, oct-glia=0.471, snemi=0.209, mouse-brain=0.290 | 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
61
+ [05:51:32][ 544s][CONS] round 4: on the 29 new patches student Dice=0.526 vs ensemble 0.265 -> pseudo-labels from the student | consistency x0.09
62
+ [05:51:36][ 548s][FT] round 4/6 epoch 1/5 | patches=232 | loss=0.6832
63
+ [05:51:41][ 552s][FT] round 4/6 epoch 2/5 | patches=232 | loss=0.9581
64
+ [05:51:45][ 556s][FT] round 4/6 epoch 3/5 | patches=232 | loss=0.5798
65
+ [05:51:49][ 561s][FT] round 4/6 epoch 4/5 | patches=232 | loss=0.3980
66
+ [05:51:54][ 565s][FT] round 4/6 epoch 5/5 | patches=232 | loss=0.4769
67
+ [05:51:55][ 567s][AL] round 4/6 | labeled=116 | selection_seconds=7.6000 round_seconds=45.4000 pseudo_student_dice=0.5262 pseudo_ensemble_dice=0.2655 consistency_scale=0.0870 val_dice=0.8838 val_vi=0.1529 val_ece=0.0111
68
+ [05:52:03][ 574s][AL] round 5: 569/2222 candidates skipped as agreed-empty (predicted prevalence < 0.005)
69
+ [05:52:55][ 627s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.420, cerebellum=0.661, flywire=0.239, berghia=0.388, microns=0.594, oct-glia=0.833, snemi=0.317, mouse-brain=0.291 | blended with labeled Dice at 0.50
70
+ [05:53:45][ 676s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.657, uniform=0.667, top1=0.656, top2=0.657, top3=0.656 -> using uniform
71
+ [05:53:45][ 676s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (1935317 fg px): c-elegans=0.358, cerebellum=0.529, flywire=0.197, berghia=0.324, microns=0.497, oct-glia=0.656, snemi=0.265, mouse-brain=0.294 | 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
72
+ [05:53:51][ 682s][CONS] round 5: on the 29 new patches student Dice=0.723 vs ensemble 0.558 -> pseudo-labels from the student | consistency x0.74
73
+ [05:53:56][ 687s][FT] round 5/6 epoch 1/5 | patches=290 | loss=0.5566
74
+ [05:54:01][ 693s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.5073
75
+ [05:54:07][ 698s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.4316
76
+ [05:54:12][ 703s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.4643
77
+ [05:54:17][ 709s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.6065
78
+ [05:54:19][ 710s][AL] round 5/6 | labeled=145 | selection_seconds=7.4000 round_seconds=141.9000 pseudo_student_dice=0.7225 pseudo_ensemble_dice=0.5582 consistency_scale=0.7420 val_dice=0.8797 val_vi=0.1583 val_ece=0.0099
79
+ [05:54:26][ 717s][AL] round 6: 561/2193 candidates skipped as agreed-empty (predicted prevalence < 0.005)
80
+ [05:55:20][ 772s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.419, cerebellum=0.654, flywire=0.238, berghia=0.389, microns=0.593, oct-glia=0.826, snemi=0.320, mouse-brain=0.293 | blended with labeled Dice at 0.50
81
+ [05:56:11][ 823s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.665, uniform=0.674, top1=0.664, top2=0.665, top3=0.664 -> using uniform
82
+ [05:56:11][ 823s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (2258511 fg px): c-elegans=0.360, cerebellum=0.536, flywire=0.199, berghia=0.334, microns=0.501, oct-glia=0.664, snemi=0.265, mouse-brain=0.294 | 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
83
+ [05:56:17][ 828s][CONS] round 6: on the 29 new patches student Dice=0.767 vs ensemble 0.632 -> pseudo-labels from the student | consistency x0.89
84
+ [05:56:23][ 835s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.5293
85
+ [05:56:29][ 841s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.4097
86
+ [05:56:36][ 847s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.3725
87
+ [05:56:42][ 853s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.3776
88
+ [05:56:48][ 860s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.3708
89
+ [05:56:50][ 861s][AL] round 6/6 | labeled=174 | selection_seconds=7.5000 round_seconds=149.7000 pseudo_student_dice=0.7673 pseudo_ensemble_dice=0.6316 consistency_scale=0.8910 val_dice=0.8887 val_vi=0.1513 val_ece=0.0094
90
+ [05:56:53][ 864s][CONS] final consolidation: pseudo-labels refreshed from the student
91
+ [05:57:00][ 871s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.3354
92
+ [05:57:06][ 877s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.3671
93
+ [05:57:12][ 884s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.4036
94
+ [05:57:18][ 890s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.4250
95
+ [05:57:25][ 896s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.3658
96
+ [05:57:31][ 903s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.3438
97
+ [05:57:37][ 909s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.3156
98
+ [05:57:44][ 915s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.3556
99
+ [05:57:50][ 921s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.3240
100
+ [05:57:56][ 928s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.3354
101
+ [05:57:58][ 929s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=66.3000 val_dice=0.8887 val_vi=0.1468 val_ece=0.0108
102
+ [05:57:58][ 929s][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
103
+ [05:58:08][ 940s][TEST] raw student (no EMA, no TTA): patch_dice=0.8648 patch_vi=0.1775
104
+ [05:58:10][ 941s][TEST] final model without TTA: patch_dice=0.8648 patch_vi=0.1775
105
+ [05:58:10][ 941s][RESOURCES] {"phases": {"setup": {"seconds": 1.14, "peak_cpu_rss_mb": 1027.2, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 25.95, "peak_cpu_rss_mb": 1808.4, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 197.94, "peak_cpu_rss_mb": 2938.2, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 702.31, "peak_cpu_rss_mb": 2938.2, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4626.0, "rounds": 6}, "inference": {"seconds": 12.0, "peak_cpu_rss_mb": 2938.2, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4626.0, "patches": 768, "images": 6, "patches_per_second": 64.0, "seconds_per_image": 2.0}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2938.2, "total_seconds": 939.3}
106
+ [05:58:10][ 941s][TEST] patch_dice=0.8647 patch_iou=0.8033 patch_precision=0.9035 patch_recall=0.8667 patch_vi=0.1753 image_dice=0.7921 image_iou=0.6652 image_precision=0.7986 image_recall=0.7938 image_vi=0.1992 cal_ece=0.0066 cal_nll=0.0771 cal_brier=0.0219 cal_mean_confidence=0.9765 cal_accuracy=0.9701 cal_predicted_prevalence=0.0729 cal_true_prevalence=0.0718 cal_mean_probability=0.0727
107
+ [05:58:10][ 941s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-laplace b5 s2 | test patch Dice=0.8647 VI=0.1753 | image Dice=0.7921 VI=0.1992 | 941s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,776 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-laplace",
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-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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "2",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.09888773316940314,
154
+ 0.02852238358730045,
155
+ 0.006877111295002701,
156
+ 0.14762496137410624,
157
+ 0.031629415990885375,
158
+ 0.6364113152878205,
159
+ 0.01903121486130303,
160
+ 0.03101586443417853
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.09888773316940314,
175
+ 0.02852238358730045,
176
+ 0.006877111295002701,
177
+ 0.14762496137410624,
178
+ 0.031629415990885375,
179
+ 0.6364113152878205,
180
+ 0.01903121486130303,
181
+ 0.03101586443417853
182
+ ],
183
+ "per_source": [
184
+ 0.3196472209911767,
185
+ 0.016524281783989066,
186
+ 0.0007715704214095669,
187
+ 0.17539935780265475,
188
+ 0.02748152710843107,
189
+ 0.4363201963447303,
190
+ 0.016643455180579362,
191
+ 0.00721239036702913
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.00048684441851293454,
205
+ "mmd2_mixture": 0.01275567083190321,
206
+ "mmd2_uniform": 0.09698324592915836,
207
+ "mmd2_single_source": [
208
+ 0.07244541101040552,
209
+ 0.256897395483041,
210
+ 0.3929088032810887,
211
+ 0.05287172109384486,
212
+ 0.26498470596000767,
213
+ 0.011934168264888134,
214
+ 0.339258942897097,
215
+ 0.2684433232010991
216
+ ],
217
+ "median_squared_distance": 0.18344226468067681,
218
+ "gammas": [
219
+ 1.3628266116054668,
220
+ 2.7256532232109336,
221
+ 5.451306446421867,
222
+ 10.902612892843734,
223
+ 21.80522578568747
224
+ ],
225
+ "max_weight": 0.6364113152878205,
226
+ "entropy": 1.2268826413390275,
227
+ "effective_sources": 3.410580943129122,
228
+ "min_weight": 0.006877111295002701
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.0496200334528889,
233
+ 0.42663682749168497,
234
+ 0.8166058321365515,
235
+ 0.12600018979150718,
236
+ 0.3618977926472007,
237
+ 0.01001955344998784,
238
+ 0.4257222632020228,
239
+ 0.5321458020642489
240
+ ],
241
+ "standardized": [
242
+ -1.1548905481172125,
243
+ 0.3263029673133632,
244
+ 1.8583820949064265,
245
+ -0.8548142807860197,
246
+ 0.07196140979373515,
247
+ -1.3104697560349354,
248
+ 0.32270990006354566,
249
+ 0.7408182128610976
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363201963447303,
253
+ "entropy": 1.3076016834873658,
254
+ "effective_sources": 3.6972957848927845,
255
+ "min_weight": 0.0007715704214095669
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4757138324136084,
265
+ 0.6329416506363946,
266
+ 0.14191107641715917,
267
+ 0.4669227387129098,
268
+ 0.7079858630413108,
269
+ 0.8450575342195966,
270
+ 0.2290226697023551,
271
+ 0.11473197497037783
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8487996328814233,
275
+ "mixture@raw": 0.8468783370062004,
276
+ "mixture@logit": 0.8498165961112344,
277
+ "per_source": 0.8430704623597217,
278
+ "per_source@raw": 0.6192918885999461,
279
+ "per_source@logit": 0.8479512470904803,
280
+ "uniform": 0.7183095932451996,
281
+ "uniform@raw": 0.6771602818911759,
282
+ "uniform@logit": 0.8065076510127938
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 3.5461363792419434,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.6364113152878205,
299
+ "entropy": 1.2268826413390275,
300
+ "effective_sources": 3.410580943129122,
301
+ "min_weight": 0.006877111295002701
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": 197.9,
313
+ "round0_val": {
314
+ "val_dice": 0.8527240517674085,
315
+ "val_vi": 0.1455715366868596,
316
+ "val_ece": 0.06194851765646773
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 30.9,
323
+ "round_seconds": 132.8,
324
+ "teacher_dice_labeled": [
325
+ 0.2571777942968238,
326
+ 0.5690605504275248,
327
+ 0.1686588604013407,
328
+ 0.2758037194420113,
329
+ 0.5811237001396865,
330
+ 0.7648114620563284,
331
+ 0.10985703762520847,
332
+ 0.20342659662893037
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.7603000274646353,
340
+ "restart_teacher_dice": 0.7648114620563284,
341
+ "weights": [
342
+ 0.0009536063313568787,
343
+ 0.00622160049410085,
344
+ 2.7365280978604556e-05,
345
+ 0.0017150542671718894,
346
+ 0.00778389682673956,
347
+ 0.9830816831898324,
348
+ 4.206174632514249e-05,
349
+ 0.0001747318634946766
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.7646874735949377,
354
+ "uniform": 0.7405359432386459,
355
+ "top1": 0.7648114620563284,
356
+ "top2": 0.7643850371191413,
357
+ "top3": 0.7646318754401064
358
+ },
359
+ "val_dice": 0.8582032598395823,
360
+ "val_vi": 0.15202137350161224,
361
+ "val_ece": 0.01967065256522741
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 7.5,
367
+ "round_seconds": 30.8,
368
+ "teacher_dice_labeled": [
369
+ 0.3588600320416357,
370
+ 0.5283610665271623,
371
+ 0.1754836982934096,
372
+ 0.30965104253978754,
373
+ 0.5621811921846875,
374
+ 0.5986021775475412,
375
+ 0.17715468712343485,
376
+ 0.3248640901664514
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 638880,
380
+ "evidence_nonempty_patches": 50,
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.5983930359391161,
396
+ "uniform": 0.6576421407682509,
397
+ "top1": 0.5986021775475412,
398
+ "top2": 0.5968083368993796,
399
+ "top3": 0.597320828329163
400
+ },
401
+ "pseudo_student_dice": 0.6608478637558942,
402
+ "pseudo_ensemble_dice": 0.6159762447621395,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.536,
405
+ "val_dice": 0.8519298021852384,
406
+ "val_vi": 0.1695486292888474,
407
+ "val_ece": 0.01740237649855266
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 7.6,
413
+ "round_seconds": 124.8,
414
+ "teacher_dice_labeled": [
415
+ 0.3550508758955952,
416
+ 0.5444899469348708,
417
+ 0.20038206997152114,
418
+ 0.33595390889582355,
419
+ 0.5390476896390397,
420
+ 0.7080628920438248,
421
+ 0.24712166474669486,
422
+ 0.28541810272502866
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.4328659013976558,
426
+ 0.661135411122184,
427
+ 0.22903361986981352,
428
+ 0.38842096758112005,
429
+ 0.5765943393419145,
430
+ 0.797088399227804,
431
+ 0.33584992040025263,
432
+ 0.30945976554298166
433
+ ],
434
+ "evidence_fg_pixels": 816708,
435
+ "evidence_nonempty_patches": 74,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.00442401041120939,
440
+ 0.008483654377623146,
441
+ 6.551815847839877e-05,
442
+ 0.005456277398952017,
443
+ 0.008909491152141185,
444
+ 0.9716801215408971,
445
+ 0.00028934076331636185,
446
+ 0.0006915861973823141
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.708058559923522,
451
+ "uniform": 0.7080861303326307,
452
+ "top1": 0.7080628920438248,
453
+ "top2": 0.708505089247222,
454
+ "top3": 0.7076425236551863
455
+ },
456
+ "pseudo_student_dice": 0.5422034726585485,
457
+ "pseudo_ensemble_dice": 0.6817766491064452,
458
+ "pseudo_source": "ensemble",
459
+ "consistency_scale": 1.0,
460
+ "val_dice": 0.8692568562603569,
461
+ "val_vi": 0.14722995535203087,
462
+ "val_ece": 0.011732638054617456
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 116,
467
+ "selection_seconds": 7.6,
468
+ "round_seconds": 45.4,
469
+ "teacher_dice_labeled": [
470
+ 0.2812613113577766,
471
+ 0.37428606024354677,
472
+ 0.15015731686738024,
473
+ 0.24517187706258378,
474
+ 0.4022338376611055,
475
+ 0.471145297805343,
476
+ 0.2088359438902864,
477
+ 0.29038033021372894
478
+ ],
479
+ "teacher_dice_pool": null,
480
+ "evidence_fg_pixels": 1509201,
481
+ "evidence_nonempty_patches": 103,
482
+ "first_correction": false,
483
+ "restart": "",
484
+ "weights": [
485
+ 0.125,
486
+ 0.125,
487
+ 0.125,
488
+ 0.125,
489
+ 0.125,
490
+ 0.125,
491
+ 0.125,
492
+ 0.125
493
+ ],
494
+ "ensemble_choice": "uniform",
495
+ "candidate_dice": {
496
+ "mixture": 0.47207579835642194,
497
+ "uniform": 0.4913551341147341,
498
+ "top1": 0.471145297805343,
499
+ "top2": 0.4699058743924868,
500
+ "top3": 0.4702756933037702
501
+ },
502
+ "pseudo_student_dice": 0.526227817416522,
503
+ "pseudo_ensemble_dice": 0.26545333677506955,
504
+ "pseudo_source": "student",
505
+ "consistency_scale": 0.087,
506
+ "val_dice": 0.8837533492723129,
507
+ "val_vi": 0.15290057656135012,
508
+ "val_ece": 0.011086664785801689
509
+ },
510
+ {
511
+ "round": 5,
512
+ "n_labeled": 145,
513
+ "selection_seconds": 7.4,
514
+ "round_seconds": 141.9,
515
+ "teacher_dice_labeled": [
516
+ 0.3575857705768084,
517
+ 0.5288894927276441,
518
+ 0.1972882651699285,
519
+ 0.3237538784944006,
520
+ 0.4972437412072611,
521
+ 0.6563423781453516,
522
+ 0.2654844034258358,
523
+ 0.2937566814955266
524
+ ],
525
+ "teacher_dice_pool": [
526
+ 0.4195271845365769,
527
+ 0.6613145146970063,
528
+ 0.23861478496716995,
529
+ 0.38766042413489726,
530
+ 0.5937290521963867,
531
+ 0.8326240947868595,
532
+ 0.31651714330217995,
533
+ 0.29086484509438304
534
+ ],
535
+ "evidence_fg_pixels": 1935317,
536
+ "evidence_nonempty_patches": 132,
537
+ "first_correction": false,
538
+ "restart": "",
539
+ "weights": [
540
+ 0.125,
541
+ 0.125,
542
+ 0.125,
543
+ 0.125,
544
+ 0.125,
545
+ 0.125,
546
+ 0.125,
547
+ 0.125
548
+ ],
549
+ "ensemble_choice": "uniform",
550
+ "candidate_dice": {
551
+ "mixture": 0.6568639291864343,
552
+ "uniform": 0.6666955000371759,
553
+ "top1": 0.6563423781453516,
554
+ "top2": 0.6570021039931723,
555
+ "top3": 0.6561298907989814
556
+ },
557
+ "pseudo_student_dice": 0.7225415124397063,
558
+ "pseudo_ensemble_dice": 0.5582015873469427,
559
+ "pseudo_source": "student",
560
+ "consistency_scale": 0.742,
561
+ "val_dice": 0.8797230617226582,
562
+ "val_vi": 0.15834655247909965,
563
+ "val_ece": 0.00989123741765351
564
+ },
565
+ {
566
+ "round": 6,
567
+ "n_labeled": 174,
568
+ "selection_seconds": 7.5,
569
+ "round_seconds": 149.7,
570
+ "teacher_dice_labeled": [
571
+ 0.3602505543526682,
572
+ 0.5359821774533255,
573
+ 0.19879252836890904,
574
+ 0.333613065162099,
575
+ 0.5009071969940995,
576
+ 0.6643916205152369,
577
+ 0.26497846806752806,
578
+ 0.2937445620594825
579
+ ],
580
+ "teacher_dice_pool": [
581
+ 0.41908704552384624,
582
+ 0.6539098615025841,
583
+ 0.23820759536247726,
584
+ 0.38935192574692595,
585
+ 0.592662873689235,
586
+ 0.8257198302767631,
587
+ 0.32037599926452937,
588
+ 0.29283550908122574
589
+ ],
590
+ "evidence_fg_pixels": 2258511,
591
+ "evidence_nonempty_patches": 161,
592
+ "first_correction": false,
593
+ "restart": "",
594
+ "weights": [
595
+ 0.125,
596
+ 0.125,
597
+ 0.125,
598
+ 0.125,
599
+ 0.125,
600
+ 0.125,
601
+ 0.125,
602
+ 0.125
603
+ ],
604
+ "ensemble_choice": "uniform",
605
+ "candidate_dice": {
606
+ "mixture": 0.6648869229132081,
607
+ "uniform": 0.6739570229701966,
608
+ "top1": 0.6643916205152369,
609
+ "top2": 0.6649912132591502,
610
+ "top3": 0.6642192650367976
611
+ },
612
+ "pseudo_student_dice": 0.7673293550156336,
613
+ "pseudo_ensemble_dice": 0.6316422578928547,
614
+ "pseudo_source": "student",
615
+ "consistency_scale": 0.891,
616
+ "val_dice": 0.8886952685341428,
617
+ "val_vi": 0.1513188957973902,
618
+ "val_ece": 0.0094336474487976
619
+ },
620
+ {
621
+ "round": 7,
622
+ "n_labeled": 174,
623
+ "selection_seconds": 0.0,
624
+ "round_seconds": 66.3,
625
+ "final_consolidation": true,
626
+ "val_dice": 0.8886864148471417,
627
+ "val_vi": 0.14682279863099465,
628
+ "val_ece": 0.010849301665396582
629
+ }
630
+ ],
631
+ "uncertainty_quality": {
632
+ "spearman_uncertainty_error": 0.4468831233044695,
633
+ "auroc_top20_error": 0.618147538735774
634
+ },
635
+ "al_seconds": 702.3,
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.125,
648
+ 0.125,
649
+ 0.125,
650
+ 0.125,
651
+ 0.125,
652
+ 0.125,
653
+ 0.125,
654
+ 0.125
655
+ ],
656
+ "weight_stats_final": {
657
+ "max_weight": 0.125,
658
+ "entropy": 2.0794415416798357,
659
+ "effective_sources": 7.999999999999998,
660
+ "min_weight": 0.125
661
+ },
662
+ "top_source_final": "c-elegans-dauer-stage",
663
+ "ensemble_choice_final": "",
664
+ "restart": "kept",
665
+ "test_raw_student": {
666
+ "patch_dice": 0.8647887142358766,
667
+ "patch_iou": 0.8012740206376692,
668
+ "patch_precision": 0.8955808545122568,
669
+ "patch_recall": 0.8680106101740352,
670
+ "patch_vi": 0.17752917596284057,
671
+ "n_patches": 768,
672
+ "cal_ece": 0.008089954957642595,
673
+ "cal_nll": 0.08198473665119577,
674
+ "cal_brier": 0.0224464631914164,
675
+ "cal_mean_confidence": 0.9775250897061557,
676
+ "cal_accuracy": 0.9694976806640625,
677
+ "cal_predicted_prevalence": 0.07344818115234375,
678
+ "cal_true_prevalence": 0.07175954182942708,
679
+ "cal_mean_probability": 0.07302339563645663
680
+ },
681
+ "test_notta": {
682
+ "patch_dice": 0.8647887142358766,
683
+ "patch_iou": 0.8012740206376692,
684
+ "patch_precision": 0.8955808545122568,
685
+ "patch_recall": 0.8680106101740352,
686
+ "patch_vi": 0.17752917596284057,
687
+ "n_patches": 768,
688
+ "cal_ece": 0.008089954957642595,
689
+ "cal_nll": 0.08198473665119577,
690
+ "cal_brier": 0.0224464631914164,
691
+ "cal_mean_confidence": 0.9775250897061557,
692
+ "cal_accuracy": 0.9694976806640625,
693
+ "cal_predicted_prevalence": 0.07344818115234375,
694
+ "cal_true_prevalence": 0.07175954182942708,
695
+ "cal_mean_probability": 0.07302339563645663
696
+ },
697
+ "test": {
698
+ "patch_dice": 0.8647069438389737,
699
+ "patch_iou": 0.8033281169756871,
700
+ "patch_precision": 0.9034503196996484,
701
+ "patch_recall": 0.8667368064369821,
702
+ "patch_vi": 0.17527923318371696,
703
+ "n_patches": 768,
704
+ "image_dice": 0.7920637119427608,
705
+ "image_iou": 0.665237657237726,
706
+ "image_precision": 0.7986320096435179,
707
+ "image_recall": 0.7938427626550224,
708
+ "image_vi": 0.1992288512318123,
709
+ "n_images": 6,
710
+ "cal_ece": 0.006552162411524904,
711
+ "cal_nll": 0.07708213635633097,
712
+ "cal_brier": 0.021867434336899864,
713
+ "cal_mean_confidence": 0.9765031516520883,
714
+ "cal_accuracy": 0.9700775146484375,
715
+ "cal_predicted_prevalence": 0.07292429606119792,
716
+ "cal_true_prevalence": 0.07175954182942708,
717
+ "cal_mean_probability": 0.0726615540301751
718
+ },
719
+ "eval_seconds": 12.0,
720
+ "total_seconds": 941.1,
721
+ "resources": {
722
+ "phases": {
723
+ "setup": {
724
+ "seconds": 1.14,
725
+ "peak_cpu_rss_mb": 1027.2,
726
+ "peak_gpu_alloc_mb": 1066.3,
727
+ "peak_gpu_reserved_mb": 1086.0
728
+ },
729
+ "features_and_weights": {
730
+ "seconds": 25.95,
731
+ "peak_cpu_rss_mb": 1808.4,
732
+ "peak_gpu_alloc_mb": 2820.1,
733
+ "peak_gpu_reserved_mb": 3212.0
734
+ },
735
+ "distillation": {
736
+ "seconds": 197.94,
737
+ "peak_cpu_rss_mb": 2938.2,
738
+ "peak_gpu_alloc_mb": 4303.7,
739
+ "peak_gpu_reserved_mb": 4618.0,
740
+ "kd_epochs": 5
741
+ },
742
+ "active_learning": {
743
+ "seconds": 702.31,
744
+ "peak_cpu_rss_mb": 2938.2,
745
+ "peak_gpu_alloc_mb": 4424.0,
746
+ "peak_gpu_reserved_mb": 4626.0,
747
+ "rounds": 6
748
+ },
749
+ "inference": {
750
+ "seconds": 12.0,
751
+ "peak_cpu_rss_mb": 2938.2,
752
+ "peak_gpu_alloc_mb": 2623.4,
753
+ "peak_gpu_reserved_mb": 4626.0,
754
+ "patches": 768,
755
+ "images": 6,
756
+ "patches_per_second": 64.0,
757
+ "seconds_per_image": 2.0
758
+ }
759
+ },
760
+ "peak_gpu_alloc_mb": 4424.0,
761
+ "peak_cpu_rss_mb": 2938.2,
762
+ "total_seconds": 939.3
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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace_b5_s2.pth"
776
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/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,29,30.9,132.8,"[0.2571777942968238, 0.5690605504275248, 0.1686588604013407, 0.2758037194420113, 0.5811237001396865, 0.7648114620563284, 0.10985703762520847, 0.20342659662893037]",,179039,21,True,kept,0.7603000274646353,0.7648114620563284,"[0.0009536063313568787, 0.00622160049410085, 2.7365280978604556e-05, 0.0017150542671718894, 0.00778389682673956, 0.9830816831898324, 4.206174632514249e-05, 0.0001747318634946766]",mixture,"{'mixture': 0.7646874735949377, 'uniform': 0.7405359432386459, 'top1': 0.7648114620563284, 'top2': 0.7643850371191413, 'top3': 0.7646318754401064}",0.8582032598395823,0.15202137350161224,0.01967065256522741,,,,,
3
+ 2,58,7.5,30.8,"[0.3588600320416357, 0.5283610665271623, 0.1754836982934096, 0.30965104253978754, 0.5621811921846875, 0.5986021775475412, 0.17715468712343485, 0.3248640901664514]",,638880,50,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.5983930359391161, 'uniform': 0.6576421407682509, 'top1': 0.5986021775475412, 'top2': 0.5968083368993796, 'top3': 0.597320828329163}",0.8519298021852384,0.1695486292888474,0.01740237649855266,0.6608478637558942,0.6159762447621395,student,0.536,
4
+ 3,87,7.6,124.8,"[0.3550508758955952, 0.5444899469348708, 0.20038206997152114, 0.33595390889582355, 0.5390476896390397, 0.7080628920438248, 0.24712166474669486, 0.28541810272502866]","[0.4328659013976558, 0.661135411122184, 0.22903361986981352, 0.38842096758112005, 0.5765943393419145, 0.797088399227804, 0.33584992040025263, 0.30945976554298166]",816708,74,False,,,,"[0.00442401041120939, 0.008483654377623146, 6.551815847839877e-05, 0.005456277398952017, 0.008909491152141185, 0.9716801215408971, 0.00028934076331636185, 0.0006915861973823141]",mixture,"{'mixture': 0.708058559923522, 'uniform': 0.7080861303326307, 'top1': 0.7080628920438248, 'top2': 0.708505089247222, 'top3': 0.7076425236551863}",0.8692568562603569,0.14722995535203087,0.011732638054617456,0.5422034726585485,0.6817766491064452,ensemble,1.0,
5
+ 4,116,7.6,45.4,"[0.2812613113577766, 0.37428606024354677, 0.15015731686738024, 0.24517187706258378, 0.4022338376611055, 0.471145297805343, 0.2088359438902864, 0.29038033021372894]",,1509201,103,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.47207579835642194, 'uniform': 0.4913551341147341, 'top1': 0.471145297805343, 'top2': 0.4699058743924868, 'top3': 0.4702756933037702}",0.8837533492723129,0.15290057656135012,0.011086664785801689,0.526227817416522,0.26545333677506955,student,0.087,
6
+ 5,145,7.4,141.9,"[0.3575857705768084, 0.5288894927276441, 0.1972882651699285, 0.3237538784944006, 0.4972437412072611, 0.6563423781453516, 0.2654844034258358, 0.2937566814955266]","[0.4195271845365769, 0.6613145146970063, 0.23861478496716995, 0.38766042413489726, 0.5937290521963867, 0.8326240947868595, 0.31651714330217995, 0.29086484509438304]",1935317,132,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6568639291864343, 'uniform': 0.6666955000371759, 'top1': 0.6563423781453516, 'top2': 0.6570021039931723, 'top3': 0.6561298907989814}",0.8797230617226582,0.15834655247909965,0.00989123741765351,0.7225415124397063,0.5582015873469427,student,0.742,
7
+ 6,174,7.5,149.7,"[0.3602505543526682, 0.5359821774533255, 0.19879252836890904, 0.333613065162099, 0.5009071969940995, 0.6643916205152369, 0.26497846806752806, 0.2937445620594825]","[0.41908704552384624, 0.6539098615025841, 0.23820759536247726, 0.38935192574692595, 0.592662873689235, 0.8257198302767631, 0.32037599926452937, 0.29283550908122574]",2258511,161,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.6648869229132081, 'uniform': 0.6739570229701966, 'top1': 0.6643916205152369, 'top2': 0.6649912132591502, 'top3': 0.6642192650367976}",0.8886952685341428,0.1513188957973902,0.0094336474487976,0.7673293550156336,0.6316422578928547,student,0.891,
8
+ 7,174,0.0,66.3,,,,,,,,,,,,0.8886864148471417,0.14682279863099465,0.010849301665396582,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-3/log.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [10:02:19][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-laplace budget=5.0% seed=3 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 3, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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
+ [10:02: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
+ [10:02:19][ 0s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [10:02:20][ 1s][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.08
5
+ [10:02:20][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [10:02:26][ 7s][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:02:26][ 7s][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:02:45][ 26s][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:02:45][ 26s][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:02:45][ 26s][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:02:45][ 26s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [10:02:46][ 27s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [10:02:46][ 27s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [10:03:27][ 68s][KD] soft labels for 3584 patches from 8 teachers in 41s
15
+ [10:03:59][ 100s][KD] epoch 1/5 | patches=3584 | loss=0.5673 | 32s
16
+ [10:04:30][ 131s][KD] epoch 2/5 | patches=3584 | loss=0.4392 | 31s
17
+ [10:05:03][ 164s][KD] epoch 3/5 | patches=3584 | loss=0.3945 | 33s
18
+ [10:05:36][ 197s][KD] epoch 4/5 | patches=3584 | loss=0.3593 | 33s
19
+ [10:06:07][ 228s][KD] epoch 5/5 | patches=3584 | loss=0.3311 | 31s
20
+ [10:06:08][ 230s][ROUND0] before any target label: val_dice=0.8515 val_vi=0.1453
21
+ [10:06:08][ 230s][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
+ [10:06:16][ 237s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': 0.4591574662939882, 'auroc_top20_error': 0.6181795328854153}
23
+ [10:06:39][ 260s][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:06:42][ 264s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.811, uniform=0.768, top1=0.811, top2=0.811, top3=0.811 -> using mixture
25
+ [10:06:43][ 264s][WEIGHTS] round 1: student kept (labeled Dice 0.827 vs best teacher oct-glia 0.811); distilling the corrected ensemble into it
26
+ [10:06:43][ 264s][WEIGHTS] round 1: teacher Dice on 29 labeled patches + 29 blank (179827 fg px): c-elegans=0.279, cerebellum=0.617, flywire=0.194, berghia=0.316, microns=0.585, oct-glia=0.811, snemi=0.111, mouse-brain=0.210 | weights: c-elegans=0.001, cerebellum=0.006, flywire=0.000, berghia=0.002, microns=0.005, oct-glia=0.986, snemi=0.000, mouse-brain=0.000
27
+ [10:07:09][ 290s][KD] soft labels for 2309 patches from 8 teachers in 26s
28
+ [10:07:30][ 311s][KD] epoch 1/2 | patches=2309 | loss=0.1381 | 21s
29
+ [10:07:51][ 332s][KD] epoch 2/2 | patches=2309 | loss=0.1323 | 21s
30
+ [10:08:14][ 355s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [10:08:16][ 357s][FT] round 1/6 epoch 1/5 | patches=58 | loss=0.8383
32
+ [10:08:17][ 358s][FT] round 1/6 epoch 2/5 | patches=58 | loss=0.8501
33
+ [10:08:18][ 360s][FT] round 1/6 epoch 3/5 | patches=58 | loss=0.6314
34
+ [10:08:20][ 361s][FT] round 1/6 epoch 4/5 | patches=58 | loss=0.4879
35
+ [10:08:21][ 363s][FT] round 1/6 epoch 5/5 | patches=58 | loss=0.4561
36
+ [10:08:23][ 364s][AL] round 1/6 | labeled=29 | selection_seconds=30.8000 round_seconds=133.2000 restart_student_dice=0.8273 restart_teacher_dice=0.8106 val_dice=0.8568 val_vi=0.1554 val_ece=0.0169
37
+ [10:08:31][ 372s][AL] round 2: 586/2309 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [10:08:36][ 378s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.680, uniform=0.674, top1=0.680, top2=0.680, top3=0.680 -> using mixture
39
+ [10:08:36][ 378s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (549483 fg px): c-elegans=0.320, cerebellum=0.519, flywire=0.188, berghia=0.329, microns=0.518, oct-glia=0.680, snemi=0.151, mouse-brain=0.275 | weights: c-elegans=0.004, cerebellum=0.009, flywire=0.000, berghia=0.007, microns=0.010, oct-glia=0.970, snemi=0.000, mouse-brain=0.001
40
+ [10:08:42][ 383s][CONS] round 2: on the 29 new patches student Dice=0.647 vs ensemble 0.603 -> pseudo-labels from the student | consistency x0.49
41
+ [10:08:45][ 386s][FT] round 2/6 epoch 1/5 | patches=116 | loss=0.5509
42
+ [10:08:47][ 388s][FT] round 2/6 epoch 2/5 | patches=116 | loss=0.4116
43
+ [10:08:49][ 391s][FT] round 2/6 epoch 3/5 | patches=116 | loss=0.3350
44
+ [10:08:52][ 393s][FT] round 2/6 epoch 4/5 | patches=116 | loss=0.3681
45
+ [10:08:54][ 395s][FT] round 2/6 epoch 5/5 | patches=116 | loss=0.3817
46
+ [10:08:55][ 397s][AL] round 2/6 | labeled=58 | selection_seconds=7.6000 round_seconds=30.9000 pseudo_student_dice=0.6467 pseudo_ensemble_dice=0.6028 consistency_scale=0.4890 val_dice=0.8618 val_vi=0.1453 val_ece=0.0160
47
+ [10:09:03][ 404s][AL] round 3: 586/2280 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [10:09:53][ 454s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.363, cerebellum=0.615, flywire=0.246, berghia=0.366, microns=0.621, oct-glia=0.869, snemi=0.273, mouse-brain=0.242 | blended with labeled Dice at 0.50
49
+ [10:10:40][ 501s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.721, uniform=0.700, top1=0.721, top2=0.721, top3=0.721 -> using mixture
50
+ [10:10:40][ 501s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (1138003 fg px): c-elegans=0.338, cerebellum=0.551, flywire=0.213, berghia=0.334, microns=0.538, oct-glia=0.721, snemi=0.243, mouse-brain=0.269 | weights: c-elegans=0.003, cerebellum=0.008, flywire=0.000, berghia=0.005, microns=0.008, oct-glia=0.975, snemi=0.000, mouse-brain=0.001
51
+ [10:10:46][ 507s][CONS] round 3: on the 29 new patches student Dice=0.522 vs ensemble 0.450 -> pseudo-labels from the student | consistency x0.07
52
+ [10:10:49][ 511s][FT] round 3/6 epoch 1/5 | patches=174 | loss=0.9099
53
+ [10:10:53][ 514s][FT] round 3/6 epoch 2/5 | patches=174 | loss=0.8412
54
+ [10:10:56][ 517s][FT] round 3/6 epoch 3/5 | patches=174 | loss=0.7315
55
+ [10:10:59][ 521s][FT] round 3/6 epoch 4/5 | patches=174 | loss=0.7279
56
+ [10:11:03][ 524s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.6884
57
+ [10:11:04][ 526s][AL] round 3/6 | labeled=87 | selection_seconds=7.4000 round_seconds=127.4000 pseudo_student_dice=0.5217 pseudo_ensemble_dice=0.4502 consistency_scale=0.0720 val_dice=0.8723 val_vi=0.1533 val_ece=0.0118
58
+ [10:11:11][ 533s][AL] round 4: 572/2251 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [10:12:03][ 584s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.379, cerebellum=0.620, flywire=0.246, berghia=0.376, microns=0.620, oct-glia=0.857, snemi=0.282, mouse-brain=0.257 | blended with labeled Dice at 0.50
60
+ [10:12:52][ 633s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.690, uniform=0.682, top1=0.690, top2=0.690, top3=0.690 -> using mixture
61
+ [10:12:52][ 633s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (1656088 fg px): c-elegans=0.333, cerebellum=0.541, flywire=0.209, berghia=0.330, microns=0.517, oct-glia=0.690, snemi=0.259, mouse-brain=0.275 | weights: c-elegans=0.004, cerebellum=0.010, flywire=0.000, berghia=0.006, microns=0.009, oct-glia=0.970, snemi=0.000, mouse-brain=0.001
62
+ [10:12:57][ 639s][CONS] round 4: on the 29 new patches student Dice=0.547 vs ensemble 0.395 -> pseudo-labels from the student | consistency x0.16
63
+ [10:13:02][ 643s][FT] round 4/6 epoch 1/5 | patches=232 | loss=0.6824
64
+ [10:13:06][ 647s][FT] round 4/6 epoch 2/5 | patches=232 | loss=0.5460
65
+ [10:13:10][ 652s][FT] round 4/6 epoch 3/5 | patches=232 | loss=0.5290
66
+ [10:13:15][ 656s][FT] round 4/6 epoch 4/5 | patches=232 | loss=0.6514
67
+ [10:13:19][ 660s][FT] round 4/6 epoch 5/5 | patches=232 | loss=0.5690
68
+ [10:13:20][ 662s][AL] round 4/6 | labeled=116 | selection_seconds=7.4000 round_seconds=134.6000 pseudo_student_dice=0.5471 pseudo_ensemble_dice=0.3954 consistency_scale=0.1570 val_dice=0.7533 val_vi=0.3211 val_ece=0.0161
69
+ [10:13:28][ 669s][AL] round 5: 528/2222 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [10:14:21][ 722s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.557, cerebellum=0.595, flywire=0.207, berghia=0.471, microns=0.463, oct-glia=0.556, snemi=0.429, mouse-brain=0.484 | blended with labeled Dice at 0.50
71
+ [10:15:10][ 772s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.553, uniform=0.606, top1=0.549, top2=0.551, top3=0.549 -> using uniform
72
+ [10:15:10][ 772s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (1757811 fg px): c-elegans=0.417, cerebellum=0.525, flywire=0.186, berghia=0.364, microns=0.439, oct-glia=0.549, snemi=0.314, mouse-brain=0.379 | 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
+ [10:15:13][ 774s][CONS] round 5: on the 29 new patches student Dice=0.269 vs ensemble 0.561 -> pseudo-labels from the ensemble | consistency x1.00
74
+ [10:15:19][ 780s][FT] round 5/6 epoch 1/5 | patches=290 | loss=0.6929
75
+ [10:15:24][ 785s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.5823
76
+ [10:15:29][ 791s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.5388
77
+ [10:15:35][ 796s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.5194
78
+ [10:15:40][ 801s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.4847
79
+ [10:15:41][ 803s][AL] round 5/6 | labeled=145 | selection_seconds=7.5000 round_seconds=139.6000 pseudo_student_dice=0.2694 pseudo_ensemble_dice=0.5612 consistency_scale=1.0000 val_dice=0.8744 val_vi=0.1512 val_ece=0.0079
80
+ [10:15:49][ 810s][AL] round 6: 573/2193 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [10:16:04][ 826s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.537, uniform=0.558, top1=0.536, top2=0.537, top3=0.536 -> using uniform
82
+ [10:16:04][ 826s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (2188227 fg px): c-elegans=0.288, cerebellum=0.456, flywire=0.166, berghia=0.274, microns=0.415, oct-glia=0.536, snemi=0.205, mouse-brain=0.281 | 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
83
+ [10:16:10][ 831s][CONS] round 6: on the 29 new patches student Dice=0.734 vs ensemble 0.563 -> pseudo-labels from the student | consistency x0.78
84
+ [10:16:17][ 838s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.4139
85
+ [10:16:23][ 844s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.4055
86
+ [10:16:29][ 850s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.3732
87
+ [10:16:36][ 857s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.3716
88
+ [10:16:42][ 863s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.4127
89
+ [10:16:43][ 865s][AL] round 6/6 | labeled=174 | selection_seconds=7.3000 round_seconds=60.4000 pseudo_student_dice=0.7344 pseudo_ensemble_dice=0.5635 consistency_scale=0.7810 val_dice=0.8617 val_vi=0.1666 val_ece=0.0074
90
+ [10:16:46][ 868s][CONS] final consolidation: pseudo-labels refreshed from the student
91
+ [10:16:53][ 874s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.4970
92
+ [10:16:59][ 881s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.4235
93
+ [10:17:06][ 887s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.4503
94
+ [10:17:12][ 893s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.3917
95
+ [10:17:18][ 900s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.3825
96
+ [10:17:25][ 906s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.3685
97
+ [10:17:31][ 912s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.3657
98
+ [10:17:37][ 919s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.3473
99
+ [10:17:44][ 925s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.3830
100
+ [10:17:50][ 931s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.3511
101
+ [10:17:52][ 933s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=66.5000 val_dice=0.8885 val_vi=0.1459 val_ece=0.0064
102
+ [10:17:52][ 933s][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
103
+ [10:18:02][ 944s][TEST] raw student (no EMA, no TTA): patch_dice=0.8706 patch_vi=0.1784
104
+ [10:18:04][ 945s][TEST] final model without TTA: patch_dice=0.8706 patch_vi=0.1784
105
+ [10:18:04][ 945s][RESOURCES] {"phases": {"setup": {"seconds": 1.14, "peak_cpu_rss_mb": 1027.7, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 25.77, "peak_cpu_rss_mb": 1809.1, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 200.91, "peak_cpu_rss_mb": 2938.6, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 703.34, "peak_cpu_rss_mb": 2938.6, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4626.0, "rounds": 6}, "inference": {"seconds": 12.3, "peak_cpu_rss_mb": 2938.6, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4626.0, "patches": 768, "images": 6, "patches_per_second": 62.4, "seconds_per_image": 2.05}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2938.6, "total_seconds": 943.5}
106
+ [10:18:04][ 945s][TEST] patch_dice=0.8722 patch_iou=0.8093 patch_precision=0.8889 patch_recall=0.8824 patch_vi=0.1747 image_dice=0.8012 image_iou=0.6755 image_precision=0.7977 image_recall=0.8106 image_vi=0.1969 cal_ece=0.0051 cal_nll=0.0693 cal_brier=0.0212 cal_mean_confidence=0.9759 cal_accuracy=0.9709 cal_predicted_prevalence=0.0741 cal_true_prevalence=0.0718 cal_mean_probability=0.0749
107
+ [10:18:04][ 945s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-laplace b5 s3 | test patch Dice=0.8722 VI=0.1747 | image Dice=0.8012 VI=0.1969 | 945s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-3/result.json ADDED
@@ -0,0 +1,776 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 3,
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": 3,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "3",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.09888773316940314,
154
+ 0.02852238358730045,
155
+ 0.006877111295002701,
156
+ 0.14762496137410624,
157
+ 0.031629415990885375,
158
+ 0.6364113152878205,
159
+ 0.01903121486130303,
160
+ 0.03101586443417853
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.09888773316940314,
175
+ 0.02852238358730045,
176
+ 0.006877111295002701,
177
+ 0.14762496137410624,
178
+ 0.031629415990885375,
179
+ 0.6364113152878205,
180
+ 0.01903121486130303,
181
+ 0.03101586443417853
182
+ ],
183
+ "per_source": [
184
+ 0.3196472209911767,
185
+ 0.016524281783989066,
186
+ 0.0007715704214095669,
187
+ 0.17539935780265475,
188
+ 0.02748152710843107,
189
+ 0.4363201963447303,
190
+ 0.016643455180579362,
191
+ 0.00721239036702913
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.00048684441851293454,
205
+ "mmd2_mixture": 0.01275567083190321,
206
+ "mmd2_uniform": 0.09698324592915836,
207
+ "mmd2_single_source": [
208
+ 0.07244541101040552,
209
+ 0.256897395483041,
210
+ 0.3929088032810887,
211
+ 0.05287172109384486,
212
+ 0.26498470596000767,
213
+ 0.011934168264888134,
214
+ 0.339258942897097,
215
+ 0.2684433232010991
216
+ ],
217
+ "median_squared_distance": 0.18344226468067681,
218
+ "gammas": [
219
+ 1.3628266116054668,
220
+ 2.7256532232109336,
221
+ 5.451306446421867,
222
+ 10.902612892843734,
223
+ 21.80522578568747
224
+ ],
225
+ "max_weight": 0.6364113152878205,
226
+ "entropy": 1.2268826413390275,
227
+ "effective_sources": 3.410580943129122,
228
+ "min_weight": 0.006877111295002701
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.0496200334528889,
233
+ 0.42663682749168497,
234
+ 0.8166058321365515,
235
+ 0.12600018979150718,
236
+ 0.3618977926472007,
237
+ 0.01001955344998784,
238
+ 0.4257222632020228,
239
+ 0.5321458020642489
240
+ ],
241
+ "standardized": [
242
+ -1.1548905481172125,
243
+ 0.3263029673133632,
244
+ 1.8583820949064265,
245
+ -0.8548142807860197,
246
+ 0.07196140979373515,
247
+ -1.3104697560349354,
248
+ 0.32270990006354566,
249
+ 0.7408182128610976
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363201963447303,
253
+ "entropy": 1.3076016834873658,
254
+ "effective_sources": 3.6972957848927845,
255
+ "min_weight": 0.0007715704214095669
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4757138324136084,
265
+ 0.6329416506363946,
266
+ 0.14191107641715917,
267
+ 0.4669227387129098,
268
+ 0.7079858630413108,
269
+ 0.8450575342195966,
270
+ 0.2290226697023551,
271
+ 0.11473197497037783
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8487996328814233,
275
+ "mixture@raw": 0.8468783370062004,
276
+ "mixture@logit": 0.8498165961112344,
277
+ "per_source": 0.8430704623597217,
278
+ "per_source@raw": 0.6192918885999461,
279
+ "per_source@logit": 0.8479512470904803,
280
+ "uniform": 0.7183095932451996,
281
+ "uniform@raw": 0.6771602818911759,
282
+ "uniform@logit": 0.8065076510127938
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 3.5461363792419434,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.6364113152878205,
299
+ "entropy": 1.2268826413390275,
300
+ "effective_sources": 3.410580943129122,
301
+ "min_weight": 0.006877111295002701
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": 200.9,
313
+ "round0_val": {
314
+ "val_dice": 0.8515102797526266,
315
+ "val_vi": 0.14528530548020757,
316
+ "val_ece": 0.05870248018856551
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 30.8,
323
+ "round_seconds": 133.2,
324
+ "teacher_dice_labeled": [
325
+ 0.278686973709348,
326
+ 0.6172069054477305,
327
+ 0.19414410467595433,
328
+ 0.3158733635275065,
329
+ 0.5849527168014728,
330
+ 0.8105764798984268,
331
+ 0.11111243697584838,
332
+ 0.21043401064256403
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 179827,
336
+ "evidence_nonempty_patches": 22,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.8273144858761027,
340
+ "restart_teacher_dice": 0.8105764798984268,
341
+ "weights": [
342
+ 0.0007503874401662406,
343
+ 0.006390021724894883,
344
+ 2.240702364497097e-05,
345
+ 0.0016248054634756897,
346
+ 0.005132506760358811,
347
+ 0.9859339072089507,
348
+ 2.702979059074383e-05,
349
+ 0.0001189345879178869
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.8107891012852039,
354
+ "uniform": 0.7680840640525722,
355
+ "top1": 0.8105764798984268,
356
+ "top2": 0.8107881846175238,
357
+ "top3": 0.8107436386731551
358
+ },
359
+ "val_dice": 0.8568044591794021,
360
+ "val_vi": 0.15536332065951733,
361
+ "val_ece": 0.016875869306927235
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 7.6,
367
+ "round_seconds": 30.9,
368
+ "teacher_dice_labeled": [
369
+ 0.3197324212585647,
370
+ 0.5186989851123923,
371
+ 0.18769042400258,
372
+ 0.32897712171977045,
373
+ 0.5183921599714619,
374
+ 0.6796743091805819,
375
+ 0.15061281497014214,
376
+ 0.2754290735520091
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 549483,
380
+ "evidence_nonempty_patches": 50,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.004119763372614849,
385
+ 0.008689933929460799,
386
+ 7.650411497395904e-05,
387
+ 0.006745884040301596,
388
+ 0.009607033535081643,
389
+ 0.9697850851871787,
390
+ 0.00014612322378190518,
391
+ 0.000829672596606807
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.6799376360850514,
396
+ "uniform": 0.6739134714897281,
397
+ "top1": 0.6796743091805819,
398
+ "top2": 0.6799873705508308,
399
+ "top3": 0.6796347829641398
400
+ },
401
+ "pseudo_student_dice": 0.6466831096930886,
402
+ "pseudo_ensemble_dice": 0.6027818783231503,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.489,
405
+ "val_dice": 0.861787266202709,
406
+ "val_vi": 0.14531560750334052,
407
+ "val_ece": 0.01596588622935088
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 7.4,
413
+ "round_seconds": 127.4,
414
+ "teacher_dice_labeled": [
415
+ 0.33816096920786365,
416
+ 0.5508747489357715,
417
+ 0.2127544630286278,
418
+ 0.3342955063859918,
419
+ 0.5383557530871647,
420
+ 0.7209293122344551,
421
+ 0.24296450621113985,
422
+ 0.2688145903643604
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.3631213703221983,
426
+ 0.6145786325256796,
427
+ 0.24602950896413575,
428
+ 0.3664223347709242,
429
+ 0.6212679758984406,
430
+ 0.8686868739620435,
431
+ 0.273348192075486,
432
+ 0.24215863231774376
433
+ ],
434
+ "evidence_fg_pixels": 1138003,
435
+ "evidence_nonempty_patches": 79,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0032977847478816197,
440
+ 0.007981231489846457,
441
+ 6.544137261997147e-05,
442
+ 0.004736441621020206,
443
+ 0.007809189399856895,
444
+ 0.9753479342568299,
445
+ 0.0002449702865546584,
446
+ 0.0005170068253904648
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.7213260143771558,
451
+ "uniform": 0.6999932181400559,
452
+ "top1": 0.7209293122344551,
453
+ "top2": 0.7211679464098952,
454
+ "top3": 0.7211597694240854
455
+ },
456
+ "pseudo_student_dice": 0.5216835236694869,
457
+ "pseudo_ensemble_dice": 0.4502389093759044,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.072,
460
+ "val_dice": 0.8722882299942253,
461
+ "val_vi": 0.153306299739384,
462
+ "val_ece": 0.011781420070394528
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 116,
467
+ "selection_seconds": 7.4,
468
+ "round_seconds": 134.6,
469
+ "teacher_dice_labeled": [
470
+ 0.33335654980390694,
471
+ 0.5414478519401984,
472
+ 0.20853802261015897,
473
+ 0.3302917388799157,
474
+ 0.5167268481721374,
475
+ 0.6897356638254668,
476
+ 0.2592273871447747,
477
+ 0.27469722168508637
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.37884987150908017,
481
+ 0.6200130681762214,
482
+ 0.24550768821346203,
483
+ 0.37607195076658384,
484
+ 0.6200735224606091,
485
+ 0.856574798895515,
486
+ 0.28189492315590287,
487
+ 0.25733860588598917
488
+ ],
489
+ "evidence_fg_pixels": 1656088,
490
+ "evidence_nonempty_patches": 108,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.004269758757935813,
495
+ 0.009866787505957434,
496
+ 8.522892157258763e-05,
497
+ 0.006181735356236639,
498
+ 0.008545139890425265,
499
+ 0.9699149110425108,
500
+ 0.0003915512060296217,
501
+ 0.0007448873193318116
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.6901279025681524,
506
+ "uniform": 0.6820152178728482,
507
+ "top1": 0.6897356638254668,
508
+ "top2": 0.6900723044431973,
509
+ "top3": 0.6898417583058918
510
+ },
511
+ "pseudo_student_dice": 0.5470911753511737,
512
+ "pseudo_ensemble_dice": 0.39544808173752155,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.157,
515
+ "val_dice": 0.7532872911825909,
516
+ "val_vi": 0.3210910036063804,
517
+ "val_ece": 0.016072281468791392
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 145,
522
+ "selection_seconds": 7.5,
523
+ "round_seconds": 139.6,
524
+ "teacher_dice_labeled": [
525
+ 0.41676594581650617,
526
+ 0.5246918455092885,
527
+ 0.18630663891166677,
528
+ 0.3641756496484856,
529
+ 0.4389208361506449,
530
+ 0.5486765842831056,
531
+ 0.31428819745996883,
532
+ 0.3791764241664638
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.5572855135959716,
536
+ 0.5945990793338956,
537
+ 0.20735111987360755,
538
+ 0.47074842385203725,
539
+ 0.4634087060527902,
540
+ 0.5556566786907592,
541
+ 0.4294796873842047,
542
+ 0.4841524752871939
543
+ ],
544
+ "evidence_fg_pixels": 1757811,
545
+ "evidence_nonempty_patches": 135,
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.553159440532073,
561
+ "uniform": 0.6059717310472152,
562
+ "top1": 0.5486765842831056,
563
+ "top2": 0.5506095424125969,
564
+ "top3": 0.5490036599201282
565
+ },
566
+ "pseudo_student_dice": 0.2693943934850826,
567
+ "pseudo_ensemble_dice": 0.5612330996243244,
568
+ "pseudo_source": "ensemble",
569
+ "consistency_scale": 1.0,
570
+ "val_dice": 0.874420324316172,
571
+ "val_vi": 0.15116773626438473,
572
+ "val_ece": 0.00787832594784592
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 174,
577
+ "selection_seconds": 7.3,
578
+ "round_seconds": 60.4,
579
+ "teacher_dice_labeled": [
580
+ 0.2876735695465173,
581
+ 0.45617902944643696,
582
+ 0.1661216846844591,
583
+ 0.2744202625517011,
584
+ 0.41452631979279514,
585
+ 0.5362464651534956,
586
+ 0.20464379152966422,
587
+ 0.28141783931791187
588
+ ],
589
+ "teacher_dice_pool": null,
590
+ "evidence_fg_pixels": 2188227,
591
+ "evidence_nonempty_patches": 164,
592
+ "first_correction": false,
593
+ "restart": "",
594
+ "weights": [
595
+ 0.125,
596
+ 0.125,
597
+ 0.125,
598
+ 0.125,
599
+ 0.125,
600
+ 0.125,
601
+ 0.125,
602
+ 0.125
603
+ ],
604
+ "ensemble_choice": "uniform",
605
+ "candidate_dice": {
606
+ "mixture": 0.5372292629570921,
607
+ "uniform": 0.5577719248545915,
608
+ "top1": 0.5362464651534956,
609
+ "top2": 0.5369621472938708,
610
+ "top3": 0.536194536894178
611
+ },
612
+ "pseudo_student_dice": 0.73435671070419,
613
+ "pseudo_ensemble_dice": 0.56346838228734,
614
+ "pseudo_source": "student",
615
+ "consistency_scale": 0.781,
616
+ "val_dice": 0.8617161226240094,
617
+ "val_vi": 0.16661853359663176,
618
+ "val_ece": 0.007415384371264444
619
+ },
620
+ {
621
+ "round": 7,
622
+ "n_labeled": 174,
623
+ "selection_seconds": 0.0,
624
+ "round_seconds": 66.5,
625
+ "final_consolidation": true,
626
+ "val_dice": 0.8885012303311527,
627
+ "val_vi": 0.14585021657683853,
628
+ "val_ece": 0.006406493248002914
629
+ }
630
+ ],
631
+ "uncertainty_quality": {
632
+ "spearman_uncertainty_error": 0.4591574662939882,
633
+ "auroc_top20_error": 0.6181795328854153
634
+ },
635
+ "al_seconds": 703.3,
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.125,
648
+ 0.125,
649
+ 0.125,
650
+ 0.125,
651
+ 0.125,
652
+ 0.125,
653
+ 0.125,
654
+ 0.125
655
+ ],
656
+ "weight_stats_final": {
657
+ "max_weight": 0.125,
658
+ "entropy": 2.0794415416798357,
659
+ "effective_sources": 7.999999999999998,
660
+ "min_weight": 0.125
661
+ },
662
+ "top_source_final": "c-elegans-dauer-stage",
663
+ "ensemble_choice_final": "",
664
+ "restart": "kept",
665
+ "test_raw_student": {
666
+ "patch_dice": 0.8706010955494335,
667
+ "patch_iou": 0.8062181478807697,
668
+ "patch_precision": 0.8878454942987101,
669
+ "patch_recall": 0.879627908979745,
670
+ "patch_vi": 0.17839662107777113,
671
+ "n_patches": 768,
672
+ "cal_ece": 0.00687900400319244,
673
+ "cal_nll": 0.07303922115646799,
674
+ "cal_brier": 0.021915210183211336,
675
+ "cal_mean_confidence": 0.9768012147741905,
676
+ "cal_accuracy": 0.970001220703125,
677
+ "cal_predicted_prevalence": 0.07367706298828125,
678
+ "cal_true_prevalence": 0.07175954182942708,
679
+ "cal_mean_probability": 0.0744689811575781
680
+ },
681
+ "test_notta": {
682
+ "patch_dice": 0.8706010955494335,
683
+ "patch_iou": 0.8062181478807697,
684
+ "patch_precision": 0.8878454942987101,
685
+ "patch_recall": 0.879627908979745,
686
+ "patch_vi": 0.17839662107777113,
687
+ "n_patches": 768,
688
+ "cal_ece": 0.00687900400319244,
689
+ "cal_nll": 0.07303922115646799,
690
+ "cal_brier": 0.021915210183211336,
691
+ "cal_mean_confidence": 0.9768012147741905,
692
+ "cal_accuracy": 0.970001220703125,
693
+ "cal_predicted_prevalence": 0.07367706298828125,
694
+ "cal_true_prevalence": 0.07175954182942708,
695
+ "cal_mean_probability": 0.0744689811575781
696
+ },
697
+ "test": {
698
+ "patch_dice": 0.8721652716705893,
699
+ "patch_iou": 0.8092648914040117,
700
+ "patch_precision": 0.8889102641225229,
701
+ "patch_recall": 0.8823612947835796,
702
+ "patch_vi": 0.17472178939575436,
703
+ "n_patches": 768,
704
+ "image_dice": 0.8011970493537958,
705
+ "image_iou": 0.6754771032791154,
706
+ "image_precision": 0.7977181274448101,
707
+ "image_recall": 0.8106349655697888,
708
+ "image_vi": 0.19691996364868994,
709
+ "n_images": 6,
710
+ "cal_ece": 0.005060413319983306,
711
+ "cal_nll": 0.06933385008524794,
712
+ "cal_brier": 0.0211606984166082,
713
+ "cal_mean_confidence": 0.9759225850433184,
714
+ "cal_accuracy": 0.9709307352701823,
715
+ "cal_predicted_prevalence": 0.0740521748860677,
716
+ "cal_true_prevalence": 0.07175954182942708,
717
+ "cal_mean_probability": 0.07489795879321344
718
+ },
719
+ "eval_seconds": 12.3,
720
+ "total_seconds": 945.2,
721
+ "resources": {
722
+ "phases": {
723
+ "setup": {
724
+ "seconds": 1.14,
725
+ "peak_cpu_rss_mb": 1027.7,
726
+ "peak_gpu_alloc_mb": 1066.3,
727
+ "peak_gpu_reserved_mb": 1086.0
728
+ },
729
+ "features_and_weights": {
730
+ "seconds": 25.77,
731
+ "peak_cpu_rss_mb": 1809.1,
732
+ "peak_gpu_alloc_mb": 2820.1,
733
+ "peak_gpu_reserved_mb": 3212.0
734
+ },
735
+ "distillation": {
736
+ "seconds": 200.91,
737
+ "peak_cpu_rss_mb": 2938.6,
738
+ "peak_gpu_alloc_mb": 4303.7,
739
+ "peak_gpu_reserved_mb": 4618.0,
740
+ "kd_epochs": 5
741
+ },
742
+ "active_learning": {
743
+ "seconds": 703.34,
744
+ "peak_cpu_rss_mb": 2938.6,
745
+ "peak_gpu_alloc_mb": 4424.0,
746
+ "peak_gpu_reserved_mb": 4626.0,
747
+ "rounds": 6
748
+ },
749
+ "inference": {
750
+ "seconds": 12.3,
751
+ "peak_cpu_rss_mb": 2938.6,
752
+ "peak_gpu_alloc_mb": 2623.4,
753
+ "peak_gpu_reserved_mb": 4626.0,
754
+ "patches": 768,
755
+ "images": 6,
756
+ "patches_per_second": 62.4,
757
+ "seconds_per_image": 2.05
758
+ }
759
+ },
760
+ "peak_gpu_alloc_mb": 4424.0,
761
+ "peak_cpu_rss_mb": 2938.6,
762
+ "total_seconds": 943.5
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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace_b5_s3.pth"
776
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-laplace/budget-5/seed-3/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,30.8,133.2,"[0.278686973709348, 0.6172069054477305, 0.19414410467595433, 0.3158733635275065, 0.5849527168014728, 0.8105764798984268, 0.11111243697584838, 0.21043401064256403]",,179827,22,True,kept,0.8273144858761027,0.8105764798984268,"[0.0007503874401662406, 0.006390021724894883, 2.240702364497097e-05, 0.0016248054634756897, 0.005132506760358811, 0.9859339072089507, 2.702979059074383e-05, 0.0001189345879178869]",mixture,"{'mixture': 0.8107891012852039, 'uniform': 0.7680840640525722, 'top1': 0.8105764798984268, 'top2': 0.8107881846175238, 'top3': 0.8107436386731551}",0.8568044591794021,0.15536332065951733,0.016875869306927235,,,,,
3
+ 2,58,7.6,30.9,"[0.3197324212585647, 0.5186989851123923, 0.18769042400258, 0.32897712171977045, 0.5183921599714619, 0.6796743091805819, 0.15061281497014214, 0.2754290735520091]",,549483,50,False,,,,"[0.004119763372614849, 0.008689933929460799, 7.650411497395904e-05, 0.006745884040301596, 0.009607033535081643, 0.9697850851871787, 0.00014612322378190518, 0.000829672596606807]",mixture,"{'mixture': 0.6799376360850514, 'uniform': 0.6739134714897281, 'top1': 0.6796743091805819, 'top2': 0.6799873705508308, 'top3': 0.6796347829641398}",0.861787266202709,0.14531560750334052,0.01596588622935088,0.6466831096930886,0.6027818783231503,student,0.489,
4
+ 3,87,7.4,127.4,"[0.33816096920786365, 0.5508747489357715, 0.2127544630286278, 0.3342955063859918, 0.5383557530871647, 0.7209293122344551, 0.24296450621113985, 0.2688145903643604]","[0.3631213703221983, 0.6145786325256796, 0.24602950896413575, 0.3664223347709242, 0.6212679758984406, 0.8686868739620435, 0.273348192075486, 0.24215863231774376]",1138003,79,False,,,,"[0.0032977847478816197, 0.007981231489846457, 6.544137261997147e-05, 0.004736441621020206, 0.007809189399856895, 0.9753479342568299, 0.0002449702865546584, 0.0005170068253904648]",mixture,"{'mixture': 0.7213260143771558, 'uniform': 0.6999932181400559, 'top1': 0.7209293122344551, 'top2': 0.7211679464098952, 'top3': 0.7211597694240854}",0.8722882299942253,0.153306299739384,0.011781420070394528,0.5216835236694869,0.4502389093759044,student,0.072,
5
+ 4,116,7.4,134.6,"[0.33335654980390694, 0.5414478519401984, 0.20853802261015897, 0.3302917388799157, 0.5167268481721374, 0.6897356638254668, 0.2592273871447747, 0.27469722168508637]","[0.37884987150908017, 0.6200130681762214, 0.24550768821346203, 0.37607195076658384, 0.6200735224606091, 0.856574798895515, 0.28189492315590287, 0.25733860588598917]",1656088,108,False,,,,"[0.004269758757935813, 0.009866787505957434, 8.522892157258763e-05, 0.006181735356236639, 0.008545139890425265, 0.9699149110425108, 0.0003915512060296217, 0.0007448873193318116]",mixture,"{'mixture': 0.6901279025681524, 'uniform': 0.6820152178728482, 'top1': 0.6897356638254668, 'top2': 0.6900723044431973, 'top3': 0.6898417583058918}",0.7532872911825909,0.3210910036063804,0.016072281468791392,0.5470911753511737,0.39544808173752155,student,0.157,
6
+ 5,145,7.5,139.6,"[0.41676594581650617, 0.5246918455092885, 0.18630663891166677, 0.3641756496484856, 0.4389208361506449, 0.5486765842831056, 0.31428819745996883, 0.3791764241664638]","[0.5572855135959716, 0.5945990793338956, 0.20735111987360755, 0.47074842385203725, 0.4634087060527902, 0.5556566786907592, 0.4294796873842047, 0.4841524752871939]",1757811,135,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.553159440532073, 'uniform': 0.6059717310472152, 'top1': 0.5486765842831056, 'top2': 0.5506095424125969, 'top3': 0.5490036599201282}",0.874420324316172,0.15116773626438473,0.00787832594784592,0.2693943934850826,0.5612330996243244,ensemble,1.0,
7
+ 6,174,7.3,60.4,"[0.2876735695465173, 0.45617902944643696, 0.1661216846844591, 0.2744202625517011, 0.41452631979279514, 0.5362464651534956, 0.20464379152966422, 0.28141783931791187]",,2188227,164,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.5372292629570921, 'uniform': 0.5577719248545915, 'top1': 0.5362464651534956, 'top2': 0.5369621472938708, 'top3': 0.536194536894178}",0.8617161226240094,0.16661853359663176,0.007415384371264444,0.73435671070419,0.56346838228734,student,0.781,
8
+ 7,174,0.0,66.5,,,,,,,,,,,,0.8885012303311527,0.14585021657683853,0.006406493248002914,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-margin/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [03:54:15][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-margin budget=5.0% seed=1 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "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": 5, "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
+ [03:54:15][ 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:54:15][ 0s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [03:54:20][ 5s][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.08
5
+ [03:54:22][ 6s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 2s
6
+ [03:54:27][ 12s][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
+ [03:54:27][ 12s][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
+ [03:54:46][ 30s][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
+ [03:54:46][ 30s][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
+ [03:54:46][ 30s][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
+ [03:54:46][ 30s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [03:54:47][ 32s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [03:54:47][ 32s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [03:55:28][ 72s][KD] soft labels for 3584 patches from 8 teachers in 41s
15
+ [03:55:59][ 104s][KD] epoch 1/5 | patches=3584 | loss=0.5719 | 31s
16
+ [03:56:32][ 136s][KD] epoch 2/5 | patches=3584 | loss=0.4386 | 32s
17
+ [03:57:03][ 168s][KD] epoch 3/5 | patches=3584 | loss=0.4023 | 31s
18
+ [03:57:35][ 199s][KD] epoch 4/5 | patches=3584 | loss=0.3566 | 32s
19
+ [03:58:08][ 232s][KD] epoch 5/5 | patches=3584 | loss=0.3329 | 33s
20
+ [03:58:09][ 234s][ROUND0] before any target label: val_dice=0.8409 val_vi=0.1472
21
+ [03:58:09][ 234s][AL] patches=3584 (pool 2338 after dropping blank; free blank negatives: True) | budget=179 (5.0%) | rounds=6 | per_round=29 | acquisition=margin | first_round=stratified
22
+ [03:58:13][ 237s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': 0.3286775006068347, 'auroc_top20_error': 0.4926333470451118}
23
+ [03:58:36][ 260s][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
+ [03:58:39][ 263s][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
+ [03:58:39][ 264s][WEIGHTS] round 1: student kept (labeled Dice 0.749 vs best teacher oct-glia 0.731); distilling the corrected ensemble into it
26
+ [03:58:39][ 264s][WEIGHTS] round 1: teacher Dice on 29 labeled patches + 29 blank (237130 fg px): c-elegans=0.296, cerebellum=0.620, 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
+ [03:59:06][ 290s][KD] soft labels for 2309 patches from 8 teachers in 26s
28
+ [03:59:27][ 311s][KD] epoch 1/2 | patches=2309 | loss=0.7236 | 21s
29
+ [03:59:47][ 332s][KD] epoch 2/2 | patches=2309 | loss=0.6172 | 20s
30
+ [04:00:10][ 355s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [04:00:12][ 356s][FT] round 1/6 epoch 1/5 | patches=58 | loss=1.4217
32
+ [04:00:13][ 358s][FT] round 1/6 epoch 2/5 | patches=58 | loss=1.3267
33
+ [04:00:15][ 359s][FT] round 1/6 epoch 3/5 | patches=58 | loss=1.3169
34
+ [04:00:16][ 361s][FT] round 1/6 epoch 4/5 | patches=58 | loss=1.2685
35
+ [04:00:18][ 362s][FT] round 1/6 epoch 5/5 | patches=58 | loss=1.3223
36
+ [04:00:19][ 364s][AL] round 1/6 | labeled=29 | selection_seconds=26.7000 round_seconds=128.6000 restart_student_dice=0.7494 restart_teacher_dice=0.7308 val_dice=0.4001 val_vi=0.1954 val_ece=0.0596
37
+ [04:00:23][ 367s][AL] round 2: 536/2309 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [04:00:29][ 373s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.655, uniform=0.552, top1=0.655, top2=0.655, top3=0.655 -> using mixture
39
+ [04:00:29][ 373s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (430675 fg px): c-elegans=0.226, cerebellum=0.352, flywire=0.158, berghia=0.255, microns=0.437, oct-glia=0.655, snemi=0.128, mouse-brain=0.211 | weights: c-elegans=0.002, cerebellum=0.002, flywire=0.000, berghia=0.004, microns=0.006, oct-glia=0.985, snemi=0.000, mouse-brain=0.001
40
+ [04:00:31][ 376s][CONS] round 2: on the 29 new patches student Dice=0.495 vs ensemble 0.550 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [04:00:34][ 378s][FT] round 2/6 epoch 1/5 | patches=116 | loss=1.3258
42
+ [04:00:36][ 381s][FT] round 2/6 epoch 2/5 | patches=116 | loss=1.3389
43
+ [04:00:38][ 383s][FT] round 2/6 epoch 3/5 | patches=116 | loss=1.3048
44
+ [04:00:41][ 385s][FT] round 2/6 epoch 4/5 | patches=116 | loss=1.2951
45
+ [04:00:43][ 388s][FT] round 2/6 epoch 5/5 | patches=116 | loss=1.2841
46
+ [04:00:45][ 389s][AL] round 2/6 | labeled=58 | selection_seconds=3.9000 round_seconds=23.9000 pseudo_student_dice=0.4952 pseudo_ensemble_dice=0.5501 consistency_scale=1.0000 val_dice=0.4091 val_vi=0.1649 val_ece=0.0362
47
+ [04:00:48][ 393s][AL] round 3: 575/2280 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [04:00:56][ 401s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.419, uniform=0.435, top1=0.417, top2=0.415, top3=0.416 -> using uniform
49
+ [04:00:56][ 401s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (1337552 fg px): c-elegans=0.283, cerebellum=0.333, flywire=0.143, berghia=0.223, microns=0.357, oct-glia=0.417, snemi=0.238, mouse-brain=0.314 | 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
50
+ [04:01:02][ 406s][CONS] round 3: on the 29 new patches student Dice=0.379 vs ensemble 0.330 -> pseudo-labels from the student | consistency x0.00
51
+ [04:01:04][ 408s][FT] round 3/6 epoch 1/5 | patches=174 | loss=1.1071
52
+ [04:01:05][ 410s][FT] round 3/6 epoch 2/5 | patches=174 | loss=1.0589
53
+ [04:01:07][ 412s][FT] round 3/6 epoch 3/5 | patches=174 | loss=0.9893
54
+ [04:01:09][ 414s][FT] round 3/6 epoch 4/5 | patches=174 | loss=0.9455
55
+ [04:01:11][ 415s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.8964
56
+ [04:01:12][ 417s][AL] round 3/6 | labeled=87 | selection_seconds=3.6000 round_seconds=26.3000 pseudo_student_dice=0.3792 pseudo_ensemble_dice=0.3304 consistency_scale=0.0000 val_dice=0.4166 val_vi=0.4205 val_ece=0.2388
57
+ [04:01:16][ 420s][AL] round 4: 83/2251 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [04:02:07][ 472s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.328, cerebellum=0.460, flywire=0.164, berghia=0.272, microns=0.372, oct-glia=0.534, snemi=0.562, mouse-brain=0.246 | blended with labeled Dice at 0.50
59
+ [04:02:56][ 521s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.495, uniform=0.510, top1=0.492, top2=0.493, top3=0.494 -> using uniform
60
+ [04:02:56][ 521s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (1499750 fg px): c-elegans=0.297, cerebellum=0.407, flywire=0.154, berghia=0.252, microns=0.373, oct-glia=0.492, snemi=0.384, mouse-brain=0.266 | 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
61
+ [04:02:59][ 523s][CONS] round 4: on the 29 new patches student Dice=0.123 vs ensemble 0.671 -> pseudo-labels from the ensemble | consistency x1.00
62
+ [04:03:03][ 528s][FT] round 4/6 epoch 1/5 | patches=232 | loss=1.3456
63
+ [04:03:08][ 532s][FT] round 4/6 epoch 2/5 | patches=232 | loss=1.2946
64
+ [04:03:12][ 536s][FT] round 4/6 epoch 3/5 | patches=232 | loss=1.2901
65
+ [04:03:16][ 541s][FT] round 4/6 epoch 4/5 | patches=232 | loss=1.2260
66
+ [04:03:21][ 545s][FT] round 4/6 epoch 5/5 | patches=232 | loss=1.2357
67
+ [04:03:22][ 547s][AL] round 4/6 | labeled=116 | selection_seconds=3.7000 round_seconds=128.2000 pseudo_student_dice=0.1227 pseudo_ensemble_dice=0.6706 consistency_scale=1.0000 val_dice=0.4529 val_vi=0.1619 val_ece=0.0398
68
+ [04:03:26][ 550s][AL] round 5: 561/2222 candidates skipped as agreed-empty (predicted prevalence < 0.005)
69
+ [04:03:39][ 564s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.451, uniform=0.479, top1=0.450, top2=0.450, top3=0.449 -> using uniform
70
+ [04:03:39][ 564s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (1979991 fg px): c-elegans=0.286, cerebellum=0.376, flywire=0.149, berghia=0.242, microns=0.375, oct-glia=0.450, snemi=0.212, 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
71
+ [04:03:45][ 569s][CONS] round 5: on the 29 new patches student Dice=0.657 vs ensemble 0.519 -> pseudo-labels from the student | consistency x0.52
72
+ [04:03:50][ 575s][FT] round 5/6 epoch 1/5 | patches=290 | loss=1.0593
73
+ [04:03:56][ 580s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.9525
74
+ [04:04:01][ 586s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.9657
75
+ [04:04:06][ 591s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.9394
76
+ [04:04:12][ 596s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.9132
77
+ [04:04:13][ 598s][AL] round 5/6 | labeled=145 | selection_seconds=3.8000 round_seconds=49.6000 pseudo_student_dice=0.6574 pseudo_ensemble_dice=0.5187 consistency_scale=0.5250 val_dice=0.8724 val_vi=0.1473 val_ece=0.0059
78
+ [04:04:17][ 601s][AL] round 6: 569/2193 candidates skipped as agreed-empty (predicted prevalence < 0.005)
79
+ [04:05:11][ 655s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.410, cerebellum=0.662, flywire=0.240, berghia=0.384, microns=0.599, oct-glia=0.865, snemi=0.303, mouse-brain=0.278 | blended with labeled Dice at 0.50
80
+ [04:06:02][ 706s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.656, uniform=0.660, top1=0.656, top2=0.657, top3=0.656 -> using mixture
81
+ [04:06:02][ 706s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (2503796 fg px): c-elegans=0.350, cerebellum=0.522, flywire=0.196, berghia=0.317, microns=0.489, oct-glia=0.656, snemi=0.265, mouse-brain=0.290 | weights: c-elegans=0.007, cerebellum=0.011, flywire=0.000, berghia=0.008, microns=0.009, oct-glia=0.963, snemi=0.001, mouse-brain=0.001
82
+ [04:06:08][ 712s][CONS] round 6: on the 29 new patches student Dice=0.618 vs ensemble 0.436 -> pseudo-labels from the student | consistency x0.39
83
+ [04:06:14][ 719s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.8625
84
+ [04:06:21][ 725s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.8528
85
+ [04:06:27][ 731s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.8994
86
+ [04:06:33][ 738s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.8433
87
+ [04:06:39][ 744s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.7899
88
+ [04:06:41][ 746s][AL] round 6/6 | labeled=174 | selection_seconds=3.6000 round_seconds=146.1000 pseudo_student_dice=0.6182 pseudo_ensemble_dice=0.4361 consistency_scale=0.3940 val_dice=0.8941 val_vi=0.1443 val_ece=0.0098
89
+ [04:06:44][ 749s][CONS] final consolidation: pseudo-labels refreshed from the student
90
+ [04:06:50][ 755s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.7530
91
+ [04:06:57][ 761s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.7795
92
+ [04:07:03][ 768s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.7870
93
+ [04:07:09][ 774s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.7724
94
+ [04:07:16][ 780s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.7437
95
+ [04:07:22][ 787s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.7325
96
+ [04:07:28][ 793s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.7313
97
+ [04:07:35][ 799s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.7160
98
+ [04:07:41][ 806s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.7257
99
+ [04:07:47][ 812s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.7021
100
+ [04:07:49][ 813s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=66.4000 val_dice=0.8996 val_vi=0.1415 val_ece=0.0054
101
+ [04:07:49][ 813s][WEIGHTS] final: c-elegans=0.007, cerebellum=0.011, flywire=0.000, berghia=0.008, microns=0.009, oct-glia=0.963, snemi=0.001, mouse-brain=0.001
102
+ [04:08:00][ 824s][TEST] raw student (no EMA, no TTA): patch_dice=0.8708 patch_vi=0.1813
103
+ [04:08:01][ 826s][TEST] final model without TTA: patch_dice=0.8708 patch_vi=0.1813
104
+ [04:08:01][ 826s][RESOURCES] {"phases": {"setup": {"seconds": 4.33, "peak_cpu_rss_mb": 1027.1, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 27.04, "peak_cpu_rss_mb": 1808.3, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 200.49, "peak_cpu_rss_mb": 2937.4, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 579.87, "peak_cpu_rss_mb": 2937.4, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4626.0, "rounds": 6}, "inference": {"seconds": 12.25, "peak_cpu_rss_mb": 2937.4, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4626.0, "patches": 768, "images": 6, "patches_per_second": 62.7, "seconds_per_image": 2.042}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2937.4, "total_seconds": 824.0}
105
+ [04:08:01][ 826s][TEST] patch_dice=0.8774 patch_iou=0.8156 patch_precision=0.8777 patch_recall=0.9054 patch_vi=0.1781 image_dice=0.8013 image_iou=0.6749 image_precision=0.7567 image_recall=0.8591 image_vi=0.2061 cal_ece=0.0078 cal_nll=0.0752 cal_brier=0.0227 cal_mean_confidence=0.9765 cal_accuracy=0.9687 cal_predicted_prevalence=0.0818 cal_true_prevalence=0.0718 cal_mean_probability=0.0830
106
+ [04:08:01][ 826s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-margin b5 s1 | test patch Dice=0.8774 VI=0.1781 | image Dice=0.8013 VI=0.2061 | 826s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-margin/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,767 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-margin",
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-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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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-margin",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.09888773316940314,
154
+ 0.02852238358730045,
155
+ 0.006877111295002701,
156
+ 0.14762496137410624,
157
+ 0.031629415990885375,
158
+ 0.6364113152878205,
159
+ 0.01903121486130303,
160
+ 0.03101586443417853
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.09888773316940314,
175
+ 0.02852238358730045,
176
+ 0.006877111295002701,
177
+ 0.14762496137410624,
178
+ 0.031629415990885375,
179
+ 0.6364113152878205,
180
+ 0.01903121486130303,
181
+ 0.03101586443417853
182
+ ],
183
+ "per_source": [
184
+ 0.3196472209911767,
185
+ 0.016524281783989066,
186
+ 0.0007715704214095669,
187
+ 0.17539935780265475,
188
+ 0.02748152710843107,
189
+ 0.4363201963447303,
190
+ 0.016643455180579362,
191
+ 0.00721239036702913
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.00048684441851293454,
205
+ "mmd2_mixture": 0.01275567083190321,
206
+ "mmd2_uniform": 0.09698324592915836,
207
+ "mmd2_single_source": [
208
+ 0.07244541101040552,
209
+ 0.256897395483041,
210
+ 0.3929088032810887,
211
+ 0.05287172109384486,
212
+ 0.26498470596000767,
213
+ 0.011934168264888134,
214
+ 0.339258942897097,
215
+ 0.2684433232010991
216
+ ],
217
+ "median_squared_distance": 0.18344226468067681,
218
+ "gammas": [
219
+ 1.3628266116054668,
220
+ 2.7256532232109336,
221
+ 5.451306446421867,
222
+ 10.902612892843734,
223
+ 21.80522578568747
224
+ ],
225
+ "max_weight": 0.6364113152878205,
226
+ "entropy": 1.2268826413390275,
227
+ "effective_sources": 3.410580943129122,
228
+ "min_weight": 0.006877111295002701
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.0496200334528889,
233
+ 0.42663682749168497,
234
+ 0.8166058321365515,
235
+ 0.12600018979150718,
236
+ 0.3618977926472007,
237
+ 0.01001955344998784,
238
+ 0.4257222632020228,
239
+ 0.5321458020642489
240
+ ],
241
+ "standardized": [
242
+ -1.1548905481172125,
243
+ 0.3263029673133632,
244
+ 1.8583820949064265,
245
+ -0.8548142807860197,
246
+ 0.07196140979373515,
247
+ -1.3104697560349354,
248
+ 0.32270990006354566,
249
+ 0.7408182128610976
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363201963447303,
253
+ "entropy": 1.3076016834873658,
254
+ "effective_sources": 3.6972957848927845,
255
+ "min_weight": 0.0007715704214095669
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 7.4
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4757138324136084,
265
+ 0.6329416506363946,
266
+ 0.14191107641715917,
267
+ 0.4669227387129098,
268
+ 0.7079858630413108,
269
+ 0.8450575342195966,
270
+ 0.2290226697023551,
271
+ 0.11473197497037783
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8487996328814233,
275
+ "mixture@raw": 0.8468783370062004,
276
+ "mixture@logit": 0.8498165961112344,
277
+ "per_source": 0.8430704623597217,
278
+ "per_source@raw": 0.6192918885999461,
279
+ "per_source@logit": 0.8479512470904803,
280
+ "uniform": 0.7183095932451996,
281
+ "uniform@raw": 0.6771602818911759,
282
+ "uniform@logit": 0.8065076510127938
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 3.5461363792419434,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.6364113152878205,
299
+ "entropy": 1.2268826413390275,
300
+ "effective_sources": 3.410580943129122,
301
+ "min_weight": 0.006877111295002701
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": 200.5,
313
+ "round0_val": {
314
+ "val_dice": 0.8408797944320378,
315
+ "val_vi": 0.1471621710815322,
316
+ "val_ece": 0.06254463788501025
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 26.7,
323
+ "round_seconds": 128.6,
324
+ "teacher_dice_labeled": [
325
+ 0.29569636245422026,
326
+ 0.6197098722923,
327
+ 0.1958949614829199,
328
+ 0.3302973386383346,
329
+ 0.5508880100223538,
330
+ 0.7308314626395732,
331
+ 0.1505046807462434,
332
+ 0.23392840178802965
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.749368381186149,
340
+ "restart_teacher_dice": 0.7308314626395732,
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.730833809182471,
354
+ "uniform": 0.7387444226325794,
355
+ "top1": 0.7308314626395732,
356
+ "top2": 0.731135280471351,
357
+ "top3": 0.7306861293999558
358
+ },
359
+ "val_dice": 0.40014016389188084,
360
+ "val_vi": 0.19540568040446374,
361
+ "val_ece": 0.05964780378486368
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 3.9,
367
+ "round_seconds": 23.9,
368
+ "teacher_dice_labeled": [
369
+ 0.22591072500584414,
370
+ 0.3517937333074959,
371
+ 0.15802432610526804,
372
+ 0.25522763821882105,
373
+ 0.43711356544332,
374
+ 0.6554180053154208,
375
+ 0.127741343329143,
376
+ 0.2108749243984569
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 430675,
380
+ "evidence_nonempty_patches": 49,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.0020876127760991476,
385
+ 0.0021202950500547766,
386
+ 7.36354072139125e-05,
387
+ 0.0041781983943484004,
388
+ 0.005518753282945707,
389
+ 0.9853076052792571,
390
+ 0.00015053234578362758,
391
+ 0.0005633674642973701
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.6553196975148962,
396
+ "uniform": 0.551515749726868,
397
+ "top1": 0.6554180053154208,
398
+ "top2": 0.6551663541812812,
399
+ "top3": 0.6551893202438965
400
+ },
401
+ "pseudo_student_dice": 0.4951777392874907,
402
+ "pseudo_ensemble_dice": 0.5500707948375794,
403
+ "pseudo_source": "ensemble",
404
+ "consistency_scale": 1.0,
405
+ "val_dice": 0.4091470433278109,
406
+ "val_vi": 0.16486421629670236,
407
+ "val_ece": 0.03624841428508624
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 3.6,
413
+ "round_seconds": 26.3,
414
+ "teacher_dice_labeled": [
415
+ 0.2825503726481719,
416
+ 0.33345789577819174,
417
+ 0.14333429919434593,
418
+ 0.22282084470182645,
419
+ 0.35654819022203804,
420
+ 0.4168395243709581,
421
+ 0.23813570786869134,
422
+ 0.3137797196004813
423
+ ],
424
+ "teacher_dice_pool": null,
425
+ "evidence_fg_pixels": 1337552,
426
+ "evidence_nonempty_patches": 78,
427
+ "first_correction": false,
428
+ "restart": "",
429
+ "weights": [
430
+ 0.125,
431
+ 0.125,
432
+ 0.125,
433
+ 0.125,
434
+ 0.125,
435
+ 0.125,
436
+ 0.125,
437
+ 0.125
438
+ ],
439
+ "ensemble_choice": "uniform",
440
+ "candidate_dice": {
441
+ "mixture": 0.418985243294828,
442
+ "uniform": 0.4346946450266119,
443
+ "top1": 0.4168395243709581,
444
+ "top2": 0.41525322405442944,
445
+ "top3": 0.41554170758199205
446
+ },
447
+ "pseudo_student_dice": 0.3791860455265543,
448
+ "pseudo_ensemble_dice": 0.3304222018760689,
449
+ "pseudo_source": "student",
450
+ "consistency_scale": 0.0,
451
+ "val_dice": 0.41663767109360444,
452
+ "val_vi": 0.4204583851205233,
453
+ "val_ece": 0.2387630061823596
454
+ },
455
+ {
456
+ "round": 4,
457
+ "n_labeled": 116,
458
+ "selection_seconds": 3.7,
459
+ "round_seconds": 128.2,
460
+ "teacher_dice_labeled": [
461
+ 0.2969813743939188,
462
+ 0.4072742803649082,
463
+ 0.15403333647361286,
464
+ 0.25234984003272964,
465
+ 0.37322180151283557,
466
+ 0.4923612267773314,
467
+ 0.38435115895613686,
468
+ 0.2663083992428939
469
+ ],
470
+ "teacher_dice_pool": [
471
+ 0.32769681668831147,
472
+ 0.4600198472689253,
473
+ 0.16416407488008553,
474
+ 0.2719897206667647,
475
+ 0.37222389220911345,
476
+ 0.5336886450915855,
477
+ 0.5621863582223808,
478
+ 0.24645560702223043
479
+ ],
480
+ "evidence_fg_pixels": 1499750,
481
+ "evidence_nonempty_patches": 104,
482
+ "first_correction": false,
483
+ "restart": "",
484
+ "weights": [
485
+ 0.125,
486
+ 0.125,
487
+ 0.125,
488
+ 0.125,
489
+ 0.125,
490
+ 0.125,
491
+ 0.125,
492
+ 0.125
493
+ ],
494
+ "ensemble_choice": "uniform",
495
+ "candidate_dice": {
496
+ "mixture": 0.49466062043967657,
497
+ "uniform": 0.5095499189370184,
498
+ "top1": 0.4923612267773314,
499
+ "top2": 0.49321355675721384,
500
+ "top3": 0.494243065939525
501
+ },
502
+ "pseudo_student_dice": 0.12269247283674595,
503
+ "pseudo_ensemble_dice": 0.67057551441357,
504
+ "pseudo_source": "ensemble",
505
+ "consistency_scale": 1.0,
506
+ "val_dice": 0.4529003077444256,
507
+ "val_vi": 0.1618501742375552,
508
+ "val_ece": 0.03984077059544547
509
+ },
510
+ {
511
+ "round": 5,
512
+ "n_labeled": 145,
513
+ "selection_seconds": 3.8,
514
+ "round_seconds": 49.6,
515
+ "teacher_dice_labeled": [
516
+ 0.28635443682328976,
517
+ 0.3761179026020876,
518
+ 0.14867873534616236,
519
+ 0.2422393842583288,
520
+ 0.37512147747731395,
521
+ 0.4498236328623156,
522
+ 0.21215624038179035,
523
+ 0.30371129831917815
524
+ ],
525
+ "teacher_dice_pool": null,
526
+ "evidence_fg_pixels": 1979991,
527
+ "evidence_nonempty_patches": 133,
528
+ "first_correction": false,
529
+ "restart": "",
530
+ "weights": [
531
+ 0.125,
532
+ 0.125,
533
+ 0.125,
534
+ 0.125,
535
+ 0.125,
536
+ 0.125,
537
+ 0.125,
538
+ 0.125
539
+ ],
540
+ "ensemble_choice": "uniform",
541
+ "candidate_dice": {
542
+ "mixture": 0.4514495482765114,
543
+ "uniform": 0.478574732040192,
544
+ "top1": 0.4498236328623156,
545
+ "top2": 0.4503073352358141,
546
+ "top3": 0.4489798877982555
547
+ },
548
+ "pseudo_student_dice": 0.6573682579006355,
549
+ "pseudo_ensemble_dice": 0.5186765316630713,
550
+ "pseudo_source": "student",
551
+ "consistency_scale": 0.525,
552
+ "val_dice": 0.872368749411296,
553
+ "val_vi": 0.14727879594978444,
554
+ "val_ece": 0.005879442031278861
555
+ },
556
+ {
557
+ "round": 6,
558
+ "n_labeled": 174,
559
+ "selection_seconds": 3.6,
560
+ "round_seconds": 146.1,
561
+ "teacher_dice_labeled": [
562
+ 0.34966348004284153,
563
+ 0.5224991181605332,
564
+ 0.1961675156290587,
565
+ 0.3170608008365486,
566
+ 0.48857806541319204,
567
+ 0.6559357726159281,
568
+ 0.26461644923199584,
569
+ 0.29042007013582627
570
+ ],
571
+ "teacher_dice_pool": [
572
+ 0.4100624776609388,
573
+ 0.6622054020576088,
574
+ 0.24016586508634488,
575
+ 0.3841922238786771,
576
+ 0.5988061724159435,
577
+ 0.8649623049709401,
578
+ 0.3026851799005647,
579
+ 0.27770776236942235
580
+ ],
581
+ "evidence_fg_pixels": 2503796,
582
+ "evidence_nonempty_patches": 162,
583
+ "first_correction": false,
584
+ "restart": "",
585
+ "weights": [
586
+ 0.006998517317108208,
587
+ 0.011367502944338007,
588
+ 0.00010486852735956787,
589
+ 0.007541049303920208,
590
+ 0.008979521030995922,
591
+ 0.9632193067092194,
592
+ 0.0005754075693240222,
593
+ 0.0012138265977347025
594
+ ],
595
+ "ensemble_choice": "mixture",
596
+ "candidate_dice": {
597
+ "mixture": 0.6564190895903512,
598
+ "uniform": 0.6601919630013362,
599
+ "top1": 0.6559357726159281,
600
+ "top2": 0.6565601036059059,
601
+ "top3": 0.6557210754470408
602
+ },
603
+ "pseudo_student_dice": 0.618239192860665,
604
+ "pseudo_ensemble_dice": 0.4361382280324493,
605
+ "pseudo_source": "student",
606
+ "consistency_scale": 0.394,
607
+ "val_dice": 0.8941350213311284,
608
+ "val_vi": 0.14431789469130596,
609
+ "val_ece": 0.009760565396891685
610
+ },
611
+ {
612
+ "round": 7,
613
+ "n_labeled": 174,
614
+ "selection_seconds": 0.0,
615
+ "round_seconds": 66.4,
616
+ "final_consolidation": true,
617
+ "val_dice": 0.8995945889022355,
618
+ "val_vi": 0.14149496184449994,
619
+ "val_ece": 0.0054247581622388205
620
+ }
621
+ ],
622
+ "uncertainty_quality": {
623
+ "spearman_uncertainty_error": 0.3286775006068347,
624
+ "auroc_top20_error": 0.4926333470451118
625
+ },
626
+ "al_seconds": 579.9,
627
+ "source_archs": [
628
+ "unet",
629
+ "unet",
630
+ "unet",
631
+ "unet",
632
+ "unet",
633
+ "unet",
634
+ "unet",
635
+ "unet"
636
+ ],
637
+ "alphas_final": [
638
+ 0.006998517317108208,
639
+ 0.011367502944338007,
640
+ 0.00010486852735956787,
641
+ 0.007541049303920208,
642
+ 0.008979521030995922,
643
+ 0.9632193067092194,
644
+ 0.0005754075693240222,
645
+ 0.0012138265977347025
646
+ ],
647
+ "weight_stats_final": {
648
+ "max_weight": 0.9632193067092194,
649
+ "entropy": 0.2142932753715035,
650
+ "effective_sources": 1.2389859655851392,
651
+ "min_weight": 0.00010486852735956787
652
+ },
653
+ "top_source_final": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
654
+ "ensemble_choice_final": "",
655
+ "restart": "kept",
656
+ "test_raw_student": {
657
+ "patch_dice": 0.8708351518479791,
658
+ "patch_iou": 0.8067548801798852,
659
+ "patch_precision": 0.8696299699165779,
660
+ "patch_recall": 0.9032768737050612,
661
+ "patch_vi": 0.1812900673335056,
662
+ "n_patches": 768,
663
+ "cal_ece": 0.009750707704115536,
664
+ "cal_nll": 0.08071878577839842,
665
+ "cal_brier": 0.02364779874333658,
666
+ "cal_mean_confidence": 0.9777733720921362,
667
+ "cal_accuracy": 0.9680226643880209,
668
+ "cal_predicted_prevalence": 0.08139546712239583,
669
+ "cal_true_prevalence": 0.07175954182942708,
670
+ "cal_mean_probability": 0.08214897919586299
671
+ },
672
+ "test_notta": {
673
+ "patch_dice": 0.8708351518479791,
674
+ "patch_iou": 0.8067548801798852,
675
+ "patch_precision": 0.8696299699165779,
676
+ "patch_recall": 0.9032768737050612,
677
+ "patch_vi": 0.1812900673335056,
678
+ "n_patches": 768,
679
+ "cal_ece": 0.009750707704115536,
680
+ "cal_nll": 0.08071878577839842,
681
+ "cal_brier": 0.02364779874333658,
682
+ "cal_mean_confidence": 0.9777733720921362,
683
+ "cal_accuracy": 0.9680226643880209,
684
+ "cal_predicted_prevalence": 0.08139546712239583,
685
+ "cal_true_prevalence": 0.07175954182942708,
686
+ "cal_mean_probability": 0.08214897919586299
687
+ },
688
+ "test": {
689
+ "patch_dice": 0.8773587173152141,
690
+ "patch_iou": 0.8155625933215656,
691
+ "patch_precision": 0.8777242031910709,
692
+ "patch_recall": 0.9053688680403686,
693
+ "patch_vi": 0.1780580080486999,
694
+ "n_patches": 768,
695
+ "image_dice": 0.8013153406391118,
696
+ "image_iou": 0.6749187689784778,
697
+ "image_precision": 0.756699242658336,
698
+ "image_recall": 0.8591299849043321,
699
+ "image_vi": 0.2061392803206973,
700
+ "n_images": 6,
701
+ "cal_ece": 0.007827613516782296,
702
+ "cal_nll": 0.07517227874221732,
703
+ "cal_brier": 0.02271224630967771,
704
+ "cal_mean_confidence": 0.9764888849823414,
705
+ "cal_accuracy": 0.9687309265136719,
706
+ "cal_predicted_prevalence": 0.08178329467773438,
707
+ "cal_true_prevalence": 0.07175954182942708,
708
+ "cal_mean_probability": 0.08299390230094521
709
+ },
710
+ "eval_seconds": 12.2,
711
+ "total_seconds": 825.7,
712
+ "resources": {
713
+ "phases": {
714
+ "setup": {
715
+ "seconds": 4.33,
716
+ "peak_cpu_rss_mb": 1027.1,
717
+ "peak_gpu_alloc_mb": 1066.3,
718
+ "peak_gpu_reserved_mb": 1086.0
719
+ },
720
+ "features_and_weights": {
721
+ "seconds": 27.04,
722
+ "peak_cpu_rss_mb": 1808.3,
723
+ "peak_gpu_alloc_mb": 2820.1,
724
+ "peak_gpu_reserved_mb": 3212.0
725
+ },
726
+ "distillation": {
727
+ "seconds": 200.49,
728
+ "peak_cpu_rss_mb": 2937.4,
729
+ "peak_gpu_alloc_mb": 4303.7,
730
+ "peak_gpu_reserved_mb": 4618.0,
731
+ "kd_epochs": 5
732
+ },
733
+ "active_learning": {
734
+ "seconds": 579.87,
735
+ "peak_cpu_rss_mb": 2937.4,
736
+ "peak_gpu_alloc_mb": 4424.0,
737
+ "peak_gpu_reserved_mb": 4626.0,
738
+ "rounds": 6
739
+ },
740
+ "inference": {
741
+ "seconds": 12.25,
742
+ "peak_cpu_rss_mb": 2937.4,
743
+ "peak_gpu_alloc_mb": 2623.4,
744
+ "peak_gpu_reserved_mb": 4626.0,
745
+ "patches": 768,
746
+ "images": 6,
747
+ "patches_per_second": 62.7,
748
+ "seconds_per_image": 2.042
749
+ }
750
+ },
751
+ "peak_gpu_alloc_mb": 4424.0,
752
+ "peak_cpu_rss_mb": 2937.4,
753
+ "total_seconds": 824.0
754
+ },
755
+ "student_parameters": 31042369,
756
+ "teacher_parameters": [
757
+ 31042369,
758
+ 31042369,
759
+ 31042369,
760
+ 31042369,
761
+ 31042369,
762
+ 31042369,
763
+ 31042369,
764
+ 31042369
765
+ ],
766
+ "checkpoint": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-margin_b5_s1.pth"
767
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/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,29,26.7,128.6,"[0.29569636245422026, 0.6197098722923, 0.1958949614829199, 0.3302973386383346, 0.5508880100223538, 0.7308314626395732, 0.1505046807462434, 0.23392840178802965]",,237130,23,True,kept,0.749368381186149,0.7308314626395732,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.730833809182471, 'uniform': 0.7387444226325794, 'top1': 0.7308314626395732, 'top2': 0.731135280471351, 'top3': 0.7306861293999558}",0.40014016389188084,0.19540568040446374,0.05964780378486368,,,,,
3
+ 2,58,3.9,23.9,"[0.22591072500584414, 0.3517937333074959, 0.15802432610526804, 0.25522763821882105, 0.43711356544332, 0.6554180053154208, 0.127741343329143, 0.2108749243984569]",,430675,49,False,,,,"[0.0020876127760991476, 0.0021202950500547766, 7.36354072139125e-05, 0.0041781983943484004, 0.005518753282945707, 0.9853076052792571, 0.00015053234578362758, 0.0005633674642973701]",mixture,"{'mixture': 0.6553196975148962, 'uniform': 0.551515749726868, 'top1': 0.6554180053154208, 'top2': 0.6551663541812812, 'top3': 0.6551893202438965}",0.4091470433278109,0.16486421629670236,0.03624841428508624,0.4951777392874907,0.5500707948375794,ensemble,1.0,
4
+ 3,87,3.6,26.3,"[0.2825503726481719, 0.33345789577819174, 0.14333429919434593, 0.22282084470182645, 0.35654819022203804, 0.4168395243709581, 0.23813570786869134, 0.3137797196004813]",,1337552,78,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.418985243294828, 'uniform': 0.4346946450266119, 'top1': 0.4168395243709581, 'top2': 0.41525322405442944, 'top3': 0.41554170758199205}",0.41663767109360444,0.4204583851205233,0.2387630061823596,0.3791860455265543,0.3304222018760689,student,0.0,
5
+ 4,116,3.7,128.2,"[0.2969813743939188, 0.4072742803649082, 0.15403333647361286, 0.25234984003272964, 0.37322180151283557, 0.4923612267773314, 0.38435115895613686, 0.2663083992428939]","[0.32769681668831147, 0.4600198472689253, 0.16416407488008553, 0.2719897206667647, 0.37222389220911345, 0.5336886450915855, 0.5621863582223808, 0.24645560702223043]",1499750,104,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.49466062043967657, 'uniform': 0.5095499189370184, 'top1': 0.4923612267773314, 'top2': 0.49321355675721384, 'top3': 0.494243065939525}",0.4529003077444256,0.1618501742375552,0.03984077059544547,0.12269247283674595,0.67057551441357,ensemble,1.0,
6
+ 5,145,3.8,49.6,"[0.28635443682328976, 0.3761179026020876, 0.14867873534616236, 0.2422393842583288, 0.37512147747731395, 0.4498236328623156, 0.21215624038179035, 0.30371129831917815]",,1979991,133,False,,,,"[0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]",uniform,"{'mixture': 0.4514495482765114, 'uniform': 0.478574732040192, 'top1': 0.4498236328623156, 'top2': 0.4503073352358141, 'top3': 0.4489798877982555}",0.872368749411296,0.14727879594978444,0.005879442031278861,0.6573682579006355,0.5186765316630713,student,0.525,
7
+ 6,174,3.6,146.1,"[0.34966348004284153, 0.5224991181605332, 0.1961675156290587, 0.3170608008365486, 0.48857806541319204, 0.6559357726159281, 0.26461644923199584, 0.29042007013582627]","[0.4100624776609388, 0.6622054020576088, 0.24016586508634488, 0.3841922238786771, 0.5988061724159435, 0.8649623049709401, 0.3026851799005647, 0.27770776236942235]",2503796,162,False,,,,"[0.006998517317108208, 0.011367502944338007, 0.00010486852735956787, 0.007541049303920208, 0.008979521030995922, 0.9632193067092194, 0.0005754075693240222, 0.0012138265977347025]",mixture,"{'mixture': 0.6564190895903512, 'uniform': 0.6601919630013362, 'top1': 0.6559357726159281, 'top2': 0.6565601036059059, 'top3': 0.6557210754470408}",0.8941350213311284,0.14431789469130596,0.009760565396891685,0.618239192860665,0.4361382280324493,student,0.394,
8
+ 7,174,0.0,66.4,,,,,,,,,,,,0.8995945889022355,0.14149496184449994,0.0054247581622388205,,,,,True
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-random/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [06:41:25][ 0s][START] target=octopus-vulgaris-vertical-lobe-sfltract variant=macs-v11-norestart-acq-random budget=5.0% seed=2 | {"task": "membrane", "target": "octopus-vulgaris-vertical-lobe-sfltract", "variant": "macs-v11-norestart-acq-random", "budget": 5.0, "seed": 2, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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
+ [06:41:25][ 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:41:25][ 0s][DATA] octopus-vulgaris-vertical-lobe-sfltract: train=3584 val=768 test=768 patches
4
+ [06:41:26][ 1s][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.08
5
+ [06:41:27][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [06:41:32][ 8s][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
+ [06:41:32][ 8s][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
+ [06:41:51][ 26s][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
+ [06:41:51][ 26s][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
+ [06:41:51][ 26s][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
+ [06:41:51][ 26s][INIT] student initialised from teacher oct-glia (weight 0.636)
12
+ [06:41:52][ 27s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [06:41:52][ 27s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [06:42:33][ 68s][KD] soft labels for 3584 patches from 8 teachers in 41s
15
+ [06:43:05][ 100s][KD] epoch 1/5 | patches=3584 | loss=0.5953 | 31s
16
+ [06:43:38][ 133s][KD] epoch 2/5 | patches=3584 | loss=0.4565 | 33s
17
+ [06:44:09][ 165s][KD] epoch 3/5 | patches=3584 | loss=0.4018 | 32s
18
+ [06:44:41][ 196s][KD] epoch 4/5 | patches=3584 | loss=0.3660 | 32s
19
+ [06:45:13][ 228s][KD] epoch 5/5 | patches=3584 | loss=0.3395 | 31s
20
+ [06:45:14][ 229s][ROUND0] before any target label: val_dice=0.8459 val_vi=0.1456
21
+ [06:45:14][ 229s][AL] patches=3584 (pool 2338 after dropping blank; free blank negatives: True) | budget=179 (5.0%) | rounds=6 | per_round=29 | acquisition=random | first_round=stratified
22
+ [06:45:18][ 233s][AL] round-1 uncertainty quality on 2338 patches: {'spearman_uncertainty_error': 0.00029523523234020787, 'auroc_top20_error': 0.4987465149229856}
23
+ [06:45:41][ 256s][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
+ [06:45:44][ 259s][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
+ [06:45:44][ 260s][WEIGHTS] round 1: student kept (labeled Dice 0.743 vs best teacher oct-glia 0.765); distilling the corrected ensemble into it
26
+ [06:45:44][ 260s][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
+ [06:46:11][ 286s][KD] soft labels for 2309 patches from 8 teachers in 26s
28
+ [06:46:32][ 307s][KD] epoch 1/2 | patches=2309 | loss=0.1391 | 21s
29
+ [06:46:53][ 328s][KD] epoch 2/2 | patches=2309 | loss=0.1328 | 21s
30
+ [06:47:16][ 351s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [06:47:17][ 352s][FT] round 1/6 epoch 1/5 | patches=58 | loss=0.8723
32
+ [06:47:19][ 354s][FT] round 1/6 epoch 2/5 | patches=58 | loss=0.6747
33
+ [06:47:20][ 355s][FT] round 1/6 epoch 3/5 | patches=58 | loss=0.6562
34
+ [06:47:21][ 357s][FT] round 1/6 epoch 4/5 | patches=58 | loss=0.4788
35
+ [06:47:23][ 358s][FT] round 1/6 epoch 5/5 | patches=58 | loss=0.4930
36
+ [06:47:24][ 359s][AL] round 1/6 | labeled=29 | selection_seconds=26.6000 round_seconds=128.7000 restart_student_dice=0.7435 restart_teacher_dice=0.7648 val_dice=0.3714 val_vi=0.3523 val_ece=0.0381
37
+ [06:47:30][ 365s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.790, uniform=0.745, top1=0.790, top2=0.790, top3=0.790 -> using mixture
38
+ [06:47:30][ 365s][WEIGHTS] round 2: teacher Dice on 58 labeled patches + 58 blank (357977 fg px): c-elegans=0.272, cerebellum=0.565, flywire=0.185, berghia=0.295, microns=0.569, oct-glia=0.790, snemi=0.110, mouse-brain=0.208 | weights: c-elegans=0.001, cerebellum=0.005, flywire=0.000, berghia=0.002, microns=0.005, oct-glia=0.987, snemi=0.000, mouse-brain=0.000
39
+ [06:47:33][ 368s][CONS] round 2: on the 29 new patches student Dice=0.502 vs ensemble 0.814 -> pseudo-labels from the ensemble | consistency x1.00
40
+ [06:47:36][ 371s][FT] round 2/6 epoch 1/5 | patches=116 | loss=0.4292
41
+ [06:47:38][ 373s][FT] round 2/6 epoch 2/5 | patches=116 | loss=0.4555
42
+ [06:47:40][ 375s][FT] round 2/6 epoch 3/5 | patches=116 | loss=0.4129
43
+ [06:47:43][ 378s][FT] round 2/6 epoch 4/5 | patches=116 | loss=0.3810
44
+ [06:47:45][ 380s][FT] round 2/6 epoch 5/5 | patches=116 | loss=0.3797
45
+ [06:47:46][ 382s][AL] round 2/6 | labeled=58 | selection_seconds=0.2000 round_seconds=20.7000 pseudo_student_dice=0.5021 pseudo_ensemble_dice=0.8137 consistency_scale=1.0000 val_dice=0.8627 val_vi=0.1482 val_ece=0.0201
46
+ [06:47:55][ 390s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.777, uniform=0.749, top1=0.777, top2=0.777, top3=0.777 -> using mixture
47
+ [06:47:55][ 390s][WEIGHTS] round 3: teacher Dice on 87 labeled patches + 87 blank (538912 fg px): c-elegans=0.268, cerebellum=0.578, flywire=0.187, berghia=0.302, microns=0.575, oct-glia=0.777, snemi=0.110, mouse-brain=0.206 | weights: c-elegans=0.001, cerebellum=0.006, flywire=0.000, berghia=0.002, microns=0.006, oct-glia=0.984, snemi=0.000, mouse-brain=0.000
48
+ [06:48:01][ 396s][CONS] round 3: on the 29 new patches student Dice=0.818 vs ensemble 0.751 -> pseudo-labels from the student | consistency x1.00
49
+ [06:48:04][ 399s][FT] round 3/6 epoch 1/5 | patches=174 | loss=0.3224
50
+ [06:48:07][ 402s][FT] round 3/6 epoch 2/5 | patches=174 | loss=0.2616
51
+ [06:48:11][ 406s][FT] round 3/6 epoch 3/5 | patches=174 | loss=0.2470
52
+ [06:48:14][ 409s][FT] round 3/6 epoch 4/5 | patches=174 | loss=0.2579
53
+ [06:48:17][ 412s][FT] round 3/6 epoch 5/5 | patches=174 | loss=0.2570
54
+ [06:48:19][ 414s][AL] round 3/6 | labeled=87 | selection_seconds=0.2000 round_seconds=30.8000 pseudo_student_dice=0.8182 pseudo_ensemble_dice=0.7506 consistency_scale=1.0000 val_dice=0.8649 val_vi=0.1438 val_ece=0.0222
55
+ [06:49:10][ 465s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.396, cerebellum=0.643, flywire=0.241, berghia=0.380, microns=0.601, oct-glia=0.863, snemi=0.297, mouse-brain=0.267 | blended with labeled Dice at 0.50
56
+ [06:49:59][ 514s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.810, uniform=0.786, top1=0.810, top2=0.810, top3=0.810 -> using mixture
57
+ [06:49:59][ 514s][WEIGHTS] round 4: teacher Dice on 116 labeled patches + 116 blank (840112 fg px): c-elegans=0.352, cerebellum=0.620, flywire=0.217, berghia=0.358, microns=0.585, oct-glia=0.810, snemi=0.211, mouse-brain=0.250 | weights: c-elegans=0.002, cerebellum=0.007, flywire=0.000, berghia=0.002, microns=0.005, oct-glia=0.984, snemi=0.000, mouse-brain=0.000
58
+ [06:50:04][ 520s][CONS] round 4: on the 29 new patches student Dice=0.766 vs ensemble 0.719 -> pseudo-labels from the student | consistency x0.89
59
+ [06:50:09][ 524s][FT] round 4/6 epoch 1/5 | patches=232 | loss=0.3260
60
+ [06:50:13][ 528s][FT] round 4/6 epoch 2/5 | patches=232 | loss=0.3081
61
+ [06:50:18][ 533s][FT] round 4/6 epoch 3/5 | patches=232 | loss=0.3103
62
+ [06:50:22][ 537s][FT] round 4/6 epoch 4/5 | patches=232 | loss=0.2948
63
+ [06:50:26][ 541s][FT] round 4/6 epoch 5/5 | patches=232 | loss=0.3194
64
+ [06:50:28][ 543s][AL] round 4/6 | labeled=116 | selection_seconds=0.2000 round_seconds=127.4000 pseudo_student_dice=0.7662 pseudo_ensemble_dice=0.7189 consistency_scale=0.8870 val_dice=0.8627 val_vi=0.1471 val_ece=0.0211
65
+ [06:51:21][ 596s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.387, cerebellum=0.638, flywire=0.245, berghia=0.382, microns=0.597, oct-glia=0.863, snemi=0.286, mouse-brain=0.260 | blended with labeled Dice at 0.50
66
+ [06:52:10][ 646s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.797, uniform=0.768, top1=0.797, top2=0.797, top3=0.797 -> using mixture
67
+ [06:52:10][ 646s][WEIGHTS] round 5: teacher Dice on 145 labeled patches + 145 blank (1036034 fg px): c-elegans=0.343, cerebellum=0.602, flywire=0.214, berghia=0.353, microns=0.569, oct-glia=0.797, snemi=0.204, mouse-brain=0.245 | weights: c-elegans=0.002, cerebellum=0.006, flywire=0.000, berghia=0.003, microns=0.005, oct-glia=0.984, snemi=0.000, mouse-brain=0.000
68
+ [06:52:16][ 651s][CONS] round 5: on the 29 new patches student Dice=0.649 vs ensemble 0.604 -> pseudo-labels from the student | consistency x0.50
69
+ [06:52:22][ 657s][FT] round 5/6 epoch 1/5 | patches=290 | loss=0.3937
70
+ [06:52:27][ 662s][FT] round 5/6 epoch 2/5 | patches=290 | loss=0.3946
71
+ [06:52:32][ 668s][FT] round 5/6 epoch 3/5 | patches=290 | loss=0.3277
72
+ [06:52:38][ 673s][FT] round 5/6 epoch 4/5 | patches=290 | loss=0.3587
73
+ [06:52:43][ 678s][FT] round 5/6 epoch 5/5 | patches=290 | loss=0.3612
74
+ [06:52:45][ 680s][AL] round 5/6 | labeled=145 | selection_seconds=0.2000 round_seconds=135.4000 pseudo_student_dice=0.6492 pseudo_ensemble_dice=0.6037 consistency_scale=0.4970 val_dice=0.8781 val_vi=0.1511 val_ece=0.0167
75
+ [06:53:39][ 734s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.402, cerebellum=0.635, flywire=0.239, berghia=0.375, microns=0.587, oct-glia=0.848, snemi=0.308, mouse-brain=0.276 | blended with labeled Dice at 0.50
76
+ [06:54:30][ 785s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.791, uniform=0.769, top1=0.791, top2=0.791, top3=0.791 -> using mixture
77
+ [06:54:30][ 785s][WEIGHTS] round 6: teacher Dice on 174 labeled patches + 174 blank (1249546 fg px): c-elegans=0.350, cerebellum=0.605, flywire=0.213, berghia=0.355, microns=0.566, oct-glia=0.791, snemi=0.216, mouse-brain=0.253 | weights: c-elegans=0.002, cerebellum=0.007, flywire=0.000, berghia=0.003, microns=0.005, oct-glia=0.983, snemi=0.000, mouse-brain=0.000
78
+ [06:54:36][ 791s][CONS] round 6: on the 29 new patches student Dice=0.797 vs ensemble 0.744 -> pseudo-labels from the student | consistency x0.99
79
+ [06:54:42][ 797s][FT] round 6/6 epoch 1/5 | patches=348 | loss=0.3454
80
+ [06:54:49][ 804s][FT] round 6/6 epoch 2/5 | patches=348 | loss=0.3065
81
+ [06:54:55][ 810s][FT] round 6/6 epoch 3/5 | patches=348 | loss=0.2850
82
+ [06:55:01][ 816s][FT] round 6/6 epoch 4/5 | patches=348 | loss=0.3737
83
+ [06:55:07][ 823s][FT] round 6/6 epoch 5/5 | patches=348 | loss=0.2806
84
+ [06:55:09][ 824s][AL] round 6/6 | labeled=174 | selection_seconds=0.2000 round_seconds=142.8000 pseudo_student_dice=0.7974 pseudo_ensemble_dice=0.7436 consistency_scale=0.9910 val_dice=0.8896 val_vi=0.1489 val_ece=0.0137
85
+ [06:55:12][ 827s][CONS] final consolidation: pseudo-labels refreshed from the student
86
+ [06:55:18][ 833s][FT] final 1/10 epoch 1/1 | patches=348 | loss=0.3100
87
+ [06:55:25][ 840s][FT] final 2/10 epoch 1/1 | patches=348 | loss=0.2765
88
+ [06:55:31][ 846s][FT] final 3/10 epoch 1/1 | patches=348 | loss=0.3011
89
+ [06:55:37][ 852s][FT] final 4/10 epoch 1/1 | patches=348 | loss=0.2956
90
+ [06:55:43][ 859s][FT] final 5/10 epoch 1/1 | patches=348 | loss=0.2610
91
+ [06:55:50][ 865s][FT] final 6/10 epoch 1/1 | patches=348 | loss=0.2400
92
+ [06:55:56][ 871s][FT] final 7/10 epoch 1/1 | patches=348 | loss=0.2573
93
+ [06:56:02][ 878s][FT] final 8/10 epoch 1/1 | patches=348 | loss=0.2287
94
+ [06:56:09][ 884s][FT] final 9/10 epoch 1/1 | patches=348 | loss=0.2246
95
+ [06:56:15][ 890s][FT] final 10/10 epoch 1/1 | patches=348 | loss=0.2208
96
+ [06:56:16][ 892s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=66.1000 val_dice=0.8934 val_vi=0.1478 val_ece=0.0119
97
+ [06:56:16][ 892s][WEIGHTS] final: c-elegans=0.002, cerebellum=0.007, flywire=0.000, berghia=0.003, microns=0.005, oct-glia=0.983, snemi=0.000, mouse-brain=0.000
98
+ [06:56:27][ 902s][TEST] raw student (no EMA, no TTA): patch_dice=0.8718 patch_vi=0.1764
99
+ [06:56:29][ 904s][TEST] final model without TTA: patch_dice=0.8718 patch_vi=0.1764
100
+ [06:56:29][ 904s][RESOURCES] {"phases": {"setup": {"seconds": 1.13, "peak_cpu_rss_mb": 1027.6, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 26.07, "peak_cpu_rss_mb": 1808.4, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 200.36, "peak_cpu_rss_mb": 2938.1, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4618.0, "kd_epochs": 5}, "active_learning": {"seconds": 662.37, "peak_cpu_rss_mb": 2938.1, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4626.0, "rounds": 6}, "inference": {"seconds": 12.25, "peak_cpu_rss_mb": 2938.1, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4626.0, "patches": 768, "images": 6, "patches_per_second": 62.7, "seconds_per_image": 2.042}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2938.1, "total_seconds": 902.2}
101
+ [06:56:29][ 904s][TEST] patch_dice=0.8733 patch_iou=0.8119 patch_precision=0.8885 patch_recall=0.8888 patch_vi=0.1735 image_dice=0.8026 image_iou=0.6775 image_precision=0.7886 image_recall=0.8228 image_vi=0.1982 cal_ece=0.0085 cal_nll=0.0749 cal_brier=0.0216 cal_mean_confidence=0.9795 cal_accuracy=0.9710 cal_predicted_prevalence=0.0761 cal_true_prevalence=0.0718 cal_mean_probability=0.0759
102
+ [06:56:29][ 904s][DONE] octopus-vulgaris-vertical-lobe-sfltract macs-v11-norestart-acq-random b5 s2 | test patch Dice=0.8733 VI=0.1735 | image Dice=0.8026 VI=0.1982 | 904s
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-random/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,776 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "octopus-vulgaris-vertical-lobe-sfltract",
3
+ "variant": "macs-v11-norestart-acq-random",
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-random",
10
+ "budget": 5.0,
11
+ "seed": 2,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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-random",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.09888773316940314,
154
+ 0.02852238358730045,
155
+ 0.006877111295002701,
156
+ 0.14762496137410624,
157
+ 0.031629415990885375,
158
+ 0.6364113152878205,
159
+ 0.01903121486130303,
160
+ 0.03101586443417853
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.09888773316940314,
175
+ 0.02852238358730045,
176
+ 0.006877111295002701,
177
+ 0.14762496137410624,
178
+ 0.031629415990885375,
179
+ 0.6364113152878205,
180
+ 0.01903121486130303,
181
+ 0.03101586443417853
182
+ ],
183
+ "per_source": [
184
+ 0.3196472209911767,
185
+ 0.016524281783989066,
186
+ 0.0007715704214095669,
187
+ 0.17539935780265475,
188
+ 0.02748152710843107,
189
+ 0.4363201963447303,
190
+ 0.016643455180579362,
191
+ 0.00721239036702913
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.00048684441851293454,
205
+ "mmd2_mixture": 0.01275567083190321,
206
+ "mmd2_uniform": 0.09698324592915836,
207
+ "mmd2_single_source": [
208
+ 0.07244541101040552,
209
+ 0.256897395483041,
210
+ 0.3929088032810887,
211
+ 0.05287172109384486,
212
+ 0.26498470596000767,
213
+ 0.011934168264888134,
214
+ 0.339258942897097,
215
+ 0.2684433232010991
216
+ ],
217
+ "median_squared_distance": 0.18344226468067681,
218
+ "gammas": [
219
+ 1.3628266116054668,
220
+ 2.7256532232109336,
221
+ 5.451306446421867,
222
+ 10.902612892843734,
223
+ 21.80522578568747
224
+ ],
225
+ "max_weight": 0.6364113152878205,
226
+ "entropy": 1.2268826413390275,
227
+ "effective_sources": 3.410580943129122,
228
+ "min_weight": 0.006877111295002701
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.0496200334528889,
233
+ 0.42663682749168497,
234
+ 0.8166058321365515,
235
+ 0.12600018979150718,
236
+ 0.3618977926472007,
237
+ 0.01001955344998784,
238
+ 0.4257222632020228,
239
+ 0.5321458020642489
240
+ ],
241
+ "standardized": [
242
+ -1.1548905481172125,
243
+ 0.3263029673133632,
244
+ 1.8583820949064265,
245
+ -0.8548142807860197,
246
+ 0.07196140979373515,
247
+ -1.3104697560349354,
248
+ 0.32270990006354566,
249
+ 0.7408182128610976
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4363201963447303,
253
+ "entropy": 1.3076016834873658,
254
+ "effective_sources": 3.6972957848927845,
255
+ "min_weight": 0.0007715704214095669
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.2
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4757138324136084,
265
+ 0.6329416506363946,
266
+ 0.14191107641715917,
267
+ 0.4669227387129098,
268
+ 0.7079858630413108,
269
+ 0.8450575342195966,
270
+ 0.2290226697023551,
271
+ 0.11473197497037783
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.8487996328814233,
275
+ "mixture@raw": 0.8468783370062004,
276
+ "mixture@logit": 0.8498165961112344,
277
+ "per_source": 0.8430704623597217,
278
+ "per_source@raw": 0.6192918885999461,
279
+ "per_source@logit": 0.8479512470904803,
280
+ "uniform": 0.7183095932451996,
281
+ "uniform@raw": 0.6771602818911759,
282
+ "uniform@logit": 0.8065076510127938
283
+ },
284
+ "val_patches": 768
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 3.5461363792419434,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
297
+ "weight_stats": {
298
+ "max_weight": 0.6364113152878205,
299
+ "entropy": 1.2268826413390275,
300
+ "effective_sources": 3.410580943129122,
301
+ "min_weight": 0.006877111295002701
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": 200.4,
313
+ "round0_val": {
314
+ "val_dice": 0.8459001660840654,
315
+ "val_vi": 0.14561681257014922,
316
+ "val_ece": 0.06096620951525809
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 29,
322
+ "selection_seconds": 26.6,
323
+ "round_seconds": 128.7,
324
+ "teacher_dice_labeled": [
325
+ 0.2571777942968238,
326
+ 0.5690605504275248,
327
+ 0.1686588604013407,
328
+ 0.2758037194420113,
329
+ 0.5811237001396865,
330
+ 0.7648114620563284,
331
+ 0.10985703762520847,
332
+ 0.20342659662893037
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.7434767776207417,
340
+ "restart_teacher_dice": 0.7648114620563284,
341
+ "weights": [
342
+ 0.0009536063313568787,
343
+ 0.00622160049410085,
344
+ 2.7365280978604556e-05,
345
+ 0.0017150542671718894,
346
+ 0.00778389682673956,
347
+ 0.9830816831898324,
348
+ 4.206174632514249e-05,
349
+ 0.0001747318634946766
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.7646874735949377,
354
+ "uniform": 0.7405359432386459,
355
+ "top1": 0.7648114620563284,
356
+ "top2": 0.7643850371191413,
357
+ "top3": 0.7646318754401064
358
+ },
359
+ "val_dice": 0.3714069295182818,
360
+ "val_vi": 0.3523276532410457,
361
+ "val_ece": 0.03809157325395153
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 58,
366
+ "selection_seconds": 0.2,
367
+ "round_seconds": 20.7,
368
+ "teacher_dice_labeled": [
369
+ 0.27233939627165826,
370
+ 0.5648992002411293,
371
+ 0.18494126905476696,
372
+ 0.2950788044938515,
373
+ 0.5694094632225994,
374
+ 0.7901282813438308,
375
+ 0.10961051669571481,
376
+ 0.20814065934578377
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 357977,
380
+ "evidence_nonempty_patches": 40,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.0008651839537822588,
385
+ 0.004652891610929437,
386
+ 2.5107694955276247e-05,
387
+ 0.0016213688563193685,
388
+ 0.005397791634150245,
389
+ 0.9872621406952384,
390
+ 3.27122188146369e-05,
391
+ 0.00014280333581031675
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.7900516454534338,
396
+ "uniform": 0.744561558923848,
397
+ "top1": 0.7901282813438308,
398
+ "top2": 0.7899526344089269,
399
+ "top3": 0.7900473160877718
400
+ },
401
+ "pseudo_student_dice": 0.5020917211634688,
402
+ "pseudo_ensemble_dice": 0.8136604464983836,
403
+ "pseudo_source": "ensemble",
404
+ "consistency_scale": 1.0,
405
+ "val_dice": 0.8627172784603788,
406
+ "val_vi": 0.14816620428021832,
407
+ "val_ece": 0.020074298774123814
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 87,
412
+ "selection_seconds": 0.2,
413
+ "round_seconds": 30.8,
414
+ "teacher_dice_labeled": [
415
+ 0.2683289214714117,
416
+ 0.577856181422308,
417
+ 0.18673087992781356,
418
+ 0.3018313761883449,
419
+ 0.5746961679042322,
420
+ 0.777125265724869,
421
+ 0.11037391096234828,
422
+ 0.20553076412792937
423
+ ],
424
+ "teacher_dice_pool": null,
425
+ "evidence_fg_pixels": 538912,
426
+ "evidence_nonempty_patches": 61,
427
+ "first_correction": false,
428
+ "restart": "",
429
+ "weights": [
430
+ 0.0009438330908227715,
431
+ 0.006014484421225186,
432
+ 2.9025722514262033e-05,
433
+ 0.0019697535289780604,
434
+ 0.006462194076105672,
435
+ 0.9843852962889938,
436
+ 3.7430824711988296e-05,
437
+ 0.00015798204664822644
438
+ ],
439
+ "ensemble_choice": "mixture",
440
+ "candidate_dice": {
441
+ "mixture": 0.7771597736566964,
442
+ "uniform": 0.7494724702493365,
443
+ "top1": 0.777125265724869,
444
+ "top2": 0.7773284324921306,
445
+ "top3": 0.7771113848505545
446
+ },
447
+ "pseudo_student_dice": 0.8181573209193873,
448
+ "pseudo_ensemble_dice": 0.7506062527980898,
449
+ "pseudo_source": "student",
450
+ "consistency_scale": 1.0,
451
+ "val_dice": 0.8649044370034481,
452
+ "val_vi": 0.1438270705034725,
453
+ "val_ece": 0.0221553722447091
454
+ },
455
+ {
456
+ "round": 4,
457
+ "n_labeled": 116,
458
+ "selection_seconds": 0.2,
459
+ "round_seconds": 127.4,
460
+ "teacher_dice_labeled": [
461
+ 0.3523551657918085,
462
+ 0.6195955910426016,
463
+ 0.21702358946896538,
464
+ 0.35817812539551996,
465
+ 0.5849809963185317,
466
+ 0.8099093730446942,
467
+ 0.21149852979362696,
468
+ 0.249944372842695
469
+ ],
470
+ "teacher_dice_pool": [
471
+ 0.3963038925311522,
472
+ 0.643366416580547,
473
+ 0.2412226943807228,
474
+ 0.3803305564344355,
475
+ 0.6006591180223585,
476
+ 0.8628850136387899,
477
+ 0.2966821474784586,
478
+ 0.26739609073689796
479
+ ],
480
+ "evidence_fg_pixels": 840112,
481
+ "evidence_nonempty_patches": 85,
482
+ "first_correction": false,
483
+ "restart": "",
484
+ "weights": [
485
+ 0.0015748239507074387,
486
+ 0.0065748496506743736,
487
+ 2.8298151940109134e-05,
488
+ 0.0024919434282833783,
489
+ 0.00515776924456544,
490
+ 0.9839208328705071,
491
+ 7.410090370459648e-05,
492
+ 0.0001773817996174603
493
+ ],
494
+ "ensemble_choice": "mixture",
495
+ "candidate_dice": {
496
+ "mixture": 0.8100702315447105,
497
+ "uniform": 0.7858644717533334,
498
+ "top1": 0.8099093730446942,
499
+ "top2": 0.8102884590298836,
500
+ "top3": 0.8099587844188316
501
+ },
502
+ "pseudo_student_dice": 0.7662125214904288,
503
+ "pseudo_ensemble_dice": 0.7188745455139126,
504
+ "pseudo_source": "student",
505
+ "consistency_scale": 0.887,
506
+ "val_dice": 0.8627058602543363,
507
+ "val_vi": 0.14709296460397747,
508
+ "val_ece": 0.02107210011131645
509
+ },
510
+ {
511
+ "round": 5,
512
+ "n_labeled": 145,
513
+ "selection_seconds": 0.2,
514
+ "round_seconds": 135.4,
515
+ "teacher_dice_labeled": [
516
+ 0.3434458390283317,
517
+ 0.6024990757453136,
518
+ 0.2141995135026267,
519
+ 0.3527860406324941,
520
+ 0.5688136071369587,
521
+ 0.7969131606271672,
522
+ 0.20414479797548948,
523
+ 0.24496127493124809
524
+ ],
525
+ "teacher_dice_pool": [
526
+ 0.38700939335882084,
527
+ 0.637700200318136,
528
+ 0.2451388677680745,
529
+ 0.3823338784049224,
530
+ 0.5968550856440995,
531
+ 0.8627161787334623,
532
+ 0.28581341353040957,
533
+ 0.26015229074359414
534
+ ],
535
+ "evidence_fg_pixels": 1036034,
536
+ "evidence_nonempty_patches": 103,
537
+ "first_correction": false,
538
+ "restart": "",
539
+ "weights": [
540
+ 0.0016407488958869057,
541
+ 0.006311599420629153,
542
+ 3.13325753000206e-05,
543
+ 0.0026892023139674236,
544
+ 0.004997475263623532,
545
+ 0.9840590206740554,
546
+ 7.841325407623796e-05,
547
+ 0.0001922076024614262
548
+ ],
549
+ "ensemble_choice": "mixture",
550
+ "candidate_dice": {
551
+ "mixture": 0.7971050077151005,
552
+ "uniform": 0.7675423537446693,
553
+ "top1": 0.7969131606271672,
554
+ "top2": 0.7972941217041166,
555
+ "top3": 0.7969877830674019
556
+ },
557
+ "pseudo_student_dice": 0.649230568272293,
558
+ "pseudo_ensemble_dice": 0.603722645216952,
559
+ "pseudo_source": "student",
560
+ "consistency_scale": 0.497,
561
+ "val_dice": 0.8780933225724049,
562
+ "val_vi": 0.15112189309925872,
563
+ "val_ece": 0.016665274923035406
564
+ },
565
+ {
566
+ "round": 6,
567
+ "n_labeled": 174,
568
+ "selection_seconds": 0.2,
569
+ "round_seconds": 142.8,
570
+ "teacher_dice_labeled": [
571
+ 0.3501263783945856,
572
+ 0.6050864237945479,
573
+ 0.21269241472651582,
574
+ 0.35459013382319676,
575
+ 0.5658740646511347,
576
+ 0.7906464270163391,
577
+ 0.2161101273220039,
578
+ 0.25254151656279217
579
+ ],
580
+ "teacher_dice_pool": [
581
+ 0.40178570744004233,
582
+ 0.635485317205476,
583
+ 0.23930938140955102,
584
+ 0.37514848519991184,
585
+ 0.58683289956519,
586
+ 0.8480063602697288,
587
+ 0.30812144608107045,
588
+ 0.2764468271369436
589
+ ],
590
+ "evidence_fg_pixels": 1249546,
591
+ "evidence_nonempty_patches": 127,
592
+ "first_correction": false,
593
+ "restart": "",
594
+ "weights": [
595
+ 0.0018652112324314258,
596
+ 0.00688729721663382,
597
+ 3.281886314378884e-05,
598
+ 0.002911596851577237,
599
+ 0.00516008754641597,
600
+ 0.9828285328627763,
601
+ 9.39781582817084e-05,
602
+ 0.00022047726873971913
603
+ ],
604
+ "ensemble_choice": "mixture",
605
+ "candidate_dice": {
606
+ "mixture": 0.7907800643613214,
607
+ "uniform": 0.7685180324869638,
608
+ "top1": 0.7906464270163391,
609
+ "top2": 0.7910706954472992,
610
+ "top3": 0.7906376772800607
611
+ },
612
+ "pseudo_student_dice": 0.797396310946261,
613
+ "pseudo_ensemble_dice": 0.7435812984466436,
614
+ "pseudo_source": "student",
615
+ "consistency_scale": 0.991,
616
+ "val_dice": 0.8895698960959386,
617
+ "val_vi": 0.14886280621004105,
618
+ "val_ece": 0.013738702604143803
619
+ },
620
+ {
621
+ "round": 7,
622
+ "n_labeled": 174,
623
+ "selection_seconds": 0.0,
624
+ "round_seconds": 66.1,
625
+ "final_consolidation": true,
626
+ "val_dice": 0.8933540398949001,
627
+ "val_vi": 0.1477702542557411,
628
+ "val_ece": 0.01187762032777213
629
+ }
630
+ ],
631
+ "uncertainty_quality": {
632
+ "spearman_uncertainty_error": 0.00029523523234020787,
633
+ "auroc_top20_error": 0.4987465149229856
634
+ },
635
+ "al_seconds": 662.4,
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.0018652112324314258,
648
+ 0.00688729721663382,
649
+ 3.281886314378884e-05,
650
+ 0.002911596851577237,
651
+ 0.00516008754641597,
652
+ 0.9828285328627763,
653
+ 9.39781582817084e-05,
654
+ 0.00022047726873971913
655
+ ],
656
+ "weight_stats_final": {
657
+ "max_weight": 0.9828285328627763,
658
+ "entropy": 0.11027510731915921,
659
+ "effective_sources": 1.116585208972361,
660
+ "min_weight": 3.281886314378884e-05
661
+ },
662
+ "top_source_final": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
663
+ "ensemble_choice_final": "",
664
+ "restart": "kept",
665
+ "test_raw_student": {
666
+ "patch_dice": 0.8717935908930711,
667
+ "patch_iou": 0.8079621865404086,
668
+ "patch_precision": 0.8811307975775252,
669
+ "patch_recall": 0.8911383126144642,
670
+ "patch_vi": 0.1763703127715098,
671
+ "n_patches": 768,
672
+ "cal_ece": 0.010235559901710106,
673
+ "cal_nll": 0.07946818594560806,
674
+ "cal_brier": 0.022279491154928013,
675
+ "cal_mean_confidence": 0.9805627915840384,
676
+ "cal_accuracy": 0.9704310099283854,
677
+ "cal_predicted_prevalence": 0.07677459716796875,
678
+ "cal_true_prevalence": 0.07175954182942708,
679
+ "cal_mean_probability": 0.07612501553469163
680
+ },
681
+ "test_notta": {
682
+ "patch_dice": 0.8717935908930711,
683
+ "patch_iou": 0.8079621865404086,
684
+ "patch_precision": 0.8811307975775252,
685
+ "patch_recall": 0.8911383126144642,
686
+ "patch_vi": 0.1763703127715098,
687
+ "n_patches": 768,
688
+ "cal_ece": 0.010235559901710106,
689
+ "cal_nll": 0.07946818594560806,
690
+ "cal_brier": 0.022279491154928013,
691
+ "cal_mean_confidence": 0.9805627915840384,
692
+ "cal_accuracy": 0.9704310099283854,
693
+ "cal_predicted_prevalence": 0.07677459716796875,
694
+ "cal_true_prevalence": 0.07175954182942708,
695
+ "cal_mean_probability": 0.07612501553469163
696
+ },
697
+ "test": {
698
+ "patch_dice": 0.8733024516459945,
699
+ "patch_iou": 0.8119174567416984,
700
+ "patch_precision": 0.8885141746129198,
701
+ "patch_recall": 0.8888266529845109,
702
+ "patch_vi": 0.1734969541682323,
703
+ "n_patches": 768,
704
+ "image_dice": 0.8025776625259756,
705
+ "image_iou": 0.6774712731283673,
706
+ "image_precision": 0.7886269324253391,
707
+ "image_recall": 0.8227675597721614,
708
+ "image_vi": 0.19818246493296066,
709
+ "n_images": 6,
710
+ "cal_ece": 0.00853267805767482,
711
+ "cal_nll": 0.07485122535739094,
712
+ "cal_brier": 0.021577405959943684,
713
+ "cal_mean_confidence": 0.9795055914134073,
714
+ "cal_accuracy": 0.9710172017415365,
715
+ "cal_predicted_prevalence": 0.07612228393554688,
716
+ "cal_true_prevalence": 0.07175954182942708,
717
+ "cal_mean_probability": 0.07594731116540443
718
+ },
719
+ "eval_seconds": 12.2,
720
+ "total_seconds": 903.9,
721
+ "resources": {
722
+ "phases": {
723
+ "setup": {
724
+ "seconds": 1.13,
725
+ "peak_cpu_rss_mb": 1027.6,
726
+ "peak_gpu_alloc_mb": 1066.3,
727
+ "peak_gpu_reserved_mb": 1086.0
728
+ },
729
+ "features_and_weights": {
730
+ "seconds": 26.07,
731
+ "peak_cpu_rss_mb": 1808.4,
732
+ "peak_gpu_alloc_mb": 2820.1,
733
+ "peak_gpu_reserved_mb": 3212.0
734
+ },
735
+ "distillation": {
736
+ "seconds": 200.36,
737
+ "peak_cpu_rss_mb": 2938.1,
738
+ "peak_gpu_alloc_mb": 4303.7,
739
+ "peak_gpu_reserved_mb": 4618.0,
740
+ "kd_epochs": 5
741
+ },
742
+ "active_learning": {
743
+ "seconds": 662.37,
744
+ "peak_cpu_rss_mb": 2938.1,
745
+ "peak_gpu_alloc_mb": 4424.0,
746
+ "peak_gpu_reserved_mb": 4626.0,
747
+ "rounds": 6
748
+ },
749
+ "inference": {
750
+ "seconds": 12.25,
751
+ "peak_cpu_rss_mb": 2938.1,
752
+ "peak_gpu_alloc_mb": 2623.4,
753
+ "peak_gpu_reserved_mb": 4626.0,
754
+ "patches": 768,
755
+ "images": 6,
756
+ "patches_per_second": 62.7,
757
+ "seconds_per_image": 2.042
758
+ }
759
+ },
760
+ "peak_gpu_alloc_mb": 4424.0,
761
+ "peak_cpu_rss_mb": 2938.1,
762
+ "total_seconds": 902.2
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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-random_b5_s2.pth"
776
+ }
macs_v2_r26/runs/membrane/octopus-vulgaris-vertical-lobe-sfltract/macs-v11-norestart-acq-random/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,26.6,128.7,"[0.2571777942968238, 0.5690605504275248, 0.1686588604013407, 0.2758037194420113, 0.5811237001396865, 0.7648114620563284, 0.10985703762520847, 0.20342659662893037]",,179039,21,True,kept,0.7434767776207417,0.7648114620563284,"[0.0009536063313568787, 0.00622160049410085, 2.7365280978604556e-05, 0.0017150542671718894, 0.00778389682673956, 0.9830816831898324, 4.206174632514249e-05, 0.0001747318634946766]",mixture,"{'mixture': 0.7646874735949377, 'uniform': 0.7405359432386459, 'top1': 0.7648114620563284, 'top2': 0.7643850371191413, 'top3': 0.7646318754401064}",0.3714069295182818,0.3523276532410457,0.03809157325395153,,,,,
3
+ 2,58,0.2,20.7,"[0.27233939627165826, 0.5648992002411293, 0.18494126905476696, 0.2950788044938515, 0.5694094632225994, 0.7901282813438308, 0.10961051669571481, 0.20814065934578377]",,357977,40,False,,,,"[0.0008651839537822588, 0.004652891610929437, 2.5107694955276247e-05, 0.0016213688563193685, 0.005397791634150245, 0.9872621406952384, 3.27122188146369e-05, 0.00014280333581031675]",mixture,"{'mixture': 0.7900516454534338, 'uniform': 0.744561558923848, 'top1': 0.7901282813438308, 'top2': 0.7899526344089269, 'top3': 0.7900473160877718}",0.8627172784603788,0.14816620428021832,0.020074298774123814,0.5020917211634688,0.8136604464983836,ensemble,1.0,
4
+ 3,87,0.2,30.8,"[0.2683289214714117, 0.577856181422308, 0.18673087992781356, 0.3018313761883449, 0.5746961679042322, 0.777125265724869, 0.11037391096234828, 0.20553076412792937]",,538912,61,False,,,,"[0.0009438330908227715, 0.006014484421225186, 2.9025722514262033e-05, 0.0019697535289780604, 0.006462194076105672, 0.9843852962889938, 3.7430824711988296e-05, 0.00015798204664822644]",mixture,"{'mixture': 0.7771597736566964, 'uniform': 0.7494724702493365, 'top1': 0.777125265724869, 'top2': 0.7773284324921306, 'top3': 0.7771113848505545}",0.8649044370034481,0.1438270705034725,0.0221553722447091,0.8181573209193873,0.7506062527980898,student,1.0,
5
+ 4,116,0.2,127.4,"[0.3523551657918085, 0.6195955910426016, 0.21702358946896538, 0.35817812539551996, 0.5849809963185317, 0.8099093730446942, 0.21149852979362696, 0.249944372842695]","[0.3963038925311522, 0.643366416580547, 0.2412226943807228, 0.3803305564344355, 0.6006591180223585, 0.8628850136387899, 0.2966821474784586, 0.26739609073689796]",840112,85,False,,,,"[0.0015748239507074387, 0.0065748496506743736, 2.8298151940109134e-05, 0.0024919434282833783, 0.00515776924456544, 0.9839208328705071, 7.410090370459648e-05, 0.0001773817996174603]",mixture,"{'mixture': 0.8100702315447105, 'uniform': 0.7858644717533334, 'top1': 0.8099093730446942, 'top2': 0.8102884590298836, 'top3': 0.8099587844188316}",0.8627058602543363,0.14709296460397747,0.02107210011131645,0.7662125214904288,0.7188745455139126,student,0.887,
6
+ 5,145,0.2,135.4,"[0.3434458390283317, 0.6024990757453136, 0.2141995135026267, 0.3527860406324941, 0.5688136071369587, 0.7969131606271672, 0.20414479797548948, 0.24496127493124809]","[0.38700939335882084, 0.637700200318136, 0.2451388677680745, 0.3823338784049224, 0.5968550856440995, 0.8627161787334623, 0.28581341353040957, 0.26015229074359414]",1036034,103,False,,,,"[0.0016407488958869057, 0.006311599420629153, 3.13325753000206e-05, 0.0026892023139674236, 0.004997475263623532, 0.9840590206740554, 7.841325407623796e-05, 0.0001922076024614262]",mixture,"{'mixture': 0.7971050077151005, 'uniform': 0.7675423537446693, 'top1': 0.7969131606271672, 'top2': 0.7972941217041166, 'top3': 0.7969877830674019}",0.8780933225724049,0.15112189309925872,0.016665274923035406,0.649230568272293,0.603722645216952,student,0.497,
7
+ 6,174,0.2,142.8,"[0.3501263783945856, 0.6050864237945479, 0.21269241472651582, 0.35459013382319676, 0.5658740646511347, 0.7906464270163391, 0.2161101273220039, 0.25254151656279217]","[0.40178570744004233, 0.635485317205476, 0.23930938140955102, 0.37514848519991184, 0.58683289956519, 0.8480063602697288, 0.30812144608107045, 0.2764468271369436]",1249546,127,False,,,,"[0.0018652112324314258, 0.00688729721663382, 3.281886314378884e-05, 0.002911596851577237, 0.00516008754641597, 0.9828285328627763, 9.39781582817084e-05, 0.00022047726873971913]",mixture,"{'mixture': 0.7907800643613214, 'uniform': 0.7685180324869638, 'top1': 0.7906464270163391, 'top2': 0.7910706954472992, 'top3': 0.7906376772800607}",0.8895698960959386,0.14886280621004105,0.013738702604143803,0.797396310946261,0.7435812984466436,student,0.991,
8
+ 7,174,0.0,66.1,,,,,,,,,,,,0.8933540398949001,0.1477702542557411,0.01187762032777213,,,,,True
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [07:11:51][ 0s][START] target=snemi3d variant=macs-v11-norestart-acq-margin budget=5.0% seed=2 | {"task": "membrane", "target": "snemi3d", "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": 5, "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
+ [07:11: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
+ [07:11:52][ 0s][DATA] snemi3d: train=3430 val=735 test=735 patches
4
+ [07:11:53][ 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.08
5
+ [07:11:53][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [07:11:59][ 8s][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
+ [07:11:59][ 8s][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
+ [07:12:17][ 26s][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
+ [07:12:17][ 26s][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
+ [07:12:17][ 26s][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
+ [07:12:17][ 26s][INIT] student initialised from teacher microns (weight 0.477)
12
+ [07:12:18][ 27s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [07:12:18][ 27s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [07:12:57][ 66s][KD] soft labels for 3430 patches from 8 teachers in 39s
15
+ [07:13:29][ 97s][KD] epoch 1/5 | patches=3430 | loss=0.4413 | 31s
16
+ [07:14:00][ 129s][KD] epoch 2/5 | patches=3430 | loss=0.3718 | 31s
17
+ [07:14:31][ 159s][KD] epoch 3/5 | patches=3430 | loss=0.3562 | 31s
18
+ [07:15:02][ 190s][KD] epoch 4/5 | patches=3430 | loss=0.3503 | 31s
19
+ [07:15:32][ 221s][KD] epoch 5/5 | patches=3430 | loss=0.3474 | 31s
20
+ [07:15:34][ 222s][ROUND0] before any target label: val_dice=0.3537 val_vi=0.6275
21
+ [07:15:34][ 222s][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
+ [07:15:39][ 228s][AL] round-1 uncertainty quality on 3430 patches: {'spearman_uncertainty_error': 0.3417284798148, 'auroc_top20_error': 0.7648460675398855}
23
+ [07:16:02][ 251s][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
+ [07:16:04][ 253s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.512, uniform=0.372, top1=0.513, top2=0.514, top3=0.514 -> using mixture
25
+ [07:16:04][ 253s][WEIGHTS] round 1: student kept (labeled Dice 0.373 vs best teacher microns 0.513); distilling the corrected ensemble into it
26
+ [07:16:04][ 253s][WEIGHTS] round 1: teacher Dice on 28 labeled patches + 0 blank (229858 fg px): c-elegans=0.298, cerebellum=0.401, flywire=0.209, berghia=0.345, microns=0.513, oct-glia=0.175, oct-sfl=0.199, mouse-brain=0.227 | weights: c-elegans=0.001, cerebellum=0.036, flywire=0.036, berghia=0.010, microns=0.913, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.002
27
+ [07:16:43][ 292s][KD] soft labels for 3402 patches from 8 teachers in 39s
28
+ [07:17:14][ 322s][KD] epoch 1/2 | patches=3402 | loss=0.2523 | 31s
29
+ [07:17:44][ 353s][KD] epoch 2/2 | patches=3402 | loss=0.2493 | 31s
30
+ [07:18:07][ 376s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [07:18:08][ 377s][FT] round 1/6 epoch 1/5 | patches=28 | loss=1.0783
32
+ [07:18:09][ 378s][FT] round 1/6 epoch 2/5 | patches=28 | loss=0.9834
33
+ [07:18:10][ 379s][FT] round 1/6 epoch 3/5 | patches=28 | loss=0.9413
34
+ [07:18:11][ 379s][FT] round 1/6 epoch 4/5 | patches=28 | loss=0.9016
35
+ [07:18:12][ 380s][FT] round 1/6 epoch 5/5 | patches=28 | loss=0.8905
36
+ [07:18:13][ 382s][AL] round 1/6 | labeled=28 | selection_seconds=28.4000 round_seconds=158.1000 restart_student_dice=0.3728 restart_teacher_dice=0.5132 val_dice=0.7017 val_vi=0.5973 val_ece=0.0128
37
+ [07:18:19][ 387s][AL] round 2: 2/3402 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [07:18:22][ 390s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.509, uniform=0.304, top1=0.510, top2=0.512, top3=0.512 -> using mixture
39
+ [07:18:22][ 390s][WEIGHTS] round 2: teacher Dice on 56 labeled patches + 0 blank (537619 fg px): c-elegans=0.343, cerebellum=0.380, flywire=0.189, berghia=0.273, microns=0.510, oct-glia=0.119, oct-sfl=0.162, mouse-brain=0.265 | weights: c-elegans=0.002, cerebellum=0.030, flywire=0.031, berghia=0.005, microns=0.927, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
40
+ [07:18:27][ 395s][CONS] round 2: on the 28 new patches student Dice=0.547 vs ensemble 0.506 -> pseudo-labels from the student | consistency x0.16
41
+ [07:18:28][ 396s][FT] round 2/6 epoch 1/5 | patches=56 | loss=0.8317
42
+ [07:18:29][ 398s][FT] round 2/6 epoch 2/5 | patches=56 | loss=0.7916
43
+ [07:18:30][ 399s][FT] round 2/6 epoch 3/5 | patches=56 | loss=0.7590
44
+ [07:18:32][ 400s][FT] round 2/6 epoch 4/5 | patches=56 | loss=0.7264
45
+ [07:18:33][ 402s][FT] round 2/6 epoch 5/5 | patches=56 | loss=0.7075
46
+ [07:18:35][ 403s][AL] round 2/6 | labeled=56 | selection_seconds=5.5000 round_seconds=19.8000 pseudo_student_dice=0.5472 pseudo_ensemble_dice=0.5061 consistency_scale=0.1570 val_dice=0.7407 val_vi=0.5701 val_ece=0.0149
47
+ [07:19:28][ 457s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.394, cerebellum=0.481, flywire=0.238, berghia=0.381, microns=0.664, oct-glia=0.201, oct-sfl=0.279, mouse-brain=0.316 | blended with labeled Dice at 0.50
48
+ [07:20:14][ 502s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.571, uniform=0.369, top1=0.571, top2=0.572, top3=0.573 -> using mixture
49
+ [07:20:14][ 502s][WEIGHTS] round 3: teacher Dice on 84 labeled patches + 0 blank (878752 fg px): c-elegans=0.378, cerebellum=0.438, flywire=0.208, berghia=0.332, microns=0.571, oct-glia=0.162, oct-sfl=0.216, mouse-brain=0.300 | weights: c-elegans=0.001, cerebellum=0.030, flywire=0.020, berghia=0.005, microns=0.939, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
50
+ [07:20:18][ 507s][CONS] round 3: on the 28 new patches student Dice=0.614 vs ensemble 0.421 -> pseudo-labels from the student | consistency x0.38
51
+ [07:20:20][ 509s][FT] round 3/6 epoch 1/5 | patches=84 | loss=0.8095
52
+ [07:20:22][ 511s][FT] round 3/6 epoch 2/5 | patches=84 | loss=0.8034
53
+ [07:20:24][ 512s][FT] round 3/6 epoch 3/5 | patches=84 | loss=0.7503
54
+ [07:20:26][ 514s][FT] round 3/6 epoch 4/5 | patches=84 | loss=0.7570
55
+ [07:20:27][ 516s][FT] round 3/6 epoch 5/5 | patches=84 | loss=0.7426
56
+ [07:20:29][ 517s][AL] round 3/6 | labeled=84 | selection_seconds=5.3000 round_seconds=112.9000 pseudo_student_dice=0.6139 pseudo_ensemble_dice=0.4207 consistency_scale=0.3800 val_dice=0.7468 val_vi=0.5417 val_ece=0.0109
57
+ [07:21:23][ 571s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.379, cerebellum=0.467, flywire=0.230, berghia=0.373, microns=0.646, oct-glia=0.192, oct-sfl=0.280, mouse-brain=0.304 | blended with labeled Dice at 0.50
58
+ [07:22:09][ 617s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.561, uniform=0.366, top1=0.561, top2=0.562, top3=0.562 -> using mixture
59
+ [07:22:09][ 617s][WEIGHTS] round 4: teacher Dice on 112 labeled patches + 0 blank (1174561 fg px): c-elegans=0.371, cerebellum=0.430, flywire=0.202, berghia=0.328, microns=0.561, oct-glia=0.162, oct-sfl=0.221, mouse-brain=0.295 | weights: c-elegans=0.002, cerebellum=0.031, flywire=0.021, berghia=0.005, microns=0.938, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
60
+ [07:22:14][ 622s][CONS] round 4: on the 28 new patches student Dice=0.645 vs ensemble 0.469 -> pseudo-labels from the student | consistency x0.48
61
+ [07:22:16][ 625s][FT] round 4/6 epoch 1/5 | patches=112 | loss=0.7597
62
+ [07:22:18][ 627s][FT] round 4/6 epoch 2/5 | patches=112 | loss=0.7372
63
+ [07:22:21][ 629s][FT] round 4/6 epoch 3/5 | patches=112 | loss=0.7457
64
+ [07:22:23][ 631s][FT] round 4/6 epoch 4/5 | patches=112 | loss=0.7221
65
+ [07:22:25][ 634s][FT] round 4/6 epoch 5/5 | patches=112 | loss=0.7071
66
+ [07:22:27][ 635s][AL] round 4/6 | labeled=112 | selection_seconds=5.3000 round_seconds=116.2000 pseudo_student_dice=0.6452 pseudo_ensemble_dice=0.4695 consistency_scale=0.4840 val_dice=0.7543 val_vi=0.5300 val_ece=0.0126
67
+ [07:23:21][ 690s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.382, cerebellum=0.470, flywire=0.233, berghia=0.378, microns=0.641, oct-glia=0.190, oct-sfl=0.278, mouse-brain=0.304 | blended with labeled Dice at 0.50
68
+ [07:24:08][ 736s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.557, uniform=0.364, top1=0.558, top2=0.559, top3=0.559 -> using mixture
69
+ [07:24:08][ 736s][WEIGHTS] round 5: teacher Dice on 140 labeled patches + 0 blank (1440921 fg px): c-elegans=0.369, cerebellum=0.432, flywire=0.202, berghia=0.328, microns=0.558, oct-glia=0.162, oct-sfl=0.224, mouse-brain=0.293 | weights: c-elegans=0.002, cerebellum=0.032, flywire=0.022, berghia=0.005, microns=0.935, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
70
+ [07:24:13][ 741s][CONS] round 5: on the 28 new patches student Dice=0.644 vs ensemble 0.466 -> pseudo-labels from the student | consistency x0.48
71
+ [07:24:15][ 744s][FT] round 5/6 epoch 1/5 | patches=140 | loss=0.7219
72
+ [07:24:18][ 747s][FT] round 5/6 epoch 2/5 | patches=140 | loss=0.7203
73
+ [07:24:21][ 749s][FT] round 5/6 epoch 3/5 | patches=140 | loss=0.7187
74
+ [07:24:24][ 752s][FT] round 5/6 epoch 4/5 | patches=140 | loss=0.7061
75
+ [07:24:26][ 755s][FT] round 5/6 epoch 5/5 | patches=140 | loss=0.7081
76
+ [07:24:28][ 756s][AL] round 5/6 | labeled=140 | selection_seconds=5.4000 round_seconds=119.8000 pseudo_student_dice=0.6441 pseudo_ensemble_dice=0.4658 consistency_scale=0.4800 val_dice=0.7540 val_vi=0.5364 val_ece=0.0150
77
+ [07:25:23][ 811s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.391, cerebellum=0.477, flywire=0.236, berghia=0.380, microns=0.644, oct-glia=0.193, oct-sfl=0.280, mouse-brain=0.311 | blended with labeled Dice at 0.50
78
+ [07:26:10][ 859s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.563, uniform=0.370, top1=0.564, top2=0.565, top3=0.565 -> using mixture
79
+ [07:26:10][ 859s][WEIGHTS] round 6: teacher Dice on 168 labeled patches + 0 blank (1701154 fg px): c-elegans=0.373, cerebellum=0.436, flywire=0.205, berghia=0.332, microns=0.564, oct-glia=0.166, oct-sfl=0.228, mouse-brain=0.294 | weights: c-elegans=0.002, cerebellum=0.031, flywire=0.021, berghia=0.005, microns=0.937, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
80
+ [07:26:15][ 863s][CONS] round 6: on the 28 new patches student Dice=0.666 vs ensemble 0.527 -> pseudo-labels from the student | consistency x0.55
81
+ [07:26:18][ 867s][FT] round 6/6 epoch 1/5 | patches=168 | loss=0.7158
82
+ [07:26:21][ 870s][FT] round 6/6 epoch 2/5 | patches=168 | loss=0.6940
83
+ [07:26:24][ 873s][FT] round 6/6 epoch 3/5 | patches=168 | loss=0.6996
84
+ [07:26:28][ 876s][FT] round 6/6 epoch 4/5 | patches=168 | loss=0.6985
85
+ [07:26:31][ 879s][FT] round 6/6 epoch 5/5 | patches=168 | loss=0.6847
86
+ [07:26:32][ 881s][AL] round 6/6 | labeled=168 | selection_seconds=5.2000 round_seconds=123.1000 pseudo_student_dice=0.6663 pseudo_ensemble_dice=0.5269 consistency_scale=0.5540 val_dice=0.7572 val_vi=0.5271 val_ece=0.0199
87
+ [07:26:35][ 884s][CONS] final consolidation: pseudo-labels refreshed from the student
88
+ [07:26:39][ 887s][FT] final 1/10 epoch 1/1 | patches=168 | loss=0.6821
89
+ [07:26:42][ 890s][FT] final 2/10 epoch 1/1 | patches=168 | loss=0.6618
90
+ [07:26:45][ 893s][FT] final 3/10 epoch 1/1 | patches=168 | loss=0.6616
91
+ [07:26:48][ 897s][FT] final 4/10 epoch 1/1 | patches=168 | loss=0.6538
92
+ [07:26:51][ 900s][FT] final 5/10 epoch 1/1 | patches=168 | loss=0.6508
93
+ [07:26:54][ 903s][FT] final 6/10 epoch 1/1 | patches=168 | loss=0.6438
94
+ [07:26:58][ 906s][FT] final 7/10 epoch 1/1 | patches=168 | loss=0.6371
95
+ [07:27:01][ 909s][FT] final 8/10 epoch 1/1 | patches=168 | loss=0.6338
96
+ [07:27:04][ 913s][FT] final 9/10 epoch 1/1 | patches=168 | loss=0.6283
97
+ [07:27:07][ 916s][FT] final 10/10 epoch 1/1 | patches=168 | loss=0.6262
98
+ [07:27:09][ 917s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=35.1000 val_dice=0.7544 val_vi=0.5236 val_ece=0.0221
99
+ [07:27:09][ 917s][WEIGHTS] final: c-elegans=0.002, cerebellum=0.031, flywire=0.021, berghia=0.005, microns=0.937, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
100
+ [07:27:19][ 928s][TEST] raw student (no EMA, no TTA): patch_dice=0.7464 patch_vi=0.5306
101
+ [07:27:21][ 929s][TEST] final model without TTA: patch_dice=0.7464 patch_vi=0.5306
102
+ [07:27:21][ 929s][RESOURCES] {"phases": {"setup": {"seconds": 1.13, "peak_cpu_rss_mb": 1027.0, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 25.21, "peak_cpu_rss_mb": 1809.0, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 194.08, "peak_cpu_rss_mb": 2895.7, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 695.12, "peak_cpu_rss_mb": 2895.7, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 11.65, "peak_cpu_rss_mb": 2895.7, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 735, "images": 15, "patches_per_second": 63.1, "seconds_per_image": 0.777}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2895.7, "total_seconds": 927.2}
103
+ [07:27:21][ 929s][TEST] patch_dice=0.7569 patch_iou=0.6183 patch_precision=0.7430 patch_recall=0.7744 patch_vi=0.5125 image_dice=0.8046 image_iou=0.6736 image_precision=0.7945 image_recall=0.8155 image_vi=0.5193 cal_ece=0.0111 cal_nll=0.1813 cal_brier=0.0572 cal_mean_confidence=0.9282 cal_accuracy=0.9172 cal_predicted_prevalence=0.2129 cal_true_prevalence=0.2059 cal_mean_probability=0.2114
104
+ [07:27:21][ 929s][DONE] snemi3d macs-v11-norestart-acq-margin b5 s2 | test patch Dice=0.7569 VI=0.5125 | image Dice=0.8046 VI=0.5193 | 929s
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-margin/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "snemi3d",
3
+ "variant": "macs-v11-norestart-acq-margin",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "snemi3d",
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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "2",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.00526521078604608,
154
+ 0.05775508166244069,
155
+ 0.39371182687582884,
156
+ 0.027420285915093805,
157
+ 0.47701492758994885,
158
+ 0.006835626005792793,
159
+ 0.011200163178997314,
160
+ 0.020796877985851614
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.00526521078604608,
175
+ 0.05775508166244069,
176
+ 0.39371182687582884,
177
+ 0.027420285915093805,
178
+ 0.47701492758994885,
179
+ 0.006835626005792793,
180
+ 0.011200163178997314,
181
+ 0.020796877985851614
182
+ ],
183
+ "per_source": [
184
+ 0.0030099345500300633,
185
+ 0.30826329572645517,
186
+ 0.030874948568488214,
187
+ 0.005310476630139808,
188
+ 0.6243402297379833,
189
+ 0.021312995363178842,
190
+ 0.004803663858606227,
191
+ 0.0020844555651184054
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.04836304661062167,
205
+ "mmd2_mixture": 0.06012254011242163,
206
+ "mmd2_uniform": 0.15285652884935502,
207
+ "mmd2_single_source": [
208
+ 0.4522663178230211,
209
+ 0.14701205466558376,
210
+ 0.12241636968711567,
211
+ 0.27265250499014093,
212
+ 0.08995147555294303,
213
+ 0.3744252998076626,
214
+ 0.3395783286723916,
215
+ 0.23687871798038196
216
+ ],
217
+ "median_squared_distance": 0.18663079059841653,
218
+ "gammas": [
219
+ 1.3395431654037109,
220
+ 2.6790863308074218,
221
+ 5.3581726616148435,
222
+ 10.716345323229687,
223
+ 21.432690646459374
224
+ ],
225
+ "max_weight": 0.47701492758994885,
226
+ "entropy": 1.1759493501799958,
227
+ "effective_sources": 3.241218535100111,
228
+ "min_weight": 0.00526521078604608
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.46244015980269426,
233
+ 0.12211161125756897,
234
+ 0.2912827113901817,
235
+ 0.4206979810988831,
236
+ 0.07022524085432302,
237
+ 0.3185314378412357,
238
+ 0.4280722723409719,
239
+ 0.48945233449571823
240
+ ],
241
+ "standardized": [
242
+ 0.9323157340081956,
243
+ -1.3822022358410426,
244
+ -0.2316976633920459,
245
+ 0.6484341051420859,
246
+ -1.7350728286900672,
247
+ -0.0463835976280083,
248
+ 0.6985854358714068,
249
+ 1.1160210505294779
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.6243402297379833,
253
+ "entropy": 0.9300685916208571,
254
+ "effective_sources": 2.534683029672754,
255
+ "min_weight": 0.0020844555651184054
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4124719184272143,
265
+ 0.4732143695257148,
266
+ 0.1963993253870582,
267
+ 0.31013775029960944,
268
+ 0.5894614335833763,
269
+ 0.13744118666208724,
270
+ 0.30544280939432356,
271
+ 0.35012843982905756
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.4205090273501111,
275
+ "mixture@raw": 0.46291647296981747,
276
+ "mixture@logit": 0.3665771544587855,
277
+ "per_source": 0.5892233046139178,
278
+ "per_source@raw": 0.5905333874987907,
279
+ "per_source@logit": 0.5781025615679164,
280
+ "uniform": 0.41121937389276464,
281
+ "uniform@raw": 0.46695544697394986,
282
+ "uniform@logit": 0.22779528784246278
283
+ },
284
+ "val_patches": 735
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 2.6421806812286377,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.47701492758994885,
299
+ "entropy": 1.1759493501799958,
300
+ "effective_sources": 3.241218535100111,
301
+ "min_weight": 0.00526521078604608
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": 194.1,
313
+ "round0_val": {
314
+ "val_dice": 0.35365409409657816,
315
+ "val_vi": 0.627529035005998,
316
+ "val_ece": 0.07640721373388315
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 28,
322
+ "selection_seconds": 28.4,
323
+ "round_seconds": 158.1,
324
+ "teacher_dice_labeled": [
325
+ 0.2979926532667371,
326
+ 0.40138560205746643,
327
+ 0.2091063280267666,
328
+ 0.345169021450426,
329
+ 0.5132033840553815,
330
+ 0.1750097104074813,
331
+ 0.1991102608484407,
332
+ 0.22650021516746904
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 229858,
336
+ "evidence_nonempty_patches": 28,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.3728225794885769,
340
+ "restart_teacher_dice": 0.5132033840553815,
341
+ "weights": [
342
+ 0.0011717197029955054,
343
+ 0.036143320102722025,
344
+ 0.03602118748512524,
345
+ 0.009780573323141589,
346
+ 0.9132470305826798,
347
+ 0.0004447112636304281,
348
+ 0.0009272386944261949,
349
+ 0.002264218845279129
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.5124341043740674,
354
+ "uniform": 0.371832611058189,
355
+ "top1": 0.5132033840553815,
356
+ "top2": 0.5140566832535806,
357
+ "top3": 0.5140133725772849
358
+ },
359
+ "val_dice": 0.7016877048595026,
360
+ "val_vi": 0.5972861693259305,
361
+ "val_ece": 0.012805830910195319
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 56,
366
+ "selection_seconds": 5.5,
367
+ "round_seconds": 19.8,
368
+ "teacher_dice_labeled": [
369
+ 0.3432294869846446,
370
+ 0.38007716816165,
371
+ 0.1893160272069609,
372
+ 0.27325800973621645,
373
+ 0.5104215693825217,
374
+ 0.11859077059313591,
375
+ 0.16161456913007907,
376
+ 0.2653818534052973
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 537619,
380
+ "evidence_nonempty_patches": 56,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.001923155375394908,
385
+ 0.03049413082456546,
386
+ 0.030855984596669918,
387
+ 0.004974945473752838,
388
+ 0.9273348235211605,
389
+ 0.0002641090935606338,
390
+ 0.0006653947874493764,
391
+ 0.003487456327446416
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.509141392934992,
396
+ "uniform": 0.30389289820522647,
397
+ "top1": 0.5104215693825217,
398
+ "top2": 0.5115149870379297,
399
+ "top3": 0.5115711424860857
400
+ },
401
+ "pseudo_student_dice": 0.5472098965968067,
402
+ "pseudo_ensemble_dice": 0.506101874934941,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.157,
405
+ "val_dice": 0.7407435071089333,
406
+ "val_vi": 0.5701167948241403,
407
+ "val_ece": 0.014880619563059446
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 84,
412
+ "selection_seconds": 5.3,
413
+ "round_seconds": 112.9,
414
+ "teacher_dice_labeled": [
415
+ 0.37771424181735946,
416
+ 0.4383924755772515,
417
+ 0.20803697104167745,
418
+ 0.3322271896816488,
419
+ 0.5713981309510543,
420
+ 0.1622958007666203,
421
+ 0.21629404144420006,
422
+ 0.30029101442837863
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.3939879167492122,
426
+ 0.48133117792688046,
427
+ 0.2378871834264335,
428
+ 0.38115292524663485,
429
+ 0.6639196547742888,
430
+ 0.2009226453097915,
431
+ 0.2786374526977216,
432
+ 0.31603711564037745
433
+ ],
434
+ "evidence_fg_pixels": 878752,
435
+ "evidence_nonempty_patches": 84,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0014948062507949434,
440
+ 0.030080258640846264,
441
+ 0.0204855948778826,
442
+ 0.004939617999442016,
443
+ 0.9394194674567167,
444
+ 0.0002251111641117732,
445
+ 0.0006329282351913225,
446
+ 0.002722215375014302
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.570805470117565,
451
+ "uniform": 0.3686947077957518,
452
+ "top1": 0.5713981309510543,
453
+ "top2": 0.5724235003227502,
454
+ "top3": 0.5725081953043248
455
+ },
456
+ "pseudo_student_dice": 0.6138777505811737,
457
+ "pseudo_ensemble_dice": 0.42072085731863107,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.38,
460
+ "val_dice": 0.7468245490384356,
461
+ "val_vi": 0.5417238671053858,
462
+ "val_ece": 0.010860615428633374
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 112,
467
+ "selection_seconds": 5.3,
468
+ "round_seconds": 116.2,
469
+ "teacher_dice_labeled": [
470
+ 0.37113155177689233,
471
+ 0.4304098004089352,
472
+ 0.20188035699616788,
473
+ 0.32804902477829634,
474
+ 0.5613490894740727,
475
+ 0.16195989381006395,
476
+ 0.22064107723935433,
477
+ 0.2945484326528721
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.37930059726350224,
481
+ 0.46679191904083284,
482
+ 0.22973305931652954,
483
+ 0.37275095341645953,
484
+ 0.646127639407633,
485
+ 0.19164165882853965,
486
+ 0.2799476672005563,
487
+ 0.3042154481257559
488
+ ],
489
+ "evidence_fg_pixels": 1174561,
490
+ "evidence_nonempty_patches": 112,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.00154438979007035,
495
+ 0.030645980759803813,
496
+ 0.021255485098501642,
497
+ 0.005227669234419145,
498
+ 0.9375132175239673,
499
+ 0.0002475702667783434,
500
+ 0.00072944689996532,
501
+ 0.0028362404264940613
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.5607148781393188,
506
+ "uniform": 0.3658178463120181,
507
+ "top1": 0.5613490894740727,
508
+ "top2": 0.5624084345460589,
509
+ "top3": 0.5624875840270268
510
+ },
511
+ "pseudo_student_dice": 0.6451945548649818,
512
+ "pseudo_ensemble_dice": 0.4694781440108841,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.484,
515
+ "val_dice": 0.7542581674695896,
516
+ "val_vi": 0.5300439451809495,
517
+ "val_ece": 0.012610876109984098
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 140,
522
+ "selection_seconds": 5.4,
523
+ "round_seconds": 119.8,
524
+ "teacher_dice_labeled": [
525
+ 0.3686013985558847,
526
+ 0.4316764686766728,
527
+ 0.2017286174831427,
528
+ 0.32834735201508225,
529
+ 0.5580438444411788,
530
+ 0.16184451751433904,
531
+ 0.22400369081247648,
532
+ 0.292771023767665
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.3818583838279288,
536
+ 0.4695261790989113,
537
+ 0.23319827221739736,
538
+ 0.3783978491677929,
539
+ 0.6413947113666308,
540
+ 0.18985071416968632,
541
+ 0.2782163770065046,
542
+ 0.30448063459351216
543
+ ],
544
+ "evidence_fg_pixels": 1440921,
545
+ "evidence_nonempty_patches": 140,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0015526486686203665,
550
+ 0.03200215204034361,
551
+ 0.02188349146114073,
552
+ 0.005406401675151992,
553
+ 0.9352495152292364,
554
+ 0.00025497758356847564,
555
+ 0.0007778608562707616,
556
+ 0.0028729524856675776
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.5573747664340176,
561
+ "uniform": 0.36380727550724445,
562
+ "top1": 0.5580438444411788,
563
+ "top2": 0.5590948972738314,
564
+ "top3": 0.5591800198932264
565
+ },
566
+ "pseudo_student_dice": 0.6441366353069468,
567
+ "pseudo_ensemble_dice": 0.4658413022561706,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.48,
570
+ "val_dice": 0.7539582315006403,
571
+ "val_vi": 0.536392270389954,
572
+ "val_ece": 0.01499025266145266
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 168,
577
+ "selection_seconds": 5.2,
578
+ "round_seconds": 123.1,
579
+ "teacher_dice_labeled": [
580
+ 0.3734322017511206,
581
+ 0.4356543154702399,
582
+ 0.20464087198641312,
583
+ 0.3322555657020442,
584
+ 0.563837343525697,
585
+ 0.16618033768548526,
586
+ 0.22835194680726428,
587
+ 0.2938739092673822
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.39086690892472775,
591
+ 0.4766700450989547,
592
+ 0.23643556022313506,
593
+ 0.3796429239120413,
594
+ 0.6442590563252943,
595
+ 0.1929323791472062,
596
+ 0.28010353436049357,
597
+ 0.3105360609364328
598
+ ],
599
+ "evidence_fg_pixels": 1701154,
600
+ "evidence_nonempty_patches": 168,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0015400210244406964,
605
+ 0.03147228651218212,
606
+ 0.021293052134217047,
607
+ 0.005313185861618959,
608
+ 0.9366166665504763,
609
+ 0.00025165512057501784,
610
+ 0.0007678204876118409,
611
+ 0.0027453123088780123
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.563181371815908,
616
+ "uniform": 0.3701849952532835,
617
+ "top1": 0.563837343525697,
618
+ "top2": 0.5648706041858641,
619
+ "top3": 0.5649549898869545
620
+ },
621
+ "pseudo_student_dice": 0.6663378365932968,
622
+ "pseudo_ensemble_dice": 0.526872228608967,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.554,
625
+ "val_dice": 0.7571927107648795,
626
+ "val_vi": 0.5271002562939713,
627
+ "val_ece": 0.019880075923030854
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 168,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 35.1,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7543813767791763,
636
+ "val_vi": 0.5235559405723194,
637
+ "val_ece": 0.02210728108908942
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.3417284798148,
642
+ "auroc_top20_error": 0.7648460675398855
643
+ },
644
+ "al_seconds": 695.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.0015400210244406964,
657
+ 0.03147228651218212,
658
+ 0.021293052134217047,
659
+ 0.005313185861618959,
660
+ 0.9366166665504763,
661
+ 0.00025165512057501784,
662
+ 0.0007678204876118409,
663
+ 0.0027453123088780123
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.9366166665504763,
667
+ "entropy": 0.31373234511206094,
668
+ "effective_sources": 1.3685233955470057,
669
+ "min_weight": 0.00025165512057501784
670
+ },
671
+ "top_source_final": "microns_basil",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7463989317843966,
676
+ "patch_iou": 0.6049912614203673,
677
+ "patch_precision": 0.7317079484329733,
678
+ "patch_recall": 0.7650737901798045,
679
+ "patch_vi": 0.5305903317803623,
680
+ "n_patches": 735,
681
+ "cal_ece": 0.020550589690599023,
682
+ "cal_nll": 0.19512247212991776,
683
+ "cal_brier": 0.06096353383874734,
684
+ "cal_mean_confidence": 0.93365247106815,
685
+ "cal_accuracy": 0.913101881377551,
686
+ "cal_predicted_prevalence": 0.213156356292517,
687
+ "cal_true_prevalence": 0.20588727678571428,
688
+ "cal_mean_probability": 0.21058684109828682
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7463989317843966,
692
+ "patch_iou": 0.6049912614203673,
693
+ "patch_precision": 0.7317079484329733,
694
+ "patch_recall": 0.7650737901798045,
695
+ "patch_vi": 0.5305903317803623,
696
+ "n_patches": 735,
697
+ "cal_ece": 0.020550589690599023,
698
+ "cal_nll": 0.19512247212991776,
699
+ "cal_brier": 0.06096353383874734,
700
+ "cal_mean_confidence": 0.93365247106815,
701
+ "cal_accuracy": 0.913101881377551,
702
+ "cal_predicted_prevalence": 0.213156356292517,
703
+ "cal_true_prevalence": 0.20588727678571428,
704
+ "cal_mean_probability": 0.21058684109828682
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7568723733296536,
708
+ "patch_iou": 0.6183452706631142,
709
+ "patch_precision": 0.7430031357981336,
710
+ "patch_recall": 0.7743687919004077,
711
+ "patch_vi": 0.5124967708597993,
712
+ "n_patches": 735,
713
+ "image_dice": 0.8045990482995631,
714
+ "image_iou": 0.6735972010434514,
715
+ "image_precision": 0.7944607469663268,
716
+ "image_recall": 0.8154881555346277,
717
+ "image_vi": 0.5193016730431826,
718
+ "n_images": 15,
719
+ "cal_ece": 0.011084755612734554,
720
+ "cal_nll": 0.1812968731235373,
721
+ "cal_brier": 0.05720631288259247,
722
+ "cal_mean_confidence": 0.9282390392011701,
723
+ "cal_accuracy": 0.9171542835884354,
724
+ "cal_predicted_prevalence": 0.2129092261904762,
725
+ "cal_true_prevalence": 0.20588727678571428,
726
+ "cal_mean_probability": 0.2114104320651455
727
+ },
728
+ "eval_seconds": 11.6,
729
+ "total_seconds": 929.1,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.13,
734
+ "peak_cpu_rss_mb": 1027.0,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 25.21,
740
+ "peak_cpu_rss_mb": 1809.0,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 194.08,
746
+ "peak_cpu_rss_mb": 2895.7,
747
+ "peak_gpu_alloc_mb": 4303.7,
748
+ "peak_gpu_reserved_mb": 4638.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 695.12,
753
+ "peak_cpu_rss_mb": 2895.7,
754
+ "peak_gpu_alloc_mb": 4424.0,
755
+ "peak_gpu_reserved_mb": 4646.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 11.65,
760
+ "peak_cpu_rss_mb": 2895.7,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4646.0,
763
+ "patches": 735,
764
+ "images": 15,
765
+ "patches_per_second": 63.1,
766
+ "seconds_per_image": 0.777
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4424.0,
770
+ "peak_cpu_rss_mb": 2895.7,
771
+ "total_seconds": 927.2
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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/snemi3d/macs-v11-norestart-acq-margin_b5_s2.pth"
785
+ }
macs_v2_r26/runs/membrane/snemi3d/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,28,28.4,158.1,"[0.2979926532667371, 0.40138560205746643, 0.2091063280267666, 0.345169021450426, 0.5132033840553815, 0.1750097104074813, 0.1991102608484407, 0.22650021516746904]",,229858,28,True,kept,0.3728225794885769,0.5132033840553815,"[0.0011717197029955054, 0.036143320102722025, 0.03602118748512524, 0.009780573323141589, 0.9132470305826798, 0.0004447112636304281, 0.0009272386944261949, 0.002264218845279129]",mixture,"{'mixture': 0.5124341043740674, 'uniform': 0.371832611058189, 'top1': 0.5132033840553815, 'top2': 0.5140566832535806, 'top3': 0.5140133725772849}",0.7016877048595026,0.5972861693259305,0.012805830910195319,,,,,
3
+ 2,56,5.5,19.8,"[0.3432294869846446, 0.38007716816165, 0.1893160272069609, 0.27325800973621645, 0.5104215693825217, 0.11859077059313591, 0.16161456913007907, 0.2653818534052973]",,537619,56,False,,,,"[0.001923155375394908, 0.03049413082456546, 0.030855984596669918, 0.004974945473752838, 0.9273348235211605, 0.0002641090935606338, 0.0006653947874493764, 0.003487456327446416]",mixture,"{'mixture': 0.509141392934992, 'uniform': 0.30389289820522647, 'top1': 0.5104215693825217, 'top2': 0.5115149870379297, 'top3': 0.5115711424860857}",0.7407435071089333,0.5701167948241403,0.014880619563059446,0.5472098965968067,0.506101874934941,student,0.157,
4
+ 3,84,5.3,112.9,"[0.37771424181735946, 0.4383924755772515, 0.20803697104167745, 0.3322271896816488, 0.5713981309510543, 0.1622958007666203, 0.21629404144420006, 0.30029101442837863]","[0.3939879167492122, 0.48133117792688046, 0.2378871834264335, 0.38115292524663485, 0.6639196547742888, 0.2009226453097915, 0.2786374526977216, 0.31603711564037745]",878752,84,False,,,,"[0.0014948062507949434, 0.030080258640846264, 0.0204855948778826, 0.004939617999442016, 0.9394194674567167, 0.0002251111641117732, 0.0006329282351913225, 0.002722215375014302]",mixture,"{'mixture': 0.570805470117565, 'uniform': 0.3686947077957518, 'top1': 0.5713981309510543, 'top2': 0.5724235003227502, 'top3': 0.5725081953043248}",0.7468245490384356,0.5417238671053858,0.010860615428633374,0.6138777505811737,0.42072085731863107,student,0.38,
5
+ 4,112,5.3,116.2,"[0.37113155177689233, 0.4304098004089352, 0.20188035699616788, 0.32804902477829634, 0.5613490894740727, 0.16195989381006395, 0.22064107723935433, 0.2945484326528721]","[0.37930059726350224, 0.46679191904083284, 0.22973305931652954, 0.37275095341645953, 0.646127639407633, 0.19164165882853965, 0.2799476672005563, 0.3042154481257559]",1174561,112,False,,,,"[0.00154438979007035, 0.030645980759803813, 0.021255485098501642, 0.005227669234419145, 0.9375132175239673, 0.0002475702667783434, 0.00072944689996532, 0.0028362404264940613]",mixture,"{'mixture': 0.5607148781393188, 'uniform': 0.3658178463120181, 'top1': 0.5613490894740727, 'top2': 0.5624084345460589, 'top3': 0.5624875840270268}",0.7542581674695896,0.5300439451809495,0.012610876109984098,0.6451945548649818,0.4694781440108841,student,0.484,
6
+ 5,140,5.4,119.8,"[0.3686013985558847, 0.4316764686766728, 0.2017286174831427, 0.32834735201508225, 0.5580438444411788, 0.16184451751433904, 0.22400369081247648, 0.292771023767665]","[0.3818583838279288, 0.4695261790989113, 0.23319827221739736, 0.3783978491677929, 0.6413947113666308, 0.18985071416968632, 0.2782163770065046, 0.30448063459351216]",1440921,140,False,,,,"[0.0015526486686203665, 0.03200215204034361, 0.02188349146114073, 0.005406401675151992, 0.9352495152292364, 0.00025497758356847564, 0.0007778608562707616, 0.0028729524856675776]",mixture,"{'mixture': 0.5573747664340176, 'uniform': 0.36380727550724445, 'top1': 0.5580438444411788, 'top2': 0.5590948972738314, 'top3': 0.5591800198932264}",0.7539582315006403,0.536392270389954,0.01499025266145266,0.6441366353069468,0.4658413022561706,student,0.48,
7
+ 6,168,5.2,123.1,"[0.3734322017511206, 0.4356543154702399, 0.20464087198641312, 0.3322555657020442, 0.563837343525697, 0.16618033768548526, 0.22835194680726428, 0.2938739092673822]","[0.39086690892472775, 0.4766700450989547, 0.23643556022313506, 0.3796429239120413, 0.6442590563252943, 0.1929323791472062, 0.28010353436049357, 0.3105360609364328]",1701154,168,False,,,,"[0.0015400210244406964, 0.03147228651218212, 0.021293052134217047, 0.005313185861618959, 0.9366166665504763, 0.00025165512057501784, 0.0007678204876118409, 0.0027453123088780123]",mixture,"{'mixture': 0.563181371815908, 'uniform': 0.3701849952532835, 'top1': 0.563837343525697, 'top2': 0.5648706041858641, 'top3': 0.5649549898869545}",0.7571927107648795,0.5271002562939713,0.019880075923030854,0.6663378365932968,0.526872228608967,student,0.554,
8
+ 7,168,0.0,35.1,,,,,,,,,,,,0.7543813767791763,0.5235559405723194,0.02210728108908942,,,,,True
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-3/log.txt ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [10:18:06][ 0s][START] target=snemi3d variant=macs-v11-norestart-acq-mcdropout budget=5.0% seed=3 | {"task": "membrane", "target": "snemi3d", "variant": "macs-v11-norestart-acq-mcdropout", "budget": 5.0, "seed": 3, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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:18: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
+ [10:18:06][ 0s][DATA] snemi3d: train=3430 val=735 test=735 patches
4
+ [10:18:08][ 1s][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.08
5
+ [10:18:08][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [10:18:14][ 7s][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
+ [10:18:14][ 7s][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
+ [10:18:32][ 25s][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
+ [10:18:32][ 25s][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
+ [10:18:32][ 25s][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
+ [10:18:32][ 25s][INIT] student initialised from teacher microns (weight 0.477)
12
+ [10:18:33][ 27s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [10:18:33][ 27s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [10:19:12][ 66s][KD] soft labels for 3430 patches from 8 teachers in 39s
15
+ [10:19:43][ 96s][KD] epoch 1/5 | patches=3430 | loss=0.4446 | 30s
16
+ [10:20:14][ 127s][KD] epoch 2/5 | patches=3430 | loss=0.3724 | 31s
17
+ [10:20:45][ 158s][KD] epoch 3/5 | patches=3430 | loss=0.3566 | 31s
18
+ [10:21:15][ 188s][KD] epoch 4/5 | patches=3430 | loss=0.3518 | 30s
19
+ [10:21:45][ 219s][KD] epoch 5/5 | patches=3430 | loss=0.3476 | 31s
20
+ [10:21:47][ 220s][ROUND0] before any target label: val_dice=0.3504 val_vi=0.6311
21
+ [10:21:47][ 220s][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
+ [10:21:53][ 227s][AL] round-1 uncertainty quality on 3430 patches: {'spearman_uncertainty_error': 0.4795522004497552, 'auroc_top20_error': 0.8258676231842175}
23
+ [10:22:16][ 250s][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
+ [10:22:18][ 252s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.560, uniform=0.405, top1=0.561, top2=0.563, top3=0.563 -> using mixture
25
+ [10:22:18][ 252s][WEIGHTS] round 1: student kept (labeled Dice 0.392 vs best teacher microns 0.561); distilling the corrected ensemble into it
26
+ [10:22:18][ 252s][WEIGHTS] round 1: teacher Dice on 28 labeled patches + 0 blank (288982 fg px): c-elegans=0.361, cerebellum=0.451, flywire=0.218, berghia=0.284, microns=0.561, oct-glia=0.186, oct-sfl=0.372, mouse-brain=0.290 | weights: c-elegans=0.001, cerebellum=0.037, flywire=0.025, berghia=0.003, microns=0.927, oct-glia=0.000, oct-sfl=0.003, mouse-brain=0.003
27
+ [10:22:57][ 291s][KD] soft labels for 3402 patches from 8 teachers in 39s
28
+ [10:23:28][ 322s][KD] epoch 1/2 | patches=3402 | loss=0.2479 | 31s
29
+ [10:23:57][ 351s][KD] epoch 2/2 | patches=3402 | loss=0.2446 | 29s
30
+ [10:24:20][ 374s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [10:24:21][ 375s][FT] round 1/6 epoch 1/5 | patches=28 | loss=1.0334
32
+ [10:24:22][ 376s][FT] round 1/6 epoch 2/5 | patches=28 | loss=0.9354
33
+ [10:24:23][ 377s][FT] round 1/6 epoch 3/5 | patches=28 | loss=0.8876
34
+ [10:24:24][ 377s][FT] round 1/6 epoch 4/5 | patches=28 | loss=0.8557
35
+ [10:24:25][ 378s][FT] round 1/6 epoch 5/5 | patches=28 | loss=0.8477
36
+ [10:24:26][ 380s][AL] round 1/6 | labeled=28 | selection_seconds=29.4000 round_seconds=157.9000 restart_student_dice=0.3917 restart_teacher_dice=0.5609 val_dice=0.7324 val_vi=0.5694 val_ece=0.0110
37
+ [10:24:32][ 386s][AL] round 2: 1/3402 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [10:24:35][ 389s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.444, uniform=0.325, top1=0.448, top2=0.454, top3=0.454 -> using top3
39
+ [10:24:35][ 389s][WEIGHTS] round 2: teacher Dice on 56 labeled patches + 0 blank (636921 fg px): c-elegans=0.359, cerebellum=0.446, flywire=0.212, berghia=0.318, microns=0.448, oct-glia=0.171, oct-sfl=0.264, mouse-brain=0.305 | weights: c-elegans=0.004, cerebellum=0.106, flywire=0.000, berghia=0.000, microns=0.890, oct-glia=0.000, oct-sfl=0.000, mouse-brain=0.000
40
+ [10:24:40][ 394s][CONS] round 2: on the 28 new patches student Dice=0.608 vs ensemble 0.318 -> pseudo-labels from the student | consistency x0.36
41
+ [10:24:41][ 395s][FT] round 2/6 epoch 1/5 | patches=56 | loss=0.8341
42
+ [10:24:43][ 396s][FT] round 2/6 epoch 2/5 | patches=56 | loss=0.7748
43
+ [10:24:44][ 398s][FT] round 2/6 epoch 3/5 | patches=56 | loss=0.7368
44
+ [10:24:45][ 399s][FT] round 2/6 epoch 4/5 | patches=56 | loss=0.7240
45
+ [10:24:47][ 400s][FT] round 2/6 epoch 5/5 | patches=56 | loss=0.7130
46
+ [10:24:48][ 402s][AL] round 2/6 | labeled=56 | selection_seconds=6.5000 round_seconds=20.8000 pseudo_student_dice=0.6085 pseudo_ensemble_dice=0.3182 consistency_scale=0.3620 val_dice=0.7421 val_vi=0.5560 val_ece=0.0160
47
+ [10:24:54][ 408s][AL] round 3: 1/3374 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [10:25:43][ 456s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.397, cerebellum=0.488, flywire=0.243, berghia=0.387, microns=0.680, oct-glia=0.197, oct-sfl=0.278, mouse-brain=0.314 | blended with labeled Dice at 0.50
49
+ [10:26:28][ 502s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.561, uniform=0.376, top1=0.562, top2=0.563, top3=0.563 -> using mixture
50
+ [10:26:28][ 502s][WEIGHTS] round 3: teacher Dice on 84 labeled patches + 0 blank (943818 fg px): c-elegans=0.377, cerebellum=0.452, flywire=0.221, berghia=0.344, microns=0.562, oct-glia=0.178, oct-sfl=0.251, mouse-brain=0.306 | weights: c-elegans=0.002, cerebellum=0.037, flywire=0.025, berghia=0.006, microns=0.925, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
51
+ [10:26:33][ 507s][CONS] round 3: on the 28 new patches student Dice=0.645 vs ensemble 0.433 -> pseudo-labels from the student | consistency x0.48
52
+ [10:26:35][ 509s][FT] round 3/6 epoch 1/5 | patches=84 | loss=0.7785
53
+ [10:26:37][ 510s][FT] round 3/6 epoch 2/5 | patches=84 | loss=0.7679
54
+ [10:26:39][ 512s][FT] round 3/6 epoch 3/5 | patches=84 | loss=0.7383
55
+ [10:26:40][ 514s][FT] round 3/6 epoch 4/5 | patches=84 | loss=0.7332
56
+ [10:26:42][ 516s][FT] round 3/6 epoch 5/5 | patches=84 | loss=0.7084
57
+ [10:26:44][ 517s][AL] round 3/6 | labeled=84 | selection_seconds=6.4000 round_seconds=114.0000 pseudo_student_dice=0.6451 pseudo_ensemble_dice=0.4329 consistency_scale=0.4840 val_dice=0.7503 val_vi=0.5510 val_ece=0.0170
58
+ [10:27:39][ 573s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.432, cerebellum=0.506, flywire=0.236, berghia=0.386, microns=0.658, oct-glia=0.193, oct-sfl=0.267, mouse-brain=0.343 | blended with labeled Dice at 0.50
59
+ [10:28:25][ 618s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.558, uniform=0.362, top1=0.559, top2=0.560, top3=0.560 -> using mixture
60
+ [10:28:25][ 618s][WEIGHTS] round 4: teacher Dice on 112 labeled patches + 0 blank (1182224 fg px): c-elegans=0.390, cerebellum=0.449, flywire=0.215, berghia=0.337, microns=0.559, oct-glia=0.170, oct-sfl=0.239, mouse-brain=0.314 | weights: c-elegans=0.002, cerebellum=0.037, flywire=0.024, berghia=0.006, microns=0.926, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
61
+ [10:28:30][ 623s][CONS] round 4: on the 28 new patches student Dice=0.644 vs ensemble 0.513 -> pseudo-labels from the student | consistency x0.48
62
+ [10:28:32][ 626s][FT] round 4/6 epoch 1/5 | patches=112 | loss=0.7208
63
+ [10:28:34][ 628s][FT] round 4/6 epoch 2/5 | patches=112 | loss=0.7066
64
+ [10:28:36][ 630s][FT] round 4/6 epoch 3/5 | patches=112 | loss=0.6940
65
+ [10:28:39][ 632s][FT] round 4/6 epoch 4/5 | patches=112 | loss=0.6903
66
+ [10:28:41][ 634s][FT] round 4/6 epoch 5/5 | patches=112 | loss=0.6861
67
+ [10:28:42][ 636s][AL] round 4/6 | labeled=112 | selection_seconds=6.3000 round_seconds=117.2000 pseudo_student_dice=0.6443 pseudo_ensemble_dice=0.5135 consistency_scale=0.4810 val_dice=0.7523 val_vi=0.5246 val_ece=0.0165
68
+ [10:29:38][ 692s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.373, cerebellum=0.461, flywire=0.241, berghia=0.372, microns=0.648, oct-glia=0.189, oct-sfl=0.276, mouse-brain=0.293 | blended with labeled Dice at 0.50
69
+ [10:30:25][ 738s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.557, uniform=0.367, top1=0.558, top2=0.559, top3=0.559 -> using mixture
70
+ [10:30:25][ 738s][WEIGHTS] round 5: teacher Dice on 140 labeled patches + 0 blank (1488314 fg px): c-elegans=0.360, cerebellum=0.427, flywire=0.212, berghia=0.333, microns=0.558, oct-glia=0.165, oct-sfl=0.250, mouse-brain=0.290 | weights: c-elegans=0.001, cerebellum=0.030, flywire=0.024, berghia=0.006, microns=0.934, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
71
+ [10:30:29][ 743s][CONS] round 5: on the 28 new patches student Dice=0.673 vs ensemble 0.496 -> pseudo-labels from the student | consistency x0.58
72
+ [10:30:32][ 746s][FT] round 5/6 epoch 1/5 | patches=140 | loss=0.7061
73
+ [10:30:35][ 749s][FT] round 5/6 epoch 2/5 | patches=140 | loss=0.6878
74
+ [10:30:38][ 751s][FT] round 5/6 epoch 3/5 | patches=140 | loss=0.6845
75
+ [10:30:41][ 754s][FT] round 5/6 epoch 4/5 | patches=140 | loss=0.6812
76
+ [10:30:43][ 757s][FT] round 5/6 epoch 5/5 | patches=140 | loss=0.6732
77
+ [10:30:45][ 758s][AL] round 5/6 | labeled=140 | selection_seconds=6.4000 round_seconds=121.0000 pseudo_student_dice=0.6735 pseudo_ensemble_dice=0.4959 consistency_scale=0.5780 val_dice=0.7568 val_vi=0.5302 val_ece=0.0188
78
+ [10:31:41][ 815s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.395, cerebellum=0.484, flywire=0.241, berghia=0.384, microns=0.645, oct-glia=0.199, oct-sfl=0.281, mouse-brain=0.315 | blended with labeled Dice at 0.50
79
+ [10:32:28][ 862s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.560, uniform=0.374, top1=0.561, top2=0.562, top3=0.562 -> using mixture
80
+ [10:32:28][ 862s][WEIGHTS] round 6: teacher Dice on 168 labeled patches + 0 blank (1780338 fg px): c-elegans=0.374, cerebellum=0.437, flywire=0.213, berghia=0.339, microns=0.561, oct-glia=0.170, oct-sfl=0.254, mouse-brain=0.301 | weights: c-elegans=0.002, cerebellum=0.033, flywire=0.024, berghia=0.006, microns=0.932, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
81
+ [10:32:33][ 867s][CONS] round 6: on the 28 new patches student Dice=0.664 vs ensemble 0.513 -> pseudo-labels from the student | consistency x0.55
82
+ [10:32:36][ 870s][FT] round 6/6 epoch 1/5 | patches=168 | loss=0.6981
83
+ [10:32:39][ 873s][FT] round 6/6 epoch 2/5 | patches=168 | loss=0.6750
84
+ [10:32:43][ 876s][FT] round 6/6 epoch 3/5 | patches=168 | loss=0.6793
85
+ [10:32:46][ 879s][FT] round 6/6 epoch 4/5 | patches=168 | loss=0.6753
86
+ [10:32:49][ 883s][FT] round 6/6 epoch 5/5 | patches=168 | loss=0.6607
87
+ [10:32:50][ 884s][AL] round 6/6 | labeled=168 | selection_seconds=6.3000 round_seconds=124.2000 pseudo_student_dice=0.6640 pseudo_ensemble_dice=0.5131 consistency_scale=0.5470 val_dice=0.7577 val_vi=0.5182 val_ece=0.0166
88
+ [10:32:54][ 887s][CONS] final consolidation: pseudo-labels refreshed from the student
89
+ [10:32:57][ 890s][FT] final 1/10 epoch 1/1 | patches=168 | loss=0.6569
90
+ [10:33:00][ 894s][FT] final 2/10 epoch 1/1 | patches=168 | loss=0.6460
91
+ [10:33:03][ 897s][FT] final 3/10 epoch 1/1 | patches=168 | loss=0.6440
92
+ [10:33:06][ 900s][FT] final 4/10 epoch 1/1 | patches=168 | loss=0.6361
93
+ [10:33:10][ 903s][FT] final 5/10 epoch 1/1 | patches=168 | loss=0.6337
94
+ [10:33:13][ 906s][FT] final 6/10 epoch 1/1 | patches=168 | loss=0.6272
95
+ [10:33:16][ 910s][FT] final 7/10 epoch 1/1 | patches=168 | loss=0.6199
96
+ [10:33:19][ 913s][FT] final 8/10 epoch 1/1 | patches=168 | loss=0.6179
97
+ [10:33:22][ 916s][FT] final 9/10 epoch 1/1 | patches=168 | loss=0.6094
98
+ [10:33:26][ 919s][FT] final 10/10 epoch 1/1 | patches=168 | loss=0.6205
99
+ [10:33:27][ 921s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=35.2000 val_dice=0.7596 val_vi=0.5157 val_ece=0.0215
100
+ [10:33:27][ 921s][WEIGHTS] final: c-elegans=0.002, cerebellum=0.033, flywire=0.024, berghia=0.006, microns=0.932, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.003
101
+ [10:33:37][ 931s][TEST] raw student (no EMA, no TTA): patch_dice=0.7530 patch_vi=0.5232
102
+ [10:33:39][ 933s][TEST] final model without TTA: patch_dice=0.7530 patch_vi=0.5232
103
+ [10:33:39][ 933s][RESOURCES] {"phases": {"setup": {"seconds": 1.16, "peak_cpu_rss_mb": 1027.9, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 25.23, "peak_cpu_rss_mb": 1809.6, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 192.42, "peak_cpu_rss_mb": 2896.9, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 700.54, "peak_cpu_rss_mb": 2896.9, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 11.74, "peak_cpu_rss_mb": 2896.9, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 735, "images": 15, "patches_per_second": 62.6, "seconds_per_image": 0.783}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2896.9, "total_seconds": 931.1}
104
+ [10:33:39][ 933s][TEST] patch_dice=0.7613 patch_iou=0.6242 patch_precision=0.7383 patch_recall=0.7886 patch_vi=0.5082 image_dice=0.8089 image_iou=0.6796 image_precision=0.7885 image_recall=0.8309 image_vi=0.5161 cal_ece=0.0111 cal_nll=0.1784 cal_brier=0.0565 cal_mean_confidence=0.9294 cal_accuracy=0.9183 cal_predicted_prevalence=0.2180 cal_true_prevalence=0.2059 cal_mean_probability=0.2176
105
+ [10:33:39][ 933s][DONE] snemi3d macs-v11-norestart-acq-mcdropout b5 s3 | test patch Dice=0.7613 VI=0.5082 | image Dice=0.8089 VI=0.5161 | 933s
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-3/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "snemi3d",
3
+ "variant": "macs-v11-norestart-acq-mcdropout",
4
+ "budget": 5.0,
5
+ "seed": 3,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "snemi3d",
9
+ "variant": "macs-v11-norestart-acq-mcdropout",
10
+ "budget": 5.0,
11
+ "seed": 3,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "3",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.00526521078604608,
154
+ 0.05775508166244069,
155
+ 0.39371182687582884,
156
+ 0.027420285915093805,
157
+ 0.47701492758994885,
158
+ 0.006835626005792793,
159
+ 0.011200163178997314,
160
+ 0.020796877985851614
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.00526521078604608,
175
+ 0.05775508166244069,
176
+ 0.39371182687582884,
177
+ 0.027420285915093805,
178
+ 0.47701492758994885,
179
+ 0.006835626005792793,
180
+ 0.011200163178997314,
181
+ 0.020796877985851614
182
+ ],
183
+ "per_source": [
184
+ 0.0030099345500300633,
185
+ 0.30826329572645517,
186
+ 0.030874948568488214,
187
+ 0.005310476630139808,
188
+ 0.6243402297379833,
189
+ 0.021312995363178842,
190
+ 0.004803663858606227,
191
+ 0.0020844555651184054
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.04836304661062167,
205
+ "mmd2_mixture": 0.06012254011242163,
206
+ "mmd2_uniform": 0.15285652884935502,
207
+ "mmd2_single_source": [
208
+ 0.4522663178230211,
209
+ 0.14701205466558376,
210
+ 0.12241636968711567,
211
+ 0.27265250499014093,
212
+ 0.08995147555294303,
213
+ 0.3744252998076626,
214
+ 0.3395783286723916,
215
+ 0.23687871798038196
216
+ ],
217
+ "median_squared_distance": 0.18663079059841653,
218
+ "gammas": [
219
+ 1.3395431654037109,
220
+ 2.6790863308074218,
221
+ 5.3581726616148435,
222
+ 10.716345323229687,
223
+ 21.432690646459374
224
+ ],
225
+ "max_weight": 0.47701492758994885,
226
+ "entropy": 1.1759493501799958,
227
+ "effective_sources": 3.241218535100111,
228
+ "min_weight": 0.00526521078604608
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.46244015980269426,
233
+ 0.12211161125756897,
234
+ 0.2912827113901817,
235
+ 0.4206979810988831,
236
+ 0.07022524085432302,
237
+ 0.3185314378412357,
238
+ 0.4280722723409719,
239
+ 0.48945233449571823
240
+ ],
241
+ "standardized": [
242
+ 0.9323157340081956,
243
+ -1.3822022358410426,
244
+ -0.2316976633920459,
245
+ 0.6484341051420859,
246
+ -1.7350728286900672,
247
+ -0.0463835976280083,
248
+ 0.6985854358714068,
249
+ 1.1160210505294779
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.6243402297379833,
253
+ "entropy": 0.9300685916208571,
254
+ "effective_sources": 2.534683029672754,
255
+ "min_weight": 0.0020844555651184054
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4124719184272143,
265
+ 0.4732143695257148,
266
+ 0.1963993253870582,
267
+ 0.31013775029960944,
268
+ 0.5894614335833763,
269
+ 0.13744118666208724,
270
+ 0.30544280939432356,
271
+ 0.35012843982905756
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.4205090273501111,
275
+ "mixture@raw": 0.46291647296981747,
276
+ "mixture@logit": 0.3665771544587855,
277
+ "per_source": 0.5892233046139178,
278
+ "per_source@raw": 0.5905333874987907,
279
+ "per_source@logit": 0.5781025615679164,
280
+ "uniform": 0.41121937389276464,
281
+ "uniform@raw": 0.46695544697394986,
282
+ "uniform@logit": 0.22779528784246278
283
+ },
284
+ "val_patches": 735
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 2.6421806812286377,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.47701492758994885,
299
+ "entropy": 1.1759493501799958,
300
+ "effective_sources": 3.241218535100111,
301
+ "min_weight": 0.00526521078604608
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": 192.4,
313
+ "round0_val": {
314
+ "val_dice": 0.3503957018118952,
315
+ "val_vi": 0.631135568604762,
316
+ "val_ece": 0.0757153987157513
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 28,
322
+ "selection_seconds": 29.4,
323
+ "round_seconds": 157.9,
324
+ "teacher_dice_labeled": [
325
+ 0.36056026860693446,
326
+ 0.4508413766529139,
327
+ 0.21750134794876225,
328
+ 0.28356610561779927,
329
+ 0.560875393102026,
330
+ 0.18601963732494034,
331
+ 0.3724686404052985,
332
+ 0.28968887034603186
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 288982,
336
+ "evidence_nonempty_patches": 28,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.391711079681163,
340
+ "restart_teacher_dice": 0.560875393102026,
341
+ "weights": [
342
+ 0.0013803357494966194,
343
+ 0.03734608199477827,
344
+ 0.024685983611284195,
345
+ 0.0033285842306526635,
346
+ 0.9269546251229578,
347
+ 0.000312843356437377,
348
+ 0.003307582804027515,
349
+ 0.00268396313036561
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.5602980725744923,
354
+ "uniform": 0.40469001951724776,
355
+ "top1": 0.560875393102026,
356
+ "top2": 0.5626323977653401,
357
+ "top3": 0.5627847905743437
358
+ },
359
+ "val_dice": 0.7323560437845593,
360
+ "val_vi": 0.5694021627238198,
361
+ "val_ece": 0.011040160826576361
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 56,
366
+ "selection_seconds": 6.5,
367
+ "round_seconds": 20.8,
368
+ "teacher_dice_labeled": [
369
+ 0.3585644400140594,
370
+ 0.44569513378054804,
371
+ 0.21164106279410505,
372
+ 0.31840836229424285,
373
+ 0.44781682892290103,
374
+ 0.17125172597809413,
375
+ 0.2640817814474379,
376
+ 0.30486247967348346
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 636921,
380
+ "evidence_nonempty_patches": 56,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.004025912650355965,
385
+ 0.10554619536395982,
386
+ 0.0,
387
+ 0.0,
388
+ 0.8904278919856843,
389
+ 0.0,
390
+ 0.0,
391
+ 0.0
392
+ ],
393
+ "ensemble_choice": "top3",
394
+ "candidate_dice": {
395
+ "mixture": 0.4444176386674499,
396
+ "uniform": 0.32484691123850307,
397
+ "top1": 0.44781682892290103,
398
+ "top2": 0.45371291795123353,
399
+ "top3": 0.45396144205152433
400
+ },
401
+ "pseudo_student_dice": 0.6084848613600118,
402
+ "pseudo_ensemble_dice": 0.31824112897528706,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.362,
405
+ "val_dice": 0.7421486412029648,
406
+ "val_vi": 0.556016678738807,
407
+ "val_ece": 0.015960624579132065
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 84,
412
+ "selection_seconds": 6.4,
413
+ "round_seconds": 114.0,
414
+ "teacher_dice_labeled": [
415
+ 0.3772306767830903,
416
+ 0.45163488231981797,
417
+ 0.2206921454618092,
418
+ 0.34409742181789726,
419
+ 0.5617200882449684,
420
+ 0.17804109167411933,
421
+ 0.2511611799133086,
422
+ 0.3060860498014537
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.39700488397740485,
426
+ 0.4883830214540865,
427
+ 0.24298449902950017,
428
+ 0.38680546140851324,
429
+ 0.6801822253345543,
430
+ 0.19701607358506548,
431
+ 0.2778733913497543,
432
+ 0.31410917782810194
433
+ ],
434
+ "evidence_fg_pixels": 943818,
435
+ "evidence_nonempty_patches": 84,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0016144130645445057,
440
+ 0.03726683086288565,
441
+ 0.02523127275765228,
442
+ 0.006036357907624515,
443
+ 0.9254611767492045,
444
+ 0.00028596166549658167,
445
+ 0.000973442678300187,
446
+ 0.003130544314291847
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.5608050244269053,
451
+ "uniform": 0.3759099719289151,
452
+ "top1": 0.5617200882449684,
453
+ "top2": 0.563139067283982,
454
+ "top3": 0.5632320431152088
455
+ },
456
+ "pseudo_student_dice": 0.6450631392491858,
457
+ "pseudo_ensemble_dice": 0.4328560747160571,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.484,
460
+ "val_dice": 0.7503492358738133,
461
+ "val_vi": 0.5510445083549702,
462
+ "val_ece": 0.017044766730611508
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 112,
467
+ "selection_seconds": 6.3,
468
+ "round_seconds": 117.2,
469
+ "teacher_dice_labeled": [
470
+ 0.39048865645881586,
471
+ 0.4491344212222539,
472
+ 0.21475358314891385,
473
+ 0.3369891850657348,
474
+ 0.5589963369618478,
475
+ 0.1701515660711788,
476
+ 0.2394433322730992,
477
+ 0.31370029514801345
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.4315052627319388,
481
+ 0.506103214858209,
482
+ 0.236099460618685,
483
+ 0.3860519184665265,
484
+ 0.6576926480768255,
485
+ 0.19304244666447792,
486
+ 0.26686329163719663,
487
+ 0.3427654718654806
488
+ ],
489
+ "evidence_fg_pixels": 1182224,
490
+ "evidence_nonempty_patches": 112,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.0018950403875757182,
495
+ 0.037366999859284565,
496
+ 0.024444065719803742,
497
+ 0.005780021245019906,
498
+ 0.9258790041630323,
499
+ 0.0002716871988332553,
500
+ 0.0008901138320830429,
501
+ 0.0034730675943676205
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.557933292560871,
506
+ "uniform": 0.3623408682867729,
507
+ "top1": 0.5589963369618478,
508
+ "top2": 0.5602149432711729,
509
+ "top3": 0.5603361268165685
510
+ },
511
+ "pseudo_student_dice": 0.6443473735400261,
512
+ "pseudo_ensemble_dice": 0.5134618975328987,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.481,
515
+ "val_dice": 0.7522883045571649,
516
+ "val_vi": 0.524641625228006,
517
+ "val_ece": 0.016537528590195295
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 140,
522
+ "selection_seconds": 6.4,
523
+ "round_seconds": 121.0,
524
+ "teacher_dice_labeled": [
525
+ 0.36001979030446934,
526
+ 0.4266018157765912,
527
+ 0.21166665891913206,
528
+ 0.3326090449700532,
529
+ 0.5582016752054481,
530
+ 0.16480849083774873,
531
+ 0.25026909107295403,
532
+ 0.28984831642964815
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.37284183823210754,
536
+ 0.4612999481718947,
537
+ 0.24096947941714422,
538
+ 0.37192028122390125,
539
+ 0.6479905837255117,
540
+ 0.1889133895654166,
541
+ 0.27553571279748673,
542
+ 0.2933843567028957
543
+ ],
544
+ "evidence_fg_pixels": 1488314,
545
+ "evidence_nonempty_patches": 140,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0014214857178205984,
550
+ 0.03034443133386405,
551
+ 0.024111028469058503,
552
+ 0.005628016509243339,
553
+ 0.9344405975254152,
554
+ 0.0002620071420808458,
555
+ 0.0010090434270227865,
556
+ 0.0027833898754947807
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.5570908624941996,
561
+ "uniform": 0.3666543830200925,
562
+ "top1": 0.5582016752054481,
563
+ "top2": 0.5591297232748379,
564
+ "top3": 0.5591888606233547
565
+ },
566
+ "pseudo_student_dice": 0.6734744719434842,
567
+ "pseudo_ensemble_dice": 0.4958697336902917,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.578,
570
+ "val_dice": 0.7568385587791026,
571
+ "val_vi": 0.5301980889611158,
572
+ "val_ece": 0.018759114485960196
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 168,
577
+ "selection_seconds": 6.3,
578
+ "round_seconds": 124.2,
579
+ "teacher_dice_labeled": [
580
+ 0.37408712100817315,
581
+ 0.4371792712153743,
582
+ 0.21264084317704324,
583
+ 0.33868259877237294,
584
+ 0.5607169060423229,
585
+ 0.16997856242071668,
586
+ 0.2538120015052483,
587
+ 0.3009675653092333
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.39522086924433447,
591
+ 0.48409444015218395,
592
+ 0.24088776217932312,
593
+ 0.3843698480549815,
594
+ 0.6450175213456133,
595
+ 0.19881484436170063,
596
+ 0.28143892579597607,
597
+ 0.3146631055005121
598
+ ],
599
+ "evidence_fg_pixels": 1780338,
600
+ "evidence_nonempty_patches": 168,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0015910641009763598,
605
+ 0.03279954685573042,
606
+ 0.023675442220052585,
607
+ 0.005815459119122665,
608
+ 0.931808660430251,
609
+ 0.00026829834944663096,
610
+ 0.0010165952065912859,
611
+ 0.003024933717829064
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.55973701472009,
616
+ "uniform": 0.37394979224484814,
617
+ "top1": 0.5607169060423229,
618
+ "top2": 0.5617850814822273,
619
+ "top3": 0.5618683450323583
620
+ },
621
+ "pseudo_student_dice": 0.6640267626039819,
622
+ "pseudo_ensemble_dice": 0.5130756838160614,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.547,
625
+ "val_dice": 0.7577150031400584,
626
+ "val_vi": 0.5181974799383757,
627
+ "val_ece": 0.01662966655423441
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 168,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 35.2,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.759555873492989,
636
+ "val_vi": 0.515686209770237,
637
+ "val_ece": 0.02146679764354789
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.4795522004497552,
642
+ "auroc_top20_error": 0.8258676231842175
643
+ },
644
+ "al_seconds": 700.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.0015910641009763598,
657
+ 0.03279954685573042,
658
+ 0.023675442220052585,
659
+ 0.005815459119122665,
660
+ 0.931808660430251,
661
+ 0.00026829834944663096,
662
+ 0.0010165952065912859,
663
+ 0.003024933717829064
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.931808660430251,
667
+ "entropy": 0.333468035026498,
668
+ "effective_sources": 1.395800429104696,
669
+ "min_weight": 0.00026829834944663096
670
+ },
671
+ "top_source_final": "microns_basil",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7530073262298932,
676
+ "patch_iou": 0.6136276658297826,
677
+ "patch_precision": 0.7270609913951437,
678
+ "patch_recall": 0.7839162274714548,
679
+ "patch_vi": 0.5231999082442164,
680
+ "n_patches": 735,
681
+ "cal_ece": 0.019476051786440497,
682
+ "cal_nll": 0.19016047656597235,
683
+ "cal_brier": 0.05974153790932348,
684
+ "cal_mean_confidence": 0.9343915492354201,
685
+ "cal_accuracy": 0.9149154974489796,
686
+ "cal_predicted_prevalence": 0.22031914328231292,
687
+ "cal_true_prevalence": 0.20588727678571428,
688
+ "cal_mean_probability": 0.21871572358961278
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7530073262298932,
692
+ "patch_iou": 0.6136276658297826,
693
+ "patch_precision": 0.7270609913951437,
694
+ "patch_recall": 0.7839162274714548,
695
+ "patch_vi": 0.5231999082442164,
696
+ "n_patches": 735,
697
+ "cal_ece": 0.019476051786440497,
698
+ "cal_nll": 0.19016047656597235,
699
+ "cal_brier": 0.05974153790932348,
700
+ "cal_mean_confidence": 0.9343915492354201,
701
+ "cal_accuracy": 0.9149154974489796,
702
+ "cal_predicted_prevalence": 0.22031914328231292,
703
+ "cal_true_prevalence": 0.20588727678571428,
704
+ "cal_mean_probability": 0.21871572358961278
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7612862326469151,
708
+ "patch_iou": 0.6241756457763458,
709
+ "patch_precision": 0.7382643458817646,
710
+ "patch_recall": 0.7886357133088496,
711
+ "patch_vi": 0.5082244541709398,
712
+ "n_patches": 735,
713
+ "image_dice": 0.8089188850134597,
714
+ "image_iou": 0.6795995339893497,
715
+ "image_precision": 0.7884908624044854,
716
+ "image_recall": 0.8308934273184174,
717
+ "image_vi": 0.5161480607947462,
718
+ "n_images": 15,
719
+ "cal_ece": 0.011077641126509934,
720
+ "cal_nll": 0.17836683789955543,
721
+ "cal_brier": 0.056488108008727,
722
+ "cal_mean_confidence": 0.9293559680822921,
723
+ "cal_accuracy": 0.9182783269557823,
724
+ "cal_predicted_prevalence": 0.2179793792517007,
725
+ "cal_true_prevalence": 0.20588727678571428,
726
+ "cal_mean_probability": 0.21756974344637195
727
+ },
728
+ "eval_seconds": 11.7,
729
+ "total_seconds": 932.7,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.16,
734
+ "peak_cpu_rss_mb": 1027.9,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 25.23,
740
+ "peak_cpu_rss_mb": 1809.6,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 192.42,
746
+ "peak_cpu_rss_mb": 2896.9,
747
+ "peak_gpu_alloc_mb": 4303.7,
748
+ "peak_gpu_reserved_mb": 4638.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 700.54,
753
+ "peak_cpu_rss_mb": 2896.9,
754
+ "peak_gpu_alloc_mb": 4424.0,
755
+ "peak_gpu_reserved_mb": 4646.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 11.74,
760
+ "peak_cpu_rss_mb": 2896.9,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4646.0,
763
+ "patches": 735,
764
+ "images": 15,
765
+ "patches_per_second": 62.6,
766
+ "seconds_per_image": 0.783
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4424.0,
770
+ "peak_cpu_rss_mb": 2896.9,
771
+ "total_seconds": 931.1
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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/snemi3d/macs-v11-norestart-acq-mcdropout_b5_s3.pth"
785
+ }
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-mcdropout/budget-5/seed-3/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,29.4,157.9,"[0.36056026860693446, 0.4508413766529139, 0.21750134794876225, 0.28356610561779927, 0.560875393102026, 0.18601963732494034, 0.3724686404052985, 0.28968887034603186]",,288982,28,True,kept,0.391711079681163,0.560875393102026,"[0.0013803357494966194, 0.03734608199477827, 0.024685983611284195, 0.0033285842306526635, 0.9269546251229578, 0.000312843356437377, 0.003307582804027515, 0.00268396313036561]",mixture,"{'mixture': 0.5602980725744923, 'uniform': 0.40469001951724776, 'top1': 0.560875393102026, 'top2': 0.5626323977653401, 'top3': 0.5627847905743437}",0.7323560437845593,0.5694021627238198,0.011040160826576361,,,,,
3
+ 2,56,6.5,20.8,"[0.3585644400140594, 0.44569513378054804, 0.21164106279410505, 0.31840836229424285, 0.44781682892290103, 0.17125172597809413, 0.2640817814474379, 0.30486247967348346]",,636921,56,False,,,,"[0.004025912650355965, 0.10554619536395982, 0.0, 0.0, 0.8904278919856843, 0.0, 0.0, 0.0]",top3,"{'mixture': 0.4444176386674499, 'uniform': 0.32484691123850307, 'top1': 0.44781682892290103, 'top2': 0.45371291795123353, 'top3': 0.45396144205152433}",0.7421486412029648,0.556016678738807,0.015960624579132065,0.6084848613600118,0.31824112897528706,student,0.362,
4
+ 3,84,6.4,114.0,"[0.3772306767830903, 0.45163488231981797, 0.2206921454618092, 0.34409742181789726, 0.5617200882449684, 0.17804109167411933, 0.2511611799133086, 0.3060860498014537]","[0.39700488397740485, 0.4883830214540865, 0.24298449902950017, 0.38680546140851324, 0.6801822253345543, 0.19701607358506548, 0.2778733913497543, 0.31410917782810194]",943818,84,False,,,,"[0.0016144130645445057, 0.03726683086288565, 0.02523127275765228, 0.006036357907624515, 0.9254611767492045, 0.00028596166549658167, 0.000973442678300187, 0.003130544314291847]",mixture,"{'mixture': 0.5608050244269053, 'uniform': 0.3759099719289151, 'top1': 0.5617200882449684, 'top2': 0.563139067283982, 'top3': 0.5632320431152088}",0.7503492358738133,0.5510445083549702,0.017044766730611508,0.6450631392491858,0.4328560747160571,student,0.484,
5
+ 4,112,6.3,117.2,"[0.39048865645881586, 0.4491344212222539, 0.21475358314891385, 0.3369891850657348, 0.5589963369618478, 0.1701515660711788, 0.2394433322730992, 0.31370029514801345]","[0.4315052627319388, 0.506103214858209, 0.236099460618685, 0.3860519184665265, 0.6576926480768255, 0.19304244666447792, 0.26686329163719663, 0.3427654718654806]",1182224,112,False,,,,"[0.0018950403875757182, 0.037366999859284565, 0.024444065719803742, 0.005780021245019906, 0.9258790041630323, 0.0002716871988332553, 0.0008901138320830429, 0.0034730675943676205]",mixture,"{'mixture': 0.557933292560871, 'uniform': 0.3623408682867729, 'top1': 0.5589963369618478, 'top2': 0.5602149432711729, 'top3': 0.5603361268165685}",0.7522883045571649,0.524641625228006,0.016537528590195295,0.6443473735400261,0.5134618975328987,student,0.481,
6
+ 5,140,6.4,121.0,"[0.36001979030446934, 0.4266018157765912, 0.21166665891913206, 0.3326090449700532, 0.5582016752054481, 0.16480849083774873, 0.25026909107295403, 0.28984831642964815]","[0.37284183823210754, 0.4612999481718947, 0.24096947941714422, 0.37192028122390125, 0.6479905837255117, 0.1889133895654166, 0.27553571279748673, 0.2933843567028957]",1488314,140,False,,,,"[0.0014214857178205984, 0.03034443133386405, 0.024111028469058503, 0.005628016509243339, 0.9344405975254152, 0.0002620071420808458, 0.0010090434270227865, 0.0027833898754947807]",mixture,"{'mixture': 0.5570908624941996, 'uniform': 0.3666543830200925, 'top1': 0.5582016752054481, 'top2': 0.5591297232748379, 'top3': 0.5591888606233547}",0.7568385587791026,0.5301980889611158,0.018759114485960196,0.6734744719434842,0.4958697336902917,student,0.578,
7
+ 6,168,6.3,124.2,"[0.37408712100817315, 0.4371792712153743, 0.21264084317704324, 0.33868259877237294, 0.5607169060423229, 0.16997856242071668, 0.2538120015052483, 0.3009675653092333]","[0.39522086924433447, 0.48409444015218395, 0.24088776217932312, 0.3843698480549815, 0.6450175213456133, 0.19881484436170063, 0.28143892579597607, 0.3146631055005121]",1780338,168,False,,,,"[0.0015910641009763598, 0.03279954685573042, 0.023675442220052585, 0.005815459119122665, 0.931808660430251, 0.00026829834944663096, 0.0010165952065912859, 0.003024933717829064]",mixture,"{'mixture': 0.55973701472009, 'uniform': 0.37394979224484814, 'top1': 0.5607169060423229, 'top2': 0.5617850814822273, 'top3': 0.5618683450323583}",0.7577150031400584,0.5181974799383757,0.01662966655423441,0.6640267626039819,0.5130756838160614,student,0.547,
8
+ 7,168,0.0,35.2,,,,,,,,,,,,0.759555873492989,0.515686209770237,0.02146679764354789,,,,,True
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-random/budget-5/seed-3/log.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [10:33:41][ 0s][START] target=snemi3d variant=macs-v11-norestart-acq-random budget=5.0% seed=3 | {"task": "membrane", "target": "snemi3d", "variant": "macs-v11-norestart-acq-random", "budget": 5.0, "seed": 3, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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
+ [10:33: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
+ [10:33:42][ 0s][DATA] snemi3d: train=3430 val=735 test=735 patches
4
+ [10:33:43][ 1s][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.08
5
+ [10:33:43][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [10:33:49][ 7s][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
+ [10:33:49][ 7s][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
+ [10:34:07][ 25s][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
+ [10:34:07][ 25s][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
+ [10:34:07][ 25s][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
+ [10:34:07][ 25s][INIT] student initialised from teacher microns (weight 0.477)
12
+ [10:34:08][ 26s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [10:34:08][ 26s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [10:34:47][ 65s][KD] soft labels for 3430 patches from 8 teachers in 39s
15
+ [10:35:18][ 97s][KD] epoch 1/5 | patches=3430 | loss=0.4446 | 31s
16
+ [10:35:49][ 127s][KD] epoch 2/5 | patches=3430 | loss=0.3724 | 31s
17
+ [10:36:20][ 158s][KD] epoch 3/5 | patches=3430 | loss=0.3568 | 31s
18
+ [10:36:50][ 189s][KD] epoch 4/5 | patches=3430 | loss=0.3541 | 31s
19
+ [10:37:20][ 219s][KD] epoch 5/5 | patches=3430 | loss=0.3478 | 30s
20
+ [10:37:22][ 220s][ROUND0] before any target label: val_dice=0.3580 val_vi=0.6345
21
+ [10:37:22][ 220s][AL] patches=3430 (pool 3430 after dropping blank; free blank negatives: True) | budget=171 (5.0%) | rounds=6 | per_round=28 | acquisition=random | first_round=stratified
22
+ [10:37:27][ 226s][AL] round-1 uncertainty quality on 3430 patches: {'spearman_uncertainty_error': 0.005164451042246618, 'auroc_top20_error': 0.5020564348188254}
23
+ [10:37:50][ 249s][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
+ [10:37:52][ 251s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.560, uniform=0.405, top1=0.561, top2=0.563, top3=0.563 -> using mixture
25
+ [10:37:53][ 251s][WEIGHTS] round 1: student kept (labeled Dice 0.402 vs best teacher microns 0.561); distilling the corrected ensemble into it
26
+ [10:37:53][ 251s][WEIGHTS] round 1: teacher Dice on 28 labeled patches + 0 blank (288982 fg px): c-elegans=0.361, cerebellum=0.451, flywire=0.218, berghia=0.284, microns=0.561, oct-glia=0.186, oct-sfl=0.372, mouse-brain=0.290 | weights: c-elegans=0.001, cerebellum=0.037, flywire=0.025, berghia=0.003, microns=0.927, oct-glia=0.000, oct-sfl=0.003, mouse-brain=0.003
27
+ [10:38:31][ 290s][KD] soft labels for 3402 patches from 8 teachers in 39s
28
+ [10:39:01][ 320s][KD] epoch 1/2 | patches=3402 | loss=0.2481 | 30s
29
+ [10:39:32][ 350s][KD] epoch 2/2 | patches=3402 | loss=0.2479 | 30s
30
+ [10:39:54][ 373s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 23s
31
+ [10:39:55][ 374s][FT] round 1/6 epoch 1/5 | patches=28 | loss=1.0342
32
+ [10:39:56][ 375s][FT] round 1/6 epoch 2/5 | patches=28 | loss=0.9446
33
+ [10:39:57][ 375s][FT] round 1/6 epoch 3/5 | patches=28 | loss=0.8956
34
+ [10:39:58][ 376s][FT] round 1/6 epoch 4/5 | patches=28 | loss=0.8636
35
+ [10:39:59][ 377s][FT] round 1/6 epoch 5/5 | patches=28 | loss=0.8517
36
+ [10:40:00][ 379s][AL] round 1/6 | labeled=28 | selection_seconds=28.4000 round_seconds=156.9000 restart_student_dice=0.4024 restart_teacher_dice=0.5609 val_dice=0.7275 val_vi=0.5750 val_ece=0.0118
37
+ [10:40:03][ 382s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.557, uniform=0.374, top1=0.559, top2=0.559, top3=0.559 -> using mixture
38
+ [10:40:03][ 382s][WEIGHTS] round 2: teacher Dice on 56 labeled patches + 0 blank (565126 fg px): c-elegans=0.348, cerebellum=0.419, flywire=0.206, berghia=0.301, microns=0.559, oct-glia=0.176, oct-sfl=0.325, mouse-brain=0.283 | weights: c-elegans=0.001, cerebellum=0.028, flywire=0.023, berghia=0.004, microns=0.939, oct-glia=0.000, oct-sfl=0.002, mouse-brain=0.003
39
+ [10:40:08][ 387s][CONS] round 2: on the 28 new patches student Dice=0.685 vs ensemble 0.554 -> pseudo-labels from the student | consistency x0.62
40
+ [10:40:10][ 388s][FT] round 2/6 epoch 1/5 | patches=56 | loss=0.7638
41
+ [10:40:11][ 389s][FT] round 2/6 epoch 2/5 | patches=56 | loss=0.7486
42
+ [10:40:12][ 391s][FT] round 2/6 epoch 3/5 | patches=56 | loss=0.7512
43
+ [10:40:14][ 392s][FT] round 2/6 epoch 4/5 | patches=56 | loss=0.7207
44
+ [10:40:15][ 393s][FT] round 2/6 epoch 5/5 | patches=56 | loss=0.7258
45
+ [10:40:16][ 395s][AL] round 2/6 | labeled=56 | selection_seconds=0.2000 round_seconds=14.6000 pseudo_student_dice=0.6854 pseudo_ensemble_dice=0.5543 consistency_scale=0.6180 val_dice=0.7399 val_vi=0.5367 val_ece=0.0128
46
+ [10:41:05][ 443s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.362, cerebellum=0.462, flywire=0.235, berghia=0.363, microns=0.664, oct-glia=0.194, oct-sfl=0.281, mouse-brain=0.290 | blended with labeled Dice at 0.50
47
+ [10:41:50][ 488s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.615, uniform=0.410, top1=0.616, top2=0.616, top3=0.616 -> using mixture
48
+ [10:41:50][ 488s][WEIGHTS] round 3: teacher Dice on 84 labeled patches + 0 blank (846975 fg px): c-elegans=0.356, cerebellum=0.441, flywire=0.220, berghia=0.336, microns=0.616, oct-glia=0.181, oct-sfl=0.291, mouse-brain=0.284 | weights: c-elegans=0.001, cerebellum=0.020, flywire=0.015, berghia=0.003, microns=0.958, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.002
49
+ [10:41:55][ 493s][CONS] round 3: on the 28 new patches student Dice=0.717 vs ensemble 0.582 -> pseudo-labels from the student | consistency x0.72
50
+ [10:41:57][ 495s][FT] round 3/6 epoch 1/5 | patches=84 | loss=0.7123
51
+ [10:41:58][ 497s][FT] round 3/6 epoch 2/5 | patches=84 | loss=0.6938
52
+ [10:42:00][ 499s][FT] round 3/6 epoch 3/5 | patches=84 | loss=0.6929
53
+ [10:42:02][ 501s][FT] round 3/6 epoch 4/5 | patches=84 | loss=0.6823
54
+ [10:42:04][ 503s][FT] round 3/6 epoch 5/5 | patches=84 | loss=0.6725
55
+ [10:42:06][ 504s][AL] round 3/6 | labeled=84 | selection_seconds=0.2000 round_seconds=107.8000 pseudo_student_dice=0.7165 pseudo_ensemble_dice=0.5822 consistency_scale=0.7220 val_dice=0.7494 val_vi=0.5370 val_ece=0.0221
56
+ [10:42:54][ 553s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.388, cerebellum=0.473, flywire=0.236, berghia=0.386, microns=0.654, oct-glia=0.192, oct-sfl=0.269, mouse-brain=0.306 | blended with labeled Dice at 0.50
57
+ [10:43:40][ 599s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.613, uniform=0.409, top1=0.613, top2=0.614, top3=0.614 -> using mixture
58
+ [10:43:40][ 599s][WEIGHTS] round 4: teacher Dice on 112 labeled patches + 0 blank (1109045 fg px): c-elegans=0.368, cerebellum=0.443, flywire=0.222, berghia=0.351, microns=0.613, oct-glia=0.183, oct-sfl=0.282, mouse-brain=0.291 | weights: c-elegans=0.001, cerebellum=0.021, flywire=0.016, berghia=0.004, microns=0.955, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.002
59
+ [10:43:45][ 604s][CONS] round 4: on the 28 new patches student Dice=0.723 vs ensemble 0.588 -> pseudo-labels from the student | consistency x0.74
60
+ [10:43:48][ 606s][FT] round 4/6 epoch 1/5 | patches=112 | loss=0.6614
61
+ [10:43:50][ 608s][FT] round 4/6 epoch 2/5 | patches=112 | loss=0.6542
62
+ [10:43:52][ 611s][FT] round 4/6 epoch 3/5 | patches=112 | loss=0.6548
63
+ [10:43:54][ 613s][FT] round 4/6 epoch 4/5 | patches=112 | loss=0.6452
64
+ [10:43:57][ 615s][FT] round 4/6 epoch 5/5 | patches=112 | loss=0.6399
65
+ [10:43:58][ 617s][AL] round 4/6 | labeled=112 | selection_seconds=0.2000 round_seconds=111.1000 pseudo_student_dice=0.7229 pseudo_ensemble_dice=0.5877 consistency_scale=0.7430 val_dice=0.7508 val_vi=0.5354 val_ece=0.0242
66
+ [10:44:48][ 666s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.384, cerebellum=0.470, flywire=0.242, berghia=0.380, microns=0.652, oct-glia=0.192, oct-sfl=0.281, mouse-brain=0.304 | blended with labeled Dice at 0.50
67
+ [10:45:34][ 713s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.610, uniform=0.408, top1=0.611, top2=0.611, top3=0.611 -> using mixture
68
+ [10:45:34][ 713s][WEIGHTS] round 5: teacher Dice on 140 labeled patches + 0 blank (1372470 fg px): c-elegans=0.365, cerebellum=0.440, flywire=0.225, berghia=0.348, microns=0.611, oct-glia=0.181, oct-sfl=0.277, mouse-brain=0.288 | weights: c-elegans=0.001, cerebellum=0.021, flywire=0.017, berghia=0.004, microns=0.955, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.002
69
+ [10:45:39][ 718s][CONS] round 5: on the 28 new patches student Dice=0.708 vs ensemble 0.558 -> pseudo-labels from the student | consistency x0.69
70
+ [10:45:42][ 721s][FT] round 5/6 epoch 1/5 | patches=140 | loss=0.6426
71
+ [10:45:45][ 723s][FT] round 5/6 epoch 2/5 | patches=140 | loss=0.6381
72
+ [10:45:48][ 726s][FT] round 5/6 epoch 3/5 | patches=140 | loss=0.6368
73
+ [10:45:50][ 729s][FT] round 5/6 epoch 4/5 | patches=140 | loss=0.6257
74
+ [10:45:53][ 732s][FT] round 5/6 epoch 5/5 | patches=140 | loss=0.6263
75
+ [10:45:55][ 733s][AL] round 5/6 | labeled=140 | selection_seconds=0.2000 round_seconds=115.0000 pseudo_student_dice=0.7077 pseudo_ensemble_dice=0.5583 consistency_scale=0.6920 val_dice=0.7525 val_vi=0.5317 val_ece=0.0236
76
+ [10:46:45][ 784s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.377, cerebellum=0.466, flywire=0.243, berghia=0.380, microns=0.646, oct-glia=0.198, oct-sfl=0.283, mouse-brain=0.299 | blended with labeled Dice at 0.50
77
+ [10:47:32][ 831s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.607, uniform=0.407, top1=0.608, top2=0.608, top3=0.608 -> using mixture
78
+ [10:47:32][ 831s][WEIGHTS] round 6: teacher Dice on 168 labeled patches + 0 blank (1676005 fg px): c-elegans=0.363, cerebellum=0.440, flywire=0.224, berghia=0.346, microns=0.608, oct-glia=0.184, oct-sfl=0.278, mouse-brain=0.287 | weights: c-elegans=0.001, cerebellum=0.022, flywire=0.017, berghia=0.004, microns=0.954, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.002
79
+ [10:47:37][ 835s][CONS] round 6: on the 28 new patches student Dice=0.757 vs ensemble 0.564 -> pseudo-labels from the student | consistency x0.86
80
+ [10:47:40][ 839s][FT] round 6/6 epoch 1/5 | patches=168 | loss=0.6402
81
+ [10:47:43][ 842s][FT] round 6/6 epoch 2/5 | patches=168 | loss=0.6324
82
+ [10:47:47][ 845s][FT] round 6/6 epoch 3/5 | patches=168 | loss=0.6399
83
+ [10:47:50][ 848s][FT] round 6/6 epoch 4/5 | patches=168 | loss=0.6291
84
+ [10:47:53][ 851s][FT] round 6/6 epoch 5/5 | patches=168 | loss=0.6404
85
+ [10:47:54][ 853s][AL] round 6/6 | labeled=168 | selection_seconds=0.2000 round_seconds=118.4000 pseudo_student_dice=0.7570 pseudo_ensemble_dice=0.5641 consistency_scale=0.8570 val_dice=0.7530 val_vi=0.5240 val_ece=0.0258
86
+ [10:47:58][ 856s][CONS] final consolidation: pseudo-labels refreshed from the student
87
+ [10:48:01][ 859s][FT] final 1/10 epoch 1/1 | patches=168 | loss=0.6136
88
+ [10:48:04][ 863s][FT] final 2/10 epoch 1/1 | patches=168 | loss=0.6131
89
+ [10:48:07][ 866s][FT] final 3/10 epoch 1/1 | patches=168 | loss=0.6124
90
+ [10:48:10][ 869s][FT] final 4/10 epoch 1/1 | patches=168 | loss=0.6099
91
+ [10:48:14][ 872s][FT] final 5/10 epoch 1/1 | patches=168 | loss=0.5997
92
+ [10:48:17][ 875s][FT] final 6/10 epoch 1/1 | patches=168 | loss=0.5997
93
+ [10:48:20][ 879s][FT] final 7/10 epoch 1/1 | patches=168 | loss=0.5953
94
+ [10:48:23][ 882s][FT] final 8/10 epoch 1/1 | patches=168 | loss=0.5949
95
+ [10:48:26][ 885s][FT] final 9/10 epoch 1/1 | patches=168 | loss=0.5923
96
+ [10:48:30][ 888s][FT] final 10/10 epoch 1/1 | patches=168 | loss=0.5925
97
+ [10:48:31][ 890s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=35.2000 val_dice=0.7561 val_vi=0.5234 val_ece=0.0284
98
+ [10:48:31][ 890s][WEIGHTS] final: c-elegans=0.001, cerebellum=0.022, flywire=0.017, berghia=0.004, microns=0.954, oct-glia=0.000, oct-sfl=0.001, mouse-brain=0.002
99
+ [10:48:41][ 900s][TEST] raw student (no EMA, no TTA): patch_dice=0.7512 patch_vi=0.5222
100
+ [10:48:43][ 901s][TEST] final model without TTA: patch_dice=0.7512 patch_vi=0.5222
101
+ [10:48:43][ 901s][RESOURCES] {"phases": {"setup": {"seconds": 1.14, "peak_cpu_rss_mb": 1027.6, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 24.99, "peak_cpu_rss_mb": 1810.2, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 192.59, "peak_cpu_rss_mb": 2896.7, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 669.28, "peak_cpu_rss_mb": 2896.7, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 11.6, "peak_cpu_rss_mb": 2896.7, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 735, "images": 15, "patches_per_second": 63.4, "seconds_per_image": 0.773}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 2896.7, "total_seconds": 899.6}
102
+ [10:48:43][ 901s][TEST] patch_dice=0.7595 patch_iou=0.6221 patch_precision=0.7419 patch_recall=0.7813 patch_vi=0.5086 image_dice=0.8065 image_iou=0.6762 image_precision=0.7927 image_recall=0.8212 image_vi=0.5177 cal_ece=0.0171 cal_nll=0.1809 cal_brier=0.0571 cal_mean_confidence=0.9353 cal_accuracy=0.9183 cal_predicted_prevalence=0.2149 cal_true_prevalence=0.2059 cal_mean_probability=0.2135
103
+ [10:48:43][ 901s][DONE] snemi3d macs-v11-norestart-acq-random b5 s3 | test patch Dice=0.7595 VI=0.5086 | image Dice=0.8065 VI=0.5177 | 901s
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-random/budget-5/seed-3/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "snemi3d",
3
+ "variant": "macs-v11-norestart-acq-random",
4
+ "budget": 5.0,
5
+ "seed": 3,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "snemi3d",
9
+ "variant": "macs-v11-norestart-acq-random",
10
+ "budget": 5.0,
11
+ "seed": 3,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "snemi3d",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-random",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "3",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.00526521078604608,
154
+ 0.05775508166244069,
155
+ 0.39371182687582884,
156
+ 0.027420285915093805,
157
+ 0.47701492758994885,
158
+ 0.006835626005792793,
159
+ 0.011200163178997314,
160
+ 0.020796877985851614
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.00526521078604608,
175
+ 0.05775508166244069,
176
+ 0.39371182687582884,
177
+ 0.027420285915093805,
178
+ 0.47701492758994885,
179
+ 0.006835626005792793,
180
+ 0.011200163178997314,
181
+ 0.020796877985851614
182
+ ],
183
+ "per_source": [
184
+ 0.0030099345500300633,
185
+ 0.30826329572645517,
186
+ 0.030874948568488214,
187
+ 0.005310476630139808,
188
+ 0.6243402297379833,
189
+ 0.021312995363178842,
190
+ 0.004803663858606227,
191
+ 0.0020844555651184054
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.04836304661062167,
205
+ "mmd2_mixture": 0.06012254011242163,
206
+ "mmd2_uniform": 0.15285652884935502,
207
+ "mmd2_single_source": [
208
+ 0.4522663178230211,
209
+ 0.14701205466558376,
210
+ 0.12241636968711567,
211
+ 0.27265250499014093,
212
+ 0.08995147555294303,
213
+ 0.3744252998076626,
214
+ 0.3395783286723916,
215
+ 0.23687871798038196
216
+ ],
217
+ "median_squared_distance": 0.18663079059841653,
218
+ "gammas": [
219
+ 1.3395431654037109,
220
+ 2.6790863308074218,
221
+ 5.3581726616148435,
222
+ 10.716345323229687,
223
+ 21.432690646459374
224
+ ],
225
+ "max_weight": 0.47701492758994885,
226
+ "entropy": 1.1759493501799958,
227
+ "effective_sources": 3.241218535100111,
228
+ "min_weight": 0.00526521078604608
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.46244015980269426,
233
+ 0.12211161125756897,
234
+ 0.2912827113901817,
235
+ 0.4206979810988831,
236
+ 0.07022524085432302,
237
+ 0.3185314378412357,
238
+ 0.4280722723409719,
239
+ 0.48945233449571823
240
+ ],
241
+ "standardized": [
242
+ 0.9323157340081956,
243
+ -1.3822022358410426,
244
+ -0.2316976633920459,
245
+ 0.6484341051420859,
246
+ -1.7350728286900672,
247
+ -0.0463835976280083,
248
+ 0.6985854358714068,
249
+ 1.1160210505294779
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.6243402297379833,
253
+ "entropy": 0.9300685916208571,
254
+ "effective_sources": 2.534683029672754,
255
+ "min_weight": 0.0020844555651184054
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "microns_basil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.4124719184272143,
265
+ 0.4732143695257148,
266
+ 0.1963993253870582,
267
+ 0.31013775029960944,
268
+ 0.5894614335833763,
269
+ 0.13744118666208724,
270
+ 0.30544280939432356,
271
+ 0.35012843982905756
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.4205090273501111,
275
+ "mixture@raw": 0.46291647296981747,
276
+ "mixture@logit": 0.3665771544587855,
277
+ "per_source": 0.5892233046139178,
278
+ "per_source@raw": 0.5905333874987907,
279
+ "per_source@logit": 0.5781025615679164,
280
+ "uniform": 0.41121937389276464,
281
+ "uniform@raw": 0.46695544697394986,
282
+ "uniform@logit": 0.22779528784246278
283
+ },
284
+ "val_patches": 735
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 2.6421806812286377,
294
+ 4.075904369354248
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.47701492758994885,
299
+ "entropy": 1.1759493501799958,
300
+ "effective_sources": 3.241218535100111,
301
+ "min_weight": 0.00526521078604608
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": 192.6,
313
+ "round0_val": {
314
+ "val_dice": 0.35801025103979234,
315
+ "val_vi": 0.6344848740811435,
316
+ "val_ece": 0.07478441083095859
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 28,
322
+ "selection_seconds": 28.4,
323
+ "round_seconds": 156.9,
324
+ "teacher_dice_labeled": [
325
+ 0.36056026860693446,
326
+ 0.4508413766529139,
327
+ 0.21750134794876225,
328
+ 0.28356610561779927,
329
+ 0.560875393102026,
330
+ 0.18601963732494034,
331
+ 0.3724686404052985,
332
+ 0.28968887034603186
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 288982,
336
+ "evidence_nonempty_patches": 28,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.4024189407361833,
340
+ "restart_teacher_dice": 0.560875393102026,
341
+ "weights": [
342
+ 0.0013803357494966194,
343
+ 0.03734608199477827,
344
+ 0.024685983611284195,
345
+ 0.0033285842306526635,
346
+ 0.9269546251229578,
347
+ 0.000312843356437377,
348
+ 0.003307582804027515,
349
+ 0.00268396313036561
350
+ ],
351
+ "ensemble_choice": "mixture",
352
+ "candidate_dice": {
353
+ "mixture": 0.5602980725744923,
354
+ "uniform": 0.40469001951724776,
355
+ "top1": 0.560875393102026,
356
+ "top2": 0.5626323977653401,
357
+ "top3": 0.5627847905743437
358
+ },
359
+ "val_dice": 0.727546285788197,
360
+ "val_vi": 0.5749785964732628,
361
+ "val_ece": 0.011788481275023454
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 56,
366
+ "selection_seconds": 0.2,
367
+ "round_seconds": 14.6,
368
+ "teacher_dice_labeled": [
369
+ 0.3479823236552919,
370
+ 0.4186981967226685,
371
+ 0.20557587495698246,
372
+ 0.3007128919242538,
373
+ 0.5589578670606897,
374
+ 0.17607239437484073,
375
+ 0.3247645305942548,
376
+ 0.28265004696019047
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 565126,
380
+ "evidence_nonempty_patches": 56,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.0012569812895489763,
385
+ 0.02796522949451945,
386
+ 0.022627061811221816,
387
+ 0.004080341346961101,
388
+ 0.9390747514634746,
389
+ 0.00029247988784289957,
390
+ 0.0021198435345643842,
391
+ 0.0025833111718668077
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.5571876015358332,
396
+ "uniform": 0.374202964280938,
397
+ "top1": 0.5589578670606897,
398
+ "top2": 0.5592919600765673,
399
+ "top3": 0.5593125851518601
400
+ },
401
+ "pseudo_student_dice": 0.6853953687609664,
402
+ "pseudo_ensemble_dice": 0.5542848049226852,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.618,
405
+ "val_dice": 0.7399397755468825,
406
+ "val_vi": 0.5367473626096051,
407
+ "val_ece": 0.012806996872993453
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 84,
412
+ "selection_seconds": 0.2,
413
+ "round_seconds": 107.8,
414
+ "teacher_dice_labeled": [
415
+ 0.3557500469410345,
416
+ 0.4409271340874671,
417
+ 0.21965401520887193,
418
+ 0.3356542715086659,
419
+ 0.6156078106682936,
420
+ 0.1806652407278319,
421
+ 0.29110385747882406,
422
+ 0.2844647798935356
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.36221583553452585,
426
+ 0.46154148860749067,
427
+ 0.2351214263672385,
428
+ 0.36298119639097676,
429
+ 0.6642216725599263,
430
+ 0.19426701924887152,
431
+ 0.2809982631984566,
432
+ 0.2902214086069471
433
+ ],
434
+ "evidence_fg_pixels": 846975,
435
+ "evidence_nonempty_patches": 84,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.0007864934568305689,
440
+ 0.020220362781744897,
441
+ 0.015079962329175009,
442
+ 0.0033502443752500594,
443
+ 0.9579861938327272,
444
+ 0.0001772858169266955,
445
+ 0.0008764938397664921,
446
+ 0.0015229635675790894
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.6149834430342458,
451
+ "uniform": 0.41044819487495626,
452
+ "top1": 0.6156078106682936,
453
+ "top2": 0.6161620454596852,
454
+ "top3": 0.6161824348043965
455
+ },
456
+ "pseudo_student_dice": 0.7165017188224702,
457
+ "pseudo_ensemble_dice": 0.5822070619568362,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.722,
460
+ "val_dice": 0.7493534762151666,
461
+ "val_vi": 0.537037416881874,
462
+ "val_ece": 0.022052875547815737
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 112,
467
+ "selection_seconds": 0.2,
468
+ "round_seconds": 111.1,
469
+ "teacher_dice_labeled": [
470
+ 0.36799533483144575,
471
+ 0.4434738198437197,
472
+ 0.22237860981915997,
473
+ 0.35119162408855786,
474
+ 0.6132689554994883,
475
+ 0.18307297983849213,
476
+ 0.281595677466981,
477
+ 0.2906295936185792
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.38838436897907,
481
+ 0.47321562487468605,
482
+ 0.23612988589273762,
483
+ 0.3855286998335696,
484
+ 0.6543285906911006,
485
+ 0.19182863371607134,
486
+ 0.26864523780903776,
487
+ 0.30642074866250274
488
+ ],
489
+ "evidence_fg_pixels": 1109045,
490
+ "evidence_nonempty_patches": 112,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.0009075705663560531,
495
+ 0.021176478328176308,
496
+ 0.01582113731605874,
497
+ 0.003995388643561608,
498
+ 0.9554465806535456,
499
+ 0.00018541093767134145,
500
+ 0.0008136920001201178,
501
+ 0.0016537415545100844
502
+ ],
503
+ "ensemble_choice": "mixture",
504
+ "candidate_dice": {
505
+ "mixture": 0.6125056280699729,
506
+ "uniform": 0.4087578286493045,
507
+ "top1": 0.6132689554994883,
508
+ "top2": 0.6137450526434824,
509
+ "top3": 0.6137686488987392
510
+ },
511
+ "pseudo_student_dice": 0.7228817582417583,
512
+ "pseudo_ensemble_dice": 0.5876644214959471,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.743,
515
+ "val_dice": 0.7508233511614852,
516
+ "val_vi": 0.5353514012696726,
517
+ "val_ece": 0.024242308398439487
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 140,
522
+ "selection_seconds": 0.2,
523
+ "round_seconds": 115.0,
524
+ "teacher_dice_labeled": [
525
+ 0.36545827887620963,
526
+ 0.44001314710549466,
527
+ 0.2250317553851608,
528
+ 0.3482704748138672,
529
+ 0.6108450152408786,
530
+ 0.18098147746558904,
531
+ 0.2772557088193389,
532
+ 0.28833909699736204
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.38441743915813703,
536
+ 0.4699472512144608,
537
+ 0.242043795701895,
538
+ 0.38036188631835627,
539
+ 0.6520519630893523,
540
+ 0.19162936980644238,
541
+ 0.28072756803528426,
542
+ 0.30415916811101773
543
+ ],
544
+ "evidence_fg_pixels": 1372470,
545
+ "evidence_nonempty_patches": 140,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.0009060261815732048,
550
+ 0.020946085232241562,
551
+ 0.016635612810557043,
552
+ 0.0039732992909113215,
553
+ 0.9549002581410955,
554
+ 0.00018592196889683152,
555
+ 0.0007977934031757694,
556
+ 0.0016550029715487065
557
+ ],
558
+ "ensemble_choice": "mixture",
559
+ "candidate_dice": {
560
+ "mixture": 0.61001214706305,
561
+ "uniform": 0.40779566499551556,
562
+ "top1": 0.6108450152408786,
563
+ "top2": 0.6112827862046616,
564
+ "top3": 0.6113057282316456
565
+ },
566
+ "pseudo_student_dice": 0.7077233122972116,
567
+ "pseudo_ensemble_dice": 0.5583120517817071,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.692,
570
+ "val_dice": 0.7525420432275504,
571
+ "val_vi": 0.5316956049707146,
572
+ "val_ece": 0.02357947966251423
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 168,
577
+ "selection_seconds": 0.2,
578
+ "round_seconds": 118.4,
579
+ "teacher_dice_labeled": [
580
+ 0.3634730961229432,
581
+ 0.4400121039280854,
582
+ 0.22399140525566236,
583
+ 0.3461002739895306,
584
+ 0.6077325689334545,
585
+ 0.18446004079543676,
586
+ 0.27816643604219415,
587
+ 0.2869076314362251
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.37718160768208964,
591
+ 0.4658483575908974,
592
+ 0.24283830333599785,
593
+ 0.37970663291846574,
594
+ 0.6464730400378235,
595
+ 0.19800368751348005,
596
+ 0.2827052621021349,
597
+ 0.29906355224330206
598
+ ],
599
+ "evidence_fg_pixels": 1676005,
600
+ "evidence_nonempty_patches": 168,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.0009152615352997819,
605
+ 0.02158362259693189,
606
+ 0.01696471714785591,
607
+ 0.0040063807443571735,
608
+ 0.9538208919175786,
609
+ 0.00019836448588131552,
610
+ 0.0008296056124843809,
611
+ 0.0016811559596108942
612
+ ],
613
+ "ensemble_choice": "mixture",
614
+ "candidate_dice": {
615
+ "mixture": 0.6068742421539629,
616
+ "uniform": 0.4065183273644009,
617
+ "top1": 0.6077325689334545,
618
+ "top2": 0.6082575257609559,
619
+ "top3": 0.6082816859281865
620
+ },
621
+ "pseudo_student_dice": 0.7569865654765929,
622
+ "pseudo_ensemble_dice": 0.5640826712486684,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.857,
625
+ "val_dice": 0.7529501278915827,
626
+ "val_vi": 0.5239912101194711,
627
+ "val_ece": 0.02575743938369193
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 168,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 35.2,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7560981292366642,
636
+ "val_vi": 0.5234298513862702,
637
+ "val_ece": 0.028411418873243124
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": 0.005164451042246618,
642
+ "auroc_top20_error": 0.5020564348188254
643
+ },
644
+ "al_seconds": 669.3,
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.0009152615352997819,
657
+ 0.02158362259693189,
658
+ 0.01696471714785591,
659
+ 0.0040063807443571735,
660
+ 0.9538208919175786,
661
+ 0.00019836448588131552,
662
+ 0.0008296056124843809,
663
+ 0.0016811559596108942
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.9538208919175786,
667
+ "entropy": 0.24388029175697593,
668
+ "effective_sources": 1.2761915506968406,
669
+ "min_weight": 0.00019836448588131552
670
+ },
671
+ "top_source_final": "microns_basil",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7511768441625362,
676
+ "patch_iou": 0.6116278656599864,
677
+ "patch_precision": 0.7322982005032396,
678
+ "patch_recall": 0.7746409359216964,
679
+ "patch_vi": 0.5222147527748564,
680
+ "n_patches": 735,
681
+ "cal_ece": 0.02511359686460786,
682
+ "cal_nll": 0.19427339443574926,
683
+ "cal_brier": 0.060363387699489846,
684
+ "cal_mean_confidence": 0.9400941984802542,
685
+ "cal_accuracy": 0.9149806016156462,
686
+ "cal_predicted_prevalence": 0.21563031462585033,
687
+ "cal_true_prevalence": 0.20588727678571428,
688
+ "cal_mean_probability": 0.21331799387816586
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7511768441625362,
692
+ "patch_iou": 0.6116278656599864,
693
+ "patch_precision": 0.7322982005032396,
694
+ "patch_recall": 0.7746409359216964,
695
+ "patch_vi": 0.5222147527748564,
696
+ "n_patches": 735,
697
+ "cal_ece": 0.02511359686460786,
698
+ "cal_nll": 0.19427339443574926,
699
+ "cal_brier": 0.060363387699489846,
700
+ "cal_mean_confidence": 0.9400941984802542,
701
+ "cal_accuracy": 0.9149806016156462,
702
+ "cal_predicted_prevalence": 0.21563031462585033,
703
+ "cal_true_prevalence": 0.20588727678571428,
704
+ "cal_mean_probability": 0.21331799387816586
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7595023671503549,
708
+ "patch_iou": 0.6220891369072583,
709
+ "patch_precision": 0.7419020438291963,
710
+ "patch_recall": 0.7812715250362608,
711
+ "patch_vi": 0.5085818716439209,
712
+ "n_patches": 735,
713
+ "image_dice": 0.8065017348049895,
714
+ "image_iou": 0.6762415070696743,
715
+ "image_precision": 0.7927211103610438,
716
+ "image_recall": 0.8211628232225955,
717
+ "image_vi": 0.5176808942475893,
718
+ "n_images": 15,
719
+ "cal_ece": 0.01706907210860156,
720
+ "cal_nll": 0.1809449537218227,
721
+ "cal_brier": 0.05709824919899649,
722
+ "cal_mean_confidence": 0.935303017479304,
723
+ "cal_accuracy": 0.918304900085034,
724
+ "cal_predicted_prevalence": 0.21492081207482994,
725
+ "cal_true_prevalence": 0.20588727678571428,
726
+ "cal_mean_probability": 0.21349476381479376
727
+ },
728
+ "eval_seconds": 11.6,
729
+ "total_seconds": 901.3,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.14,
734
+ "peak_cpu_rss_mb": 1027.6,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 24.99,
740
+ "peak_cpu_rss_mb": 1810.2,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 192.59,
746
+ "peak_cpu_rss_mb": 2896.7,
747
+ "peak_gpu_alloc_mb": 4303.7,
748
+ "peak_gpu_reserved_mb": 4638.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 669.28,
753
+ "peak_cpu_rss_mb": 2896.7,
754
+ "peak_gpu_alloc_mb": 4424.0,
755
+ "peak_gpu_reserved_mb": 4646.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 11.6,
760
+ "peak_cpu_rss_mb": 2896.7,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4646.0,
763
+ "patches": 735,
764
+ "images": 15,
765
+ "patches_per_second": 63.4,
766
+ "seconds_per_image": 0.773
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4424.0,
770
+ "peak_cpu_rss_mb": 2896.7,
771
+ "total_seconds": 899.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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/snemi3d/macs-v11-norestart-acq-random_b5_s3.pth"
785
+ }
macs_v2_r26/runs/membrane/snemi3d/macs-v11-norestart-acq-random/budget-5/seed-3/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,28.4,156.9,"[0.36056026860693446, 0.4508413766529139, 0.21750134794876225, 0.28356610561779927, 0.560875393102026, 0.18601963732494034, 0.3724686404052985, 0.28968887034603186]",,288982,28,True,kept,0.4024189407361833,0.560875393102026,"[0.0013803357494966194, 0.03734608199477827, 0.024685983611284195, 0.0033285842306526635, 0.9269546251229578, 0.000312843356437377, 0.003307582804027515, 0.00268396313036561]",mixture,"{'mixture': 0.5602980725744923, 'uniform': 0.40469001951724776, 'top1': 0.560875393102026, 'top2': 0.5626323977653401, 'top3': 0.5627847905743437}",0.727546285788197,0.5749785964732628,0.011788481275023454,,,,,
3
+ 2,56,0.2,14.6,"[0.3479823236552919, 0.4186981967226685, 0.20557587495698246, 0.3007128919242538, 0.5589578670606897, 0.17607239437484073, 0.3247645305942548, 0.28265004696019047]",,565126,56,False,,,,"[0.0012569812895489763, 0.02796522949451945, 0.022627061811221816, 0.004080341346961101, 0.9390747514634746, 0.00029247988784289957, 0.0021198435345643842, 0.0025833111718668077]",mixture,"{'mixture': 0.5571876015358332, 'uniform': 0.374202964280938, 'top1': 0.5589578670606897, 'top2': 0.5592919600765673, 'top3': 0.5593125851518601}",0.7399397755468825,0.5367473626096051,0.012806996872993453,0.6853953687609664,0.5542848049226852,student,0.618,
4
+ 3,84,0.2,107.8,"[0.3557500469410345, 0.4409271340874671, 0.21965401520887193, 0.3356542715086659, 0.6156078106682936, 0.1806652407278319, 0.29110385747882406, 0.2844647798935356]","[0.36221583553452585, 0.46154148860749067, 0.2351214263672385, 0.36298119639097676, 0.6642216725599263, 0.19426701924887152, 0.2809982631984566, 0.2902214086069471]",846975,84,False,,,,"[0.0007864934568305689, 0.020220362781744897, 0.015079962329175009, 0.0033502443752500594, 0.9579861938327272, 0.0001772858169266955, 0.0008764938397664921, 0.0015229635675790894]",mixture,"{'mixture': 0.6149834430342458, 'uniform': 0.41044819487495626, 'top1': 0.6156078106682936, 'top2': 0.6161620454596852, 'top3': 0.6161824348043965}",0.7493534762151666,0.537037416881874,0.022052875547815737,0.7165017188224702,0.5822070619568362,student,0.722,
5
+ 4,112,0.2,111.1,"[0.36799533483144575, 0.4434738198437197, 0.22237860981915997, 0.35119162408855786, 0.6132689554994883, 0.18307297983849213, 0.281595677466981, 0.2906295936185792]","[0.38838436897907, 0.47321562487468605, 0.23612988589273762, 0.3855286998335696, 0.6543285906911006, 0.19182863371607134, 0.26864523780903776, 0.30642074866250274]",1109045,112,False,,,,"[0.0009075705663560531, 0.021176478328176308, 0.01582113731605874, 0.003995388643561608, 0.9554465806535456, 0.00018541093767134145, 0.0008136920001201178, 0.0016537415545100844]",mixture,"{'mixture': 0.6125056280699729, 'uniform': 0.4087578286493045, 'top1': 0.6132689554994883, 'top2': 0.6137450526434824, 'top3': 0.6137686488987392}",0.7508233511614852,0.5353514012696726,0.024242308398439487,0.7228817582417583,0.5876644214959471,student,0.743,
6
+ 5,140,0.2,115.0,"[0.36545827887620963, 0.44001314710549466, 0.2250317553851608, 0.3482704748138672, 0.6108450152408786, 0.18098147746558904, 0.2772557088193389, 0.28833909699736204]","[0.38441743915813703, 0.4699472512144608, 0.242043795701895, 0.38036188631835627, 0.6520519630893523, 0.19162936980644238, 0.28072756803528426, 0.30415916811101773]",1372470,140,False,,,,"[0.0009060261815732048, 0.020946085232241562, 0.016635612810557043, 0.0039732992909113215, 0.9549002581410955, 0.00018592196889683152, 0.0007977934031757694, 0.0016550029715487065]",mixture,"{'mixture': 0.61001214706305, 'uniform': 0.40779566499551556, 'top1': 0.6108450152408786, 'top2': 0.6112827862046616, 'top3': 0.6113057282316456}",0.7525420432275504,0.5316956049707146,0.02357947966251423,0.7077233122972116,0.5583120517817071,student,0.692,
7
+ 6,168,0.2,118.4,"[0.3634730961229432, 0.4400121039280854, 0.22399140525566236, 0.3461002739895306, 0.6077325689334545, 0.18446004079543676, 0.27816643604219415, 0.2869076314362251]","[0.37718160768208964, 0.4658483575908974, 0.24283830333599785, 0.37970663291846574, 0.6464730400378235, 0.19800368751348005, 0.2827052621021349, 0.29906355224330206]",1676005,168,False,,,,"[0.0009152615352997819, 0.02158362259693189, 0.01696471714785591, 0.0040063807443571735, 0.9538208919175786, 0.00019836448588131552, 0.0008296056124843809, 0.0016811559596108942]",mixture,"{'mixture': 0.6068742421539629, 'uniform': 0.4065183273644009, 'top1': 0.6077325689334545, 'top2': 0.6082575257609559, 'top3': 0.6082816859281865}",0.7529501278915827,0.5239912101194711,0.02575743938369193,0.7569865654765929,0.5640826712486684,student,0.857,
8
+ 7,168,0.0,35.2,,,,,,,,,,,,0.7560981292366642,0.5234298513862702,0.028411418873243124,,,,,True
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-3/log.txt ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [10:48:45][ 0s][START] target=whole-mouse-brain variant=macs-v11-norestart-acq-entropy budget=5.0% seed=3 | {"task": "membrane", "target": "whole-mouse-brain", "variant": "macs-v11-norestart-acq-entropy", "budget": 5.0, "seed": 3, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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
+ [10:48:45][ 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:48:45][ 0s][DATA] whole-mouse-brain: train=5925 val=1250 test=1300 patches
4
+ [10:48:46][ 1s][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
+ [10:48:47][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [10:48:53][ 7s][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
+ [10:48:53][ 7s][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
+ [10:49:16][ 31s][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
+ [10:49:16][ 31s][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
+ [10:49:16][ 31s][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
+ [10:49:16][ 31s][INIT] student initialised from teacher microns (weight 0.376)
12
+ [10:49:18][ 33s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [10:49:18][ 33s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [10:50:25][ 100s][KD] soft labels for 5925 patches from 8 teachers in 67s
15
+ [10:51:18][ 153s][KD] epoch 1/5 | patches=5925 | loss=0.6690 | 53s
16
+ [10:52:11][ 205s][KD] epoch 2/5 | patches=5925 | loss=0.5006 | 52s
17
+ [10:53:03][ 258s][KD] epoch 3/5 | patches=5925 | loss=0.4703 | 52s
18
+ [10:53:55][ 310s][KD] epoch 4/5 | patches=5925 | loss=0.4599 | 52s
19
+ [10:54:46][ 361s][KD] epoch 5/5 | patches=5925 | loss=0.4555 | 51s
20
+ [10:54:48][ 363s][ROUND0] before any target label: val_dice=0.4218 val_vi=0.5128
21
+ [10:54:48][ 363s][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
+ [10:54:57][ 372s][AL] round-1 uncertainty quality on 5925 patches: {'spearman_uncertainty_error': -0.20489397455499517, 'auroc_top20_error': 0.39909434029446844}
23
+ [10:55:20][ 395s][AL] round 1: stratified cold start: 25 patches from the membrane-rich half (ensemble prevalence >= 0.215) + 24 from the membrane-poor half of 2000 candidates
24
+ [10:55:23][ 398s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.433, uniform=0.435, top1=0.471, top2=0.445, top3=0.446 -> using top1
25
+ [10:55:23][ 398s][WEIGHTS] round 1: student kept (labeled Dice 0.396 vs best teacher oct-sfl 0.471); distilling the corrected ensemble into it
26
+ [10:55:23][ 398s][WEIGHTS] round 1: teacher Dice on 49 labeled patches + 0 blank (640544 fg px): c-elegans=0.367, cerebellum=0.350, flywire=0.141, berghia=0.235, microns=0.310, oct-glia=0.385, oct-sfl=0.471, snemi=0.254 | 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
27
+ [10:55:32][ 407s][KD] soft labels for 5876 patches from 8 teachers in 9s
28
+ [10:56:23][ 458s][KD] epoch 1/2 | patches=5876 | loss=0.1745 | 51s
29
+ [10:57:14][ 508s][KD] epoch 2/2 | patches=5876 | loss=0.1632 | 51s
30
+ [10:57:17][ 512s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 3s
31
+ [10:57:18][ 513s][FT] round 1/6 epoch 1/5 | patches=49 | loss=1.3008
32
+ [10:57:19][ 514s][FT] round 1/6 epoch 2/5 | patches=49 | loss=1.0758
33
+ [10:57:21][ 516s][FT] round 1/6 epoch 3/5 | patches=49 | loss=1.3884
34
+ [10:57:22][ 517s][FT] round 1/6 epoch 4/5 | patches=49 | loss=1.0120
35
+ [10:57:23][ 518s][FT] round 1/6 epoch 5/5 | patches=49 | loss=1.0581
36
+ [10:57:25][ 520s][AL] round 1/6 | labeled=49 | selection_seconds=32.2000 round_seconds=155.3000 restart_student_dice=0.3963 restart_teacher_dice=0.4707 val_dice=0.6465 val_vi=0.4665 val_ece=0.0076
37
+ [10:57:34][ 529s][AL] round 2: 530/5876 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [10:57:39][ 534s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.491, uniform=0.279, top1=0.461, top2=0.461, top3=0.460 -> using mixture
39
+ [10:57:39][ 534s][WEIGHTS] round 2: teacher Dice on 98 labeled patches + 0 blank (1735724 fg px): c-elegans=0.396, cerebellum=0.461, flywire=0.101, berghia=0.203, microns=0.255, oct-glia=0.258, oct-sfl=0.332, snemi=0.393 | weights: c-elegans=0.011, cerebellum=0.699, flywire=0.003, berghia=0.015, microns=0.130, oct-glia=0.048, oct-sfl=0.071, snemi=0.022
40
+ [10:57:41][ 536s][CONS] round 2: on the 49 new patches student Dice=0.548 vs ensemble 0.557 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [10:57:43][ 538s][FT] round 2/6 epoch 1/5 | patches=98 | loss=1.2651
42
+ [10:57:45][ 540s][FT] round 2/6 epoch 2/5 | patches=98 | loss=1.3382
43
+ [10:57:47][ 542s][FT] round 2/6 epoch 3/5 | patches=98 | loss=1.1291
44
+ [10:57:49][ 544s][FT] round 2/6 epoch 4/5 | patches=98 | loss=1.0845
45
+ [10:57:51][ 546s][FT] round 2/6 epoch 5/5 | patches=98 | loss=1.0443
46
+ [10:57:53][ 548s][AL] round 2/6 | labeled=98 | selection_seconds=9.0000 round_seconds=26.0000 pseudo_student_dice=0.5477 pseudo_ensemble_dice=0.5568 consistency_scale=1.0000 val_dice=0.6380 val_vi=0.5154 val_ece=0.0264
47
+ [10:58:02][ 557s][AL] round 3: 503/5827 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [10:58:09][ 564s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.460, uniform=0.204, top1=0.456, top2=0.456, top3=0.456 -> using mixture
49
+ [10:58:09][ 564s][WEIGHTS] round 3: teacher Dice on 147 labeled patches + 0 blank (2564465 fg px): c-elegans=0.356, cerebellum=0.456, flywire=0.073, berghia=0.161, microns=0.188, oct-glia=0.189, oct-sfl=0.246, snemi=0.399 | weights: c-elegans=0.009, cerebellum=0.802, flywire=0.003, berghia=0.012, microns=0.080, oct-glia=0.029, oct-sfl=0.037, snemi=0.028
50
+ [10:58:11][ 566s][CONS] round 3: on the 49 new patches student Dice=0.221 vs ensemble 0.440 -> pseudo-labels from the ensemble | consistency x1.00
51
+ [10:58:14][ 569s][FT] round 3/6 epoch 1/5 | patches=147 | loss=1.2710
52
+ [10:58:17][ 572s][FT] round 3/6 epoch 2/5 | patches=147 | loss=1.3728
53
+ [10:58:20][ 575s][FT] round 3/6 epoch 3/5 | patches=147 | loss=1.2233
54
+ [10:58:23][ 578s][FT] round 3/6 epoch 4/5 | patches=147 | loss=1.1298
55
+ [10:58:26][ 581s][FT] round 3/6 epoch 5/5 | patches=147 | loss=1.0388
56
+ [10:58:28][ 583s][AL] round 3/6 | labeled=147 | selection_seconds=9.0000 round_seconds=32.4000 pseudo_student_dice=0.2214 pseudo_ensemble_dice=0.4398 consistency_scale=1.0000 val_dice=0.6743 val_vi=0.4691 val_ece=0.0284
57
+ [10:58:37][ 591s][AL] round 4: 697/5778 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [10:58:46][ 601s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.389, uniform=0.206, top1=0.388, top2=0.388, top3=0.388 -> using mixture
59
+ [10:58:46][ 601s][WEIGHTS] round 4: teacher Dice on 196 labeled patches + 0 blank (3036531 fg px): c-elegans=0.330, cerebellum=0.388, flywire=0.072, berghia=0.168, microns=0.184, oct-glia=0.198, oct-sfl=0.243, snemi=0.357 | weights: c-elegans=0.011, cerebellum=0.685, flywire=0.004, berghia=0.022, microns=0.132, oct-glia=0.054, oct-sfl=0.060, snemi=0.031
60
+ [10:58:51][ 606s][CONS] round 4: on the 49 new patches student Dice=0.459 vs ensemble 0.213 -> pseudo-labels from the student | consistency x0.00
61
+ [10:58:53][ 608s][FT] round 4/6 epoch 1/5 | patches=196 | loss=1.0920
62
+ [10:58:55][ 610s][FT] round 4/6 epoch 2/5 | patches=196 | loss=0.9350
63
+ [10:58:57][ 612s][FT] round 4/6 epoch 3/5 | patches=196 | loss=0.9393
64
+ [10:58:59][ 614s][FT] round 4/6 epoch 4/5 | patches=196 | loss=0.9013
65
+ [10:59:01][ 616s][FT] round 4/6 epoch 5/5 | patches=196 | loss=0.9538
66
+ [10:59:03][ 618s][AL] round 4/6 | labeled=196 | selection_seconds=9.0000 round_seconds=32.9000 pseudo_student_dice=0.4592 pseudo_ensemble_dice=0.2127 consistency_scale=0.0000 val_dice=0.7087 val_vi=0.4190 val_ece=0.0029
67
+ [10:59:11][ 626s][AL] round 5: 567/5729 candidates skipped as agreed-empty (predicted prevalence < 0.005)
68
+ [11:00:03][ 678s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.413, cerebellum=0.421, flywire=0.151, berghia=0.286, microns=0.320, oct-glia=0.441, oct-sfl=0.539, snemi=0.334 | blended with labeled Dice at 0.50
69
+ [11:00:52][ 727s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.450, uniform=0.317, top1=0.412, top2=0.429, top3=0.429 -> using mixture
70
+ [11:00:52][ 727s][WEIGHTS] round 5: teacher Dice on 245 labeled patches + 0 blank (4134678 fg px): c-elegans=0.381, cerebellum=0.412, flywire=0.107, berghia=0.232, microns=0.233, oct-glia=0.319, oct-sfl=0.385, snemi=0.362 | weights: c-elegans=0.012, cerebellum=0.540, flywire=0.004, berghia=0.026, microns=0.132, oct-glia=0.112, oct-sfl=0.154, snemi=0.020
71
+ [11:00:57][ 732s][CONS] round 5: on the 49 new patches student Dice=0.700 vs ensemble 0.319 -> pseudo-labels from the student | consistency x0.67
72
+ [11:01:01][ 736s][FT] round 5/6 epoch 1/5 | patches=245 | loss=1.0706
73
+ [11:01:06][ 741s][FT] round 5/6 epoch 2/5 | patches=245 | loss=1.2142
74
+ [11:01:11][ 745s][FT] round 5/6 epoch 3/5 | patches=245 | loss=1.0638
75
+ [11:01:15][ 750s][FT] round 5/6 epoch 4/5 | patches=245 | loss=1.0411
76
+ [11:01:20][ 754s][FT] round 5/6 epoch 5/5 | patches=245 | loss=1.0409
77
+ [11:01:22][ 757s][AL] round 5/6 | labeled=245 | selection_seconds=8.8000 round_seconds=136.9000 pseudo_student_dice=0.6995 pseudo_ensemble_dice=0.3187 consistency_scale=0.6650 val_dice=0.7157 val_vi=0.3772 val_ece=0.0090
78
+ [11:01:30][ 765s][AL] round 6: 707/5680 candidates skipped as agreed-empty (predicted prevalence < 0.005)
79
+ [11:02:23][ 818s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.392, cerebellum=0.395, flywire=0.157, berghia=0.265, microns=0.334, oct-glia=0.443, oct-sfl=0.542, snemi=0.297 | blended with labeled Dice at 0.50
80
+ [11:03:13][ 868s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.419, uniform=0.323, top1=0.399, top2=0.419, top3=0.419 -> using mixture
81
+ [11:03:13][ 868s][WEIGHTS] round 6: teacher Dice on 294 labeled patches + 0 blank (5686541 fg px): c-elegans=0.385, cerebellum=0.399, flywire=0.111, berghia=0.251, microns=0.231, oct-glia=0.326, oct-sfl=0.397, snemi=0.368 | weights: c-elegans=0.013, cerebellum=0.490, flywire=0.004, berghia=0.033, microns=0.134, oct-glia=0.124, oct-sfl=0.179, snemi=0.022
82
+ [11:03:18][ 873s][CONS] round 6: on the 49 new patches student Dice=0.482 vs ensemble 0.215 -> pseudo-labels from the student | consistency x0.00
83
+ [11:03:21][ 876s][FT] round 6/6 epoch 1/5 | patches=294 | loss=1.0749
84
+ [11:03:24][ 879s][FT] round 6/6 epoch 2/5 | patches=294 | loss=0.9716
85
+ [11:03:27][ 882s][FT] round 6/6 epoch 3/5 | patches=294 | loss=0.9355
86
+ [11:03:30][ 885s][FT] round 6/6 epoch 4/5 | patches=294 | loss=0.9278
87
+ [11:03:33][ 887s][FT] round 6/6 epoch 5/5 | patches=294 | loss=0.8386
88
+ [11:03:34][ 889s][AL] round 6/6 | labeled=294 | selection_seconds=8.8000 round_seconds=130.9000 pseudo_student_dice=0.4819 pseudo_ensemble_dice=0.2152 consistency_scale=0.0000 val_dice=0.7126 val_vi=0.3923 val_ece=0.0091
89
+ [11:03:37][ 892s][CONS] final consolidation: pseudo-labels refreshed from the student
90
+ [11:03:40][ 895s][FT] final 1/10 epoch 1/1 | patches=294 | loss=0.8899
91
+ [11:03:43][ 898s][FT] final 2/10 epoch 1/1 | patches=294 | loss=0.8436
92
+ [11:03:46][ 901s][FT] final 3/10 epoch 1/1 | patches=294 | loss=0.7589
93
+ [11:03:48][ 903s][FT] final 4/10 epoch 1/1 | patches=294 | loss=0.8406
94
+ [11:03:51][ 906s][FT] final 5/10 epoch 1/1 | patches=294 | loss=0.8507
95
+ [11:03:54][ 909s][FT] final 6/10 epoch 1/1 | patches=294 | loss=0.7447
96
+ [11:03:57][ 912s][FT] final 7/10 epoch 1/1 | patches=294 | loss=0.7217
97
+ [11:04:00][ 914s][FT] final 8/10 epoch 1/1 | patches=294 | loss=0.6748
98
+ [11:04:02][ 917s][FT] final 9/10 epoch 1/1 | patches=294 | loss=0.7146
99
+ [11:04:05][ 920s][FT] final 10/10 epoch 1/1 | patches=294 | loss=0.6861
100
+ [11:04:07][ 922s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=30.5000 val_dice=0.7200 val_vi=0.3878 val_ece=0.0197
101
+ [11:04:07][ 922s][WEIGHTS] final: c-elegans=0.013, cerebellum=0.490, flywire=0.004, berghia=0.033, microns=0.134, oct-glia=0.124, oct-sfl=0.179, snemi=0.022
102
+ [11:04:25][ 939s][TEST] raw student (no EMA, no TTA): patch_dice=0.7044 patch_vi=0.3511
103
+ [11:04:27][ 942s][TEST] final model without TTA: patch_dice=0.7044 patch_vi=0.3511
104
+ [11:04:27][ 942s][RESOURCES] {"phases": {"setup": {"seconds": 1.12, "peak_cpu_rss_mb": 1027.4, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 31.35, "peak_cpu_rss_mb": 1809.2, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 328.23, "peak_cpu_rss_mb": 3676.9, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 558.98, "peak_cpu_rss_mb": 3676.9, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 20.15, "peak_cpu_rss_mb": 3676.9, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 1300, "images": 52, "patches_per_second": 64.5, "seconds_per_image": 0.387}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 3676.9, "total_seconds": 939.8}
105
+ [11:04:27][ 942s][TEST] patch_dice=0.7253 patch_iou=0.6459 patch_precision=0.7409 patch_recall=0.8422 patch_vi=0.3269 image_dice=0.8342 image_iou=0.7308 image_precision=0.8019 image_recall=0.8938 image_vi=0.3823 cal_ece=0.0061 cal_nll=0.1796 cal_brier=0.0510 cal_mean_confidence=0.9385 cal_accuracy=0.9328 cal_predicted_prevalence=0.2326 cal_true_prevalence=0.2108 cal_mean_probability=0.2424
106
+ [11:04:27][ 942s][DONE] whole-mouse-brain macs-v11-norestart-acq-entropy b5 s3 | test patch Dice=0.7253 VI=0.3269 | image Dice=0.8342 VI=0.3823 | 942s
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-3/result.json ADDED
@@ -0,0 +1,767 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "whole-mouse-brain",
3
+ "variant": "macs-v11-norestart-acq-entropy",
4
+ "budget": 5.0,
5
+ "seed": 3,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "whole-mouse-brain",
9
+ "variant": "macs-v11-norestart-acq-entropy",
10
+ "budget": 5.0,
11
+ "seed": 3,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "3",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.007617762850063339,
154
+ 0.2559312601209969,
155
+ 0.03865993944852264,
156
+ 0.07533345106002441,
157
+ 0.3764169834180784,
158
+ 0.13449516240019677,
159
+ 0.09581340232315401,
160
+ 0.0157320383789636
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.007617762850063339,
175
+ 0.2559312601209969,
176
+ 0.03865993944852264,
177
+ 0.07533345106002441,
178
+ 0.3764169834180784,
179
+ 0.13449516240019677,
180
+ 0.09581340232315401,
181
+ 0.0157320383789636
182
+ ],
183
+ "per_source": [
184
+ 0.1450746039368088,
185
+ 0.041950766450651496,
186
+ 0.0008814721099573598,
187
+ 0.1418325124471684,
188
+ 0.02035312744213396,
189
+ 0.4023730240336797,
190
+ 0.24338555075976573,
191
+ 0.004148942819834595
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.11311670518772092,
205
+ "mmd2_mixture": 0.12945823384265215,
206
+ "mmd2_uniform": 0.155288743679944,
207
+ "mmd2_single_source": [
208
+ 0.38071639717042494,
209
+ 0.17697894982207135,
210
+ 0.3194061281637849,
211
+ 0.24037642211575033,
212
+ 0.16266554797152122,
213
+ 0.2734526560532348,
214
+ 0.2563986706812869,
215
+ 0.2660414632502267
216
+ ],
217
+ "median_squared_distance": 0.18592532667757627,
218
+ "gammas": [
219
+ 1.3446258477390725,
220
+ 2.689251695478145,
221
+ 5.37850339095629,
222
+ 10.75700678191258,
223
+ 21.51401356382516
224
+ ],
225
+ "max_weight": 0.3764169834180784,
226
+ "entropy": 1.6341528654931232,
227
+ "effective_sources": 5.125114496180783,
228
+ "min_weight": 0.007617762850063339
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.33220085501273156,
233
+ 0.46442573060595516,
234
+ 0.8760630244687474,
235
+ 0.33460943356720163,
236
+ 0.5415026072699861,
237
+ 0.2234870921926152,
238
+ 0.2770625113402161,
239
+ 0.7109869456345189
240
+ ],
241
+ "standardized": [
242
+ -0.6467275403932012,
243
+ -0.02635183204683673,
244
+ 1.9049774780863755,
245
+ -0.6354269162093369,
246
+ 0.33527922824378936,
247
+ -1.1567932698101913,
248
+ -0.9054268876938927,
249
+ 1.130469739823295
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4023730240336797,
253
+ "entropy": 1.508581788687784,
254
+ "effective_sources": 4.520315483702711,
255
+ "min_weight": 0.0008814721099573598
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.38573376502042933,
265
+ 0.31643357804427197,
266
+ 0.10997258971952562,
267
+ 0.2588485480329741,
268
+ 0.3288178379711084,
269
+ 0.4072116167356654,
270
+ 0.4397876396557443,
271
+ 0.30535999081848075
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.3845088921696238,
275
+ "mixture@raw": 0.3998907914691259,
276
+ "mixture@logit": 0.3802050170706561,
277
+ "per_source": 0.4199022574247113,
278
+ "per_source@raw": 0.42186088103254527,
279
+ "per_source@logit": 0.41929713845028616,
280
+ "uniform": 0.4128319943503538,
281
+ "uniform@raw": 0.3877140229453584,
282
+ "uniform@logit": 0.4054972948683435
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 2.6421806812286377,
294
+ 3.5461363792419434
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.3764169834180784,
299
+ "entropy": 1.6341528654931232,
300
+ "effective_sources": 5.125114496180783,
301
+ "min_weight": 0.007617762850063339
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": 328.2,
313
+ "round0_val": {
314
+ "val_dice": 0.42175774709778946,
315
+ "val_vi": 0.5128062998414359,
316
+ "val_ece": 0.14443836415563802
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 49,
322
+ "selection_seconds": 32.2,
323
+ "round_seconds": 155.3,
324
+ "teacher_dice_labeled": [
325
+ 0.36738741011177045,
326
+ 0.34973487377165097,
327
+ 0.14100291682142935,
328
+ 0.2353012898060949,
329
+ 0.30996524321190877,
330
+ 0.38452188964078277,
331
+ 0.47067622607709797,
332
+ 0.25385926187706875
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 640544,
336
+ "evidence_nonempty_patches": 39,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.3962524167755847,
340
+ "restart_teacher_dice": 0.47067622607709797,
341
+ "weights": [
342
+ 0.0,
343
+ 0.0,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0,
349
+ 0.0
350
+ ],
351
+ "ensemble_choice": "top1",
352
+ "candidate_dice": {
353
+ "mixture": 0.43280781937383384,
354
+ "uniform": 0.43493152236966137,
355
+ "top1": 0.47067622607709797,
356
+ "top2": 0.44454578875106776,
357
+ "top3": 0.4462152205328611
358
+ },
359
+ "val_dice": 0.646540074905994,
360
+ "val_vi": 0.4665198719972955,
361
+ "val_ece": 0.0075807375838696745
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 98,
366
+ "selection_seconds": 9.0,
367
+ "round_seconds": 26.0,
368
+ "teacher_dice_labeled": [
369
+ 0.3964949872852674,
370
+ 0.46138364251508823,
371
+ 0.1010757881063798,
372
+ 0.20256512904065874,
373
+ 0.25460547393201843,
374
+ 0.2577079727691892,
375
+ 0.33156287339796325,
376
+ 0.39328567712650325
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 1735724,
380
+ "evidence_nonempty_patches": 84,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.010880776159647547,
385
+ 0.699461172663094,
386
+ 0.0028780896424400485,
387
+ 0.015473680225314972,
388
+ 0.1301018016412744,
389
+ 0.04795067726707895,
390
+ 0.07149276637716834,
391
+ 0.02176103602398173
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.4910491059378369,
396
+ "uniform": 0.2787527762668842,
397
+ "top1": 0.46138364251508823,
398
+ "top2": 0.4609649416796084,
399
+ "top3": 0.45997326697860197
400
+ },
401
+ "pseudo_student_dice": 0.5476616446618572,
402
+ "pseudo_ensemble_dice": 0.556802486489929,
403
+ "pseudo_source": "ensemble",
404
+ "consistency_scale": 1.0,
405
+ "val_dice": 0.6379528251954637,
406
+ "val_vi": 0.5153946538049008,
407
+ "val_ece": 0.02644548907751808
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 147,
412
+ "selection_seconds": 9.0,
413
+ "round_seconds": 32.4,
414
+ "teacher_dice_labeled": [
415
+ 0.35633572198115654,
416
+ 0.4561676677016383,
417
+ 0.07341647254380124,
418
+ 0.16051329920740956,
419
+ 0.18766835678359275,
420
+ 0.18921733847825212,
421
+ 0.24562380051934984,
422
+ 0.39910204344838873
423
+ ],
424
+ "teacher_dice_pool": null,
425
+ "evidence_fg_pixels": 2564465,
426
+ "evidence_nonempty_patches": 113,
427
+ "first_correction": false,
428
+ "restart": "",
429
+ "weights": [
430
+ 0.008798245853375434,
431
+ 0.8021518907392878,
432
+ 0.0026371032015051134,
433
+ 0.012277516649360495,
434
+ 0.08048682486773641,
435
+ 0.029207164112188905,
436
+ 0.036574562641144275,
437
+ 0.027866691935401616
438
+ ],
439
+ "ensemble_choice": "mixture",
440
+ "candidate_dice": {
441
+ "mixture": 0.460341006527611,
442
+ "uniform": 0.2037175342073936,
443
+ "top1": 0.4561676677016383,
444
+ "top2": 0.4559419693890312,
445
+ "top3": 0.45570403413587507
446
+ },
447
+ "pseudo_student_dice": 0.22137009624307094,
448
+ "pseudo_ensemble_dice": 0.4397540958983941,
449
+ "pseudo_source": "ensemble",
450
+ "consistency_scale": 1.0,
451
+ "val_dice": 0.6743464690510582,
452
+ "val_vi": 0.4690869017455335,
453
+ "val_ece": 0.02842435821653777
454
+ },
455
+ {
456
+ "round": 4,
457
+ "n_labeled": 196,
458
+ "selection_seconds": 9.0,
459
+ "round_seconds": 32.9,
460
+ "teacher_dice_labeled": [
461
+ 0.3299771096263301,
462
+ 0.38804163172125516,
463
+ 0.07160612127896214,
464
+ 0.16794057559069106,
465
+ 0.18443843255050638,
466
+ 0.19807899270143609,
467
+ 0.24278902382700712,
468
+ 0.3569940772081713
469
+ ],
470
+ "teacher_dice_pool": null,
471
+ "evidence_fg_pixels": 3036531,
472
+ "evidence_nonempty_patches": 153,
473
+ "first_correction": false,
474
+ "restart": "",
475
+ "weights": [
476
+ 0.01141576602419868,
477
+ 0.6854439711596396,
478
+ 0.004373688359092133,
479
+ 0.022333137905060703,
480
+ 0.13160742045978957,
481
+ 0.05389618569239227,
482
+ 0.060041402346467036,
483
+ 0.030888428053359913
484
+ ],
485
+ "ensemble_choice": "mixture",
486
+ "candidate_dice": {
487
+ "mixture": 0.3890792156145218,
488
+ "uniform": 0.20577203391014331,
489
+ "top1": 0.38804163172125516,
490
+ "top2": 0.3879763730386121,
491
+ "top3": 0.38780666396278846
492
+ },
493
+ "pseudo_student_dice": 0.45920203220412686,
494
+ "pseudo_ensemble_dice": 0.21272979415981438,
495
+ "pseudo_source": "student",
496
+ "consistency_scale": 0.0,
497
+ "val_dice": 0.7087167370495862,
498
+ "val_vi": 0.4190034422858896,
499
+ "val_ece": 0.002885292617739875
500
+ },
501
+ {
502
+ "round": 5,
503
+ "n_labeled": 245,
504
+ "selection_seconds": 8.8,
505
+ "round_seconds": 136.9,
506
+ "teacher_dice_labeled": [
507
+ 0.38112177883028797,
508
+ 0.4121840427291803,
509
+ 0.10655492598420999,
510
+ 0.23207856359270612,
511
+ 0.2329279883222823,
512
+ 0.3189693538938384,
513
+ 0.3850992144352713,
514
+ 0.362244453467251
515
+ ],
516
+ "teacher_dice_pool": [
517
+ 0.4131676741656513,
518
+ 0.42103200046233735,
519
+ 0.1509888135870009,
520
+ 0.2862589597725059,
521
+ 0.3200670355049752,
522
+ 0.4407886865128643,
523
+ 0.5394127796666625,
524
+ 0.3344276364677657
525
+ ],
526
+ "evidence_fg_pixels": 4134678,
527
+ "evidence_nonempty_patches": 193,
528
+ "first_correction": false,
529
+ "restart": "",
530
+ "weights": [
531
+ 0.011779082999612873,
532
+ 0.5398947030835544,
533
+ 0.003838101998014584,
534
+ 0.0262413054958334,
535
+ 0.13223785280483505,
536
+ 0.11170333649150943,
537
+ 0.15416439364109832,
538
+ 0.020141223485542006
539
+ ],
540
+ "ensemble_choice": "mixture",
541
+ "candidate_dice": {
542
+ "mixture": 0.45044626372960384,
543
+ "uniform": 0.3174082551184142,
544
+ "top1": 0.4121840427291803,
545
+ "top2": 0.4287747359626445,
546
+ "top3": 0.42858896234699534
547
+ },
548
+ "pseudo_student_dice": 0.6995360803402509,
549
+ "pseudo_ensemble_dice": 0.31871799632824066,
550
+ "pseudo_source": "student",
551
+ "consistency_scale": 0.665,
552
+ "val_dice": 0.7156779814900249,
553
+ "val_vi": 0.3771571907269592,
554
+ "val_ece": 0.009027793309739329
555
+ },
556
+ {
557
+ "round": 6,
558
+ "n_labeled": 294,
559
+ "selection_seconds": 8.8,
560
+ "round_seconds": 130.9,
561
+ "teacher_dice_labeled": [
562
+ 0.3854258140408431,
563
+ 0.399042101167703,
564
+ 0.11107803619300319,
565
+ 0.250959391571319,
566
+ 0.23089472687251988,
567
+ 0.32607846011094965,
568
+ 0.3967225724361204,
569
+ 0.36848059917839887
570
+ ],
571
+ "teacher_dice_pool": [
572
+ 0.39226917381905135,
573
+ 0.3954502206402,
574
+ 0.1565966359168242,
575
+ 0.265017680659922,
576
+ 0.3343952632446626,
577
+ 0.4432951310911836,
578
+ 0.541844091574079,
579
+ 0.2973078419837905
580
+ ],
581
+ "evidence_fg_pixels": 5686541,
582
+ "evidence_nonempty_patches": 237,
583
+ "first_correction": false,
584
+ "restart": "",
585
+ "weights": [
586
+ 0.012736176365196153,
587
+ 0.4903088525913747,
588
+ 0.004159063249292493,
589
+ 0.03282609531881109,
590
+ 0.13420257271254782,
591
+ 0.12421555848074521,
592
+ 0.17934904829414433,
593
+ 0.02220263298788817
594
+ ],
595
+ "ensemble_choice": "mixture",
596
+ "candidate_dice": {
597
+ "mixture": 0.4187754258232841,
598
+ "uniform": 0.3225095176404339,
599
+ "top1": 0.399042101167703,
600
+ "top2": 0.4194592007402292,
601
+ "top3": 0.41927779087623196
602
+ },
603
+ "pseudo_student_dice": 0.48187702682941513,
604
+ "pseudo_ensemble_dice": 0.21516510877757866,
605
+ "pseudo_source": "student",
606
+ "consistency_scale": 0.0,
607
+ "val_dice": 0.7125637098332068,
608
+ "val_vi": 0.3922931931632452,
609
+ "val_ece": 0.009128083181487133
610
+ },
611
+ {
612
+ "round": 7,
613
+ "n_labeled": 294,
614
+ "selection_seconds": 0.0,
615
+ "round_seconds": 30.5,
616
+ "final_consolidation": true,
617
+ "val_dice": 0.7199579951007331,
618
+ "val_vi": 0.3878433725098941,
619
+ "val_ece": 0.01970009244399582
620
+ }
621
+ ],
622
+ "uncertainty_quality": {
623
+ "spearman_uncertainty_error": -0.20489397455499517,
624
+ "auroc_top20_error": 0.39909434029446844
625
+ },
626
+ "al_seconds": 559.0,
627
+ "source_archs": [
628
+ "unet",
629
+ "unet",
630
+ "unet",
631
+ "unet",
632
+ "unet",
633
+ "unet",
634
+ "unet",
635
+ "unet"
636
+ ],
637
+ "alphas_final": [
638
+ 0.012736176365196153,
639
+ 0.4903088525913747,
640
+ 0.004159063249292493,
641
+ 0.03282609531881109,
642
+ 0.13420257271254782,
643
+ 0.12421555848074521,
644
+ 0.17934904829414433,
645
+ 0.02220263298788817
646
+ ],
647
+ "weight_stats_final": {
648
+ "max_weight": 0.4903088525913747,
649
+ "entropy": 1.461326814289988,
650
+ "effective_sources": 4.3116765288398,
651
+ "min_weight": 0.004159063249292493
652
+ },
653
+ "top_source_final": "dhanyasi-P14-mouse-cerebellum",
654
+ "ensemble_choice_final": "",
655
+ "restart": "kept",
656
+ "test_raw_student": {
657
+ "patch_dice": 0.7044237441791064,
658
+ "patch_iou": 0.6208068695363332,
659
+ "patch_precision": 0.7148284002150658,
660
+ "patch_recall": 0.8299271833672399,
661
+ "patch_vi": 0.351098248100767,
662
+ "n_patches": 1300,
663
+ "cal_ece": 0.019415714926569648,
664
+ "cal_nll": 0.19742326733203194,
665
+ "cal_brier": 0.05522876654738458,
666
+ "cal_mean_confidence": 0.9472860574746466,
667
+ "cal_accuracy": 0.9278703425480769,
668
+ "cal_predicted_prevalence": 0.23288611778846155,
669
+ "cal_true_prevalence": 0.21078049879807692,
670
+ "cal_mean_probability": 0.23892273644979425
671
+ },
672
+ "test_notta": {
673
+ "patch_dice": 0.7044237441791064,
674
+ "patch_iou": 0.6208068695363332,
675
+ "patch_precision": 0.7148284002150658,
676
+ "patch_recall": 0.8299271833672399,
677
+ "patch_vi": 0.351098248100767,
678
+ "n_patches": 1300,
679
+ "cal_ece": 0.019415714926569648,
680
+ "cal_nll": 0.19742326733203194,
681
+ "cal_brier": 0.05522876654738458,
682
+ "cal_mean_confidence": 0.9472860574746466,
683
+ "cal_accuracy": 0.9278703425480769,
684
+ "cal_predicted_prevalence": 0.23288611778846155,
685
+ "cal_true_prevalence": 0.21078049879807692,
686
+ "cal_mean_probability": 0.23892273644979425
687
+ },
688
+ "test": {
689
+ "patch_dice": 0.7253355817647213,
690
+ "patch_iou": 0.6458858156903308,
691
+ "patch_precision": 0.7408743616027792,
692
+ "patch_recall": 0.842185801710432,
693
+ "patch_vi": 0.3268501847439328,
694
+ "n_patches": 1300,
695
+ "image_dice": 0.8342029779726485,
696
+ "image_iou": 0.7307789106547949,
697
+ "image_precision": 0.8018712059262382,
698
+ "image_recall": 0.8937876571487801,
699
+ "image_vi": 0.38229628640130375,
700
+ "n_images": 52,
701
+ "cal_ece": 0.006070841455767178,
702
+ "cal_nll": 0.17962633679523854,
703
+ "cal_brier": 0.05098272736595117,
704
+ "cal_mean_confidence": 0.9384511861769915,
705
+ "cal_accuracy": 0.9328049879807693,
706
+ "cal_predicted_prevalence": 0.23264197716346155,
707
+ "cal_true_prevalence": 0.21078049879807692,
708
+ "cal_mean_probability": 0.24242487424387058
709
+ },
710
+ "eval_seconds": 20.1,
711
+ "total_seconds": 942.0,
712
+ "resources": {
713
+ "phases": {
714
+ "setup": {
715
+ "seconds": 1.12,
716
+ "peak_cpu_rss_mb": 1027.4,
717
+ "peak_gpu_alloc_mb": 1066.3,
718
+ "peak_gpu_reserved_mb": 1086.0
719
+ },
720
+ "features_and_weights": {
721
+ "seconds": 31.35,
722
+ "peak_cpu_rss_mb": 1809.2,
723
+ "peak_gpu_alloc_mb": 2820.1,
724
+ "peak_gpu_reserved_mb": 3212.0
725
+ },
726
+ "distillation": {
727
+ "seconds": 328.23,
728
+ "peak_cpu_rss_mb": 3676.9,
729
+ "peak_gpu_alloc_mb": 4303.7,
730
+ "peak_gpu_reserved_mb": 4638.0,
731
+ "kd_epochs": 5
732
+ },
733
+ "active_learning": {
734
+ "seconds": 558.98,
735
+ "peak_cpu_rss_mb": 3676.9,
736
+ "peak_gpu_alloc_mb": 4424.0,
737
+ "peak_gpu_reserved_mb": 4646.0,
738
+ "rounds": 6
739
+ },
740
+ "inference": {
741
+ "seconds": 20.15,
742
+ "peak_cpu_rss_mb": 3676.9,
743
+ "peak_gpu_alloc_mb": 2623.4,
744
+ "peak_gpu_reserved_mb": 4646.0,
745
+ "patches": 1300,
746
+ "images": 52,
747
+ "patches_per_second": 64.5,
748
+ "seconds_per_image": 0.387
749
+ }
750
+ },
751
+ "peak_gpu_alloc_mb": 4424.0,
752
+ "peak_cpu_rss_mb": 3676.9,
753
+ "total_seconds": 939.8
754
+ },
755
+ "student_parameters": 31042369,
756
+ "teacher_parameters": [
757
+ 31042369,
758
+ 31042369,
759
+ 31042369,
760
+ 31042369,
761
+ 31042369,
762
+ 31042369,
763
+ 31042369,
764
+ 31042369
765
+ ],
766
+ "checkpoint": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/whole-mouse-brain/macs-v11-norestart-acq-entropy_b5_s3.pth"
767
+ }
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-entropy/budget-5/seed-3/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,32.2,155.3,"[0.36738741011177045, 0.34973487377165097, 0.14100291682142935, 0.2353012898060949, 0.30996524321190877, 0.38452188964078277, 0.47067622607709797, 0.25385926187706875]",,640544,39,True,kept,0.3962524167755847,0.47067622607709797,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.43280781937383384, 'uniform': 0.43493152236966137, 'top1': 0.47067622607709797, 'top2': 0.44454578875106776, 'top3': 0.4462152205328611}",0.646540074905994,0.4665198719972955,0.0075807375838696745,,,,,
3
+ 2,98,9.0,26.0,"[0.3964949872852674, 0.46138364251508823, 0.1010757881063798, 0.20256512904065874, 0.25460547393201843, 0.2577079727691892, 0.33156287339796325, 0.39328567712650325]",,1735724,84,False,,,,"[0.010880776159647547, 0.699461172663094, 0.0028780896424400485, 0.015473680225314972, 0.1301018016412744, 0.04795067726707895, 0.07149276637716834, 0.02176103602398173]",mixture,"{'mixture': 0.4910491059378369, 'uniform': 0.2787527762668842, 'top1': 0.46138364251508823, 'top2': 0.4609649416796084, 'top3': 0.45997326697860197}",0.6379528251954637,0.5153946538049008,0.02644548907751808,0.5476616446618572,0.556802486489929,ensemble,1.0,
4
+ 3,147,9.0,32.4,"[0.35633572198115654, 0.4561676677016383, 0.07341647254380124, 0.16051329920740956, 0.18766835678359275, 0.18921733847825212, 0.24562380051934984, 0.39910204344838873]",,2564465,113,False,,,,"[0.008798245853375434, 0.8021518907392878, 0.0026371032015051134, 0.012277516649360495, 0.08048682486773641, 0.029207164112188905, 0.036574562641144275, 0.027866691935401616]",mixture,"{'mixture': 0.460341006527611, 'uniform': 0.2037175342073936, 'top1': 0.4561676677016383, 'top2': 0.4559419693890312, 'top3': 0.45570403413587507}",0.6743464690510582,0.4690869017455335,0.02842435821653777,0.22137009624307094,0.4397540958983941,ensemble,1.0,
5
+ 4,196,9.0,32.9,"[0.3299771096263301, 0.38804163172125516, 0.07160612127896214, 0.16794057559069106, 0.18443843255050638, 0.19807899270143609, 0.24278902382700712, 0.3569940772081713]",,3036531,153,False,,,,"[0.01141576602419868, 0.6854439711596396, 0.004373688359092133, 0.022333137905060703, 0.13160742045978957, 0.05389618569239227, 0.060041402346467036, 0.030888428053359913]",mixture,"{'mixture': 0.3890792156145218, 'uniform': 0.20577203391014331, 'top1': 0.38804163172125516, 'top2': 0.3879763730386121, 'top3': 0.38780666396278846}",0.7087167370495862,0.4190034422858896,0.002885292617739875,0.45920203220412686,0.21272979415981438,student,0.0,
6
+ 5,245,8.8,136.9,"[0.38112177883028797, 0.4121840427291803, 0.10655492598420999, 0.23207856359270612, 0.2329279883222823, 0.3189693538938384, 0.3850992144352713, 0.362244453467251]","[0.4131676741656513, 0.42103200046233735, 0.1509888135870009, 0.2862589597725059, 0.3200670355049752, 0.4407886865128643, 0.5394127796666625, 0.3344276364677657]",4134678,193,False,,,,"[0.011779082999612873, 0.5398947030835544, 0.003838101998014584, 0.0262413054958334, 0.13223785280483505, 0.11170333649150943, 0.15416439364109832, 0.020141223485542006]",mixture,"{'mixture': 0.45044626372960384, 'uniform': 0.3174082551184142, 'top1': 0.4121840427291803, 'top2': 0.4287747359626445, 'top3': 0.42858896234699534}",0.7156779814900249,0.3771571907269592,0.009027793309739329,0.6995360803402509,0.31871799632824066,student,0.665,
7
+ 6,294,8.8,130.9,"[0.3854258140408431, 0.399042101167703, 0.11107803619300319, 0.250959391571319, 0.23089472687251988, 0.32607846011094965, 0.3967225724361204, 0.36848059917839887]","[0.39226917381905135, 0.3954502206402, 0.1565966359168242, 0.265017680659922, 0.3343952632446626, 0.4432951310911836, 0.541844091574079, 0.2973078419837905]",5686541,237,False,,,,"[0.012736176365196153, 0.4903088525913747, 0.004159063249292493, 0.03282609531881109, 0.13420257271254782, 0.12421555848074521, 0.17934904829414433, 0.02220263298788817]",mixture,"{'mixture': 0.4187754258232841, 'uniform': 0.3225095176404339, 'top1': 0.399042101167703, 'top2': 0.4194592007402292, 'top3': 0.41927779087623196}",0.7125637098332068,0.3922931931632452,0.009128083181487133,0.48187702682941513,0.21516510877757866,student,0.0,
8
+ 7,294,0.0,30.5,,,,,,,,,,,,0.7199579951007331,0.3878433725098941,0.01970009244399582,,,,,True
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-margin/budget-5/seed-3/log.txt ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [11:04:30][ 0s][START] target=whole-mouse-brain variant=macs-v11-norestart-acq-margin budget=5.0% seed=3 | {"task": "membrane", "target": "whole-mouse-brain", "variant": "macs-v11-norestart-acq-margin", "budget": 5.0, "seed": 3, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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
+ [11:04:30][ 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:04:30][ 0s][DATA] whole-mouse-brain: train=5925 val=1250 test=1300 patches
4
+ [11:04:31][ 1s][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:04:31][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 0s
6
+ [11:04:37][ 7s][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:04:37][ 7s][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:05:01][ 31s][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:05:01][ 31s][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:05:01][ 31s][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:05:01][ 31s][INIT] student initialised from teacher microns (weight 0.376)
12
+ [11:05:03][ 33s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [11:05:03][ 33s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [11:06:10][ 100s][KD] soft labels for 5925 patches from 8 teachers in 67s
15
+ [11:07:03][ 153s][KD] epoch 1/5 | patches=5925 | loss=0.6683 | 53s
16
+ [11:07:55][ 205s][KD] epoch 2/5 | patches=5925 | loss=0.4975 | 52s
17
+ [11:08:47][ 258s][KD] epoch 3/5 | patches=5925 | loss=0.4701 | 52s
18
+ [11:09:39][ 309s][KD] epoch 4/5 | patches=5925 | loss=0.4595 | 52s
19
+ [11:10:31][ 362s][KD] epoch 5/5 | patches=5925 | loss=0.4557 | 52s
20
+ [11:10:33][ 364s][ROUND0] before any target label: val_dice=0.4161 val_vi=0.5124
21
+ [11:10:33][ 364s][AL] patches=5925 (pool 5925 after dropping blank; free blank negatives: True) | budget=296 (5.0%) | rounds=6 | per_round=49 | acquisition=margin | first_round=stratified
22
+ [11:10:43][ 373s][AL] round-1 uncertainty quality on 5925 patches: {'spearman_uncertainty_error': -0.24881207404064967, 'auroc_top20_error': 0.3594799622567608}
23
+ [11:11:06][ 396s][AL] round 1: stratified cold start: 25 patches from the membrane-rich half (ensemble prevalence >= 0.215) + 24 from the membrane-poor half of 2000 candidates
24
+ [11:11:08][ 399s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.433, uniform=0.435, top1=0.471, top2=0.445, top3=0.446 -> using top1
25
+ [11:11:09][ 399s][WEIGHTS] round 1: student kept (labeled Dice 0.384 vs best teacher oct-sfl 0.471); distilling the corrected ensemble into it
26
+ [11:11:09][ 399s][WEIGHTS] round 1: teacher Dice on 49 labeled patches + 0 blank (640544 fg px): c-elegans=0.367, cerebellum=0.350, flywire=0.141, berghia=0.235, microns=0.310, oct-glia=0.385, oct-sfl=0.471, snemi=0.254 | 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
27
+ [11:11:18][ 408s][KD] soft labels for 5876 patches from 8 teachers in 9s
28
+ [11:12:10][ 460s][KD] epoch 1/2 | patches=5876 | loss=0.1740 | 52s
29
+ [11:13:01][ 512s][KD] epoch 2/2 | patches=5876 | loss=0.1640 | 52s
30
+ [11:13:05][ 515s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 3s
31
+ [11:13:06][ 516s][FT] round 1/6 epoch 1/5 | patches=49 | loss=1.3153
32
+ [11:13:07][ 517s][FT] round 1/6 epoch 2/5 | patches=49 | loss=1.0823
33
+ [11:13:08][ 519s][FT] round 1/6 epoch 3/5 | patches=49 | loss=1.2696
34
+ [11:13:10][ 520s][FT] round 1/6 epoch 4/5 | patches=49 | loss=1.0443
35
+ [11:13:11][ 521s][FT] round 1/6 epoch 5/5 | patches=49 | loss=1.0469
36
+ [11:13:13][ 523s][AL] round 1/6 | labeled=49 | selection_seconds=32.3000 round_seconds=157.5000 restart_student_dice=0.3843 restart_teacher_dice=0.4707 val_dice=0.6424 val_vi=0.4584 val_ece=0.0183
37
+ [11:13:22][ 532s][AL] round 2: 525/5876 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [11:13:27][ 537s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.448, uniform=0.275, top1=0.479, top2=0.449, top3=0.449 -> using top1
39
+ [11:13:27][ 537s][WEIGHTS] round 2: teacher Dice on 98 labeled patches + 0 blank (1973085 fg px): c-elegans=0.479, cerebellum=0.447, flywire=0.164, berghia=0.213, microns=0.222, oct-glia=0.255, oct-sfl=0.330, snemi=0.432 | weights: c-elegans=1.000, cerebellum=0.000, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.000, snemi=0.000
40
+ [11:13:29][ 539s][CONS] round 2: on the 49 new patches student Dice=0.571 vs ensemble 0.563 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [11:13:31][ 541s][FT] round 2/6 epoch 1/5 | patches=98 | loss=1.2983
42
+ [11:13:33][ 543s][FT] round 2/6 epoch 2/5 | patches=98 | loss=1.2472
43
+ [11:13:35][ 545s][FT] round 2/6 epoch 3/5 | patches=98 | loss=1.1352
44
+ [11:13:37][ 547s][FT] round 2/6 epoch 4/5 | patches=98 | loss=1.1293
45
+ [11:13:39][ 549s][FT] round 2/6 epoch 5/5 | patches=98 | loss=1.0466
46
+ [11:13:41][ 551s][AL] round 2/6 | labeled=98 | selection_seconds=9.0000 round_seconds=26.2000 pseudo_student_dice=0.5708 pseudo_ensemble_dice=0.5629 consistency_scale=1.0000 val_dice=0.6499 val_vi=0.4739 val_ece=0.0387
47
+ [11:13:50][ 560s][AL] round 3: 556/5827 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [11:13:57][ 567s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.518, uniform=0.193, top1=0.518, top2=0.519, top3=0.519 -> using mixture
49
+ [11:13:57][ 567s][WEIGHTS] round 3: teacher Dice on 147 labeled patches + 0 blank (3447972 fg px): c-elegans=0.468, cerebellum=0.518, flywire=0.109, berghia=0.178, microns=0.156, oct-glia=0.188, oct-sfl=0.243, snemi=0.502 | weights: c-elegans=0.015, cerebellum=0.858, flywire=0.002, berghia=0.008, microns=0.034, oct-glia=0.017, oct-sfl=0.020, snemi=0.045
50
+ [11:13:59][ 569s][CONS] round 3: on the 49 new patches student Dice=0.369 vs ensemble 0.598 -> pseudo-labels from the ensemble | consistency x1.00
51
+ [11:14:02][ 572s][FT] round 3/6 epoch 1/5 | patches=147 | loss=1.5031
52
+ [11:14:05][ 575s][FT] round 3/6 epoch 2/5 | patches=147 | loss=1.4121
53
+ [11:14:07][ 578s][FT] round 3/6 epoch 3/5 | patches=147 | loss=1.2386
54
+ [11:14:10][ 581s][FT] round 3/6 epoch 4/5 | patches=147 | loss=1.1837
55
+ [11:14:13][ 584s][FT] round 3/6 epoch 5/5 | patches=147 | loss=1.1168
56
+ [11:14:15][ 586s][AL] round 3/6 | labeled=147 | selection_seconds=8.9000 round_seconds=32.2000 pseudo_student_dice=0.3691 pseudo_ensemble_dice=0.5979 consistency_scale=1.0000 val_dice=0.6700 val_vi=0.4160 val_ece=0.0603
57
+ [11:14:24][ 594s][AL] round 4: 811/5778 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [11:14:33][ 603s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.507, uniform=0.168, top1=0.507, top2=0.508, top3=0.508 -> using mixture
59
+ [11:14:33][ 603s][WEIGHTS] round 4: teacher Dice on 196 labeled patches + 0 blank (4475353 fg px): c-elegans=0.452, cerebellum=0.507, flywire=0.093, berghia=0.175, microns=0.140, oct-glia=0.174, oct-sfl=0.225, snemi=0.490 | weights: c-elegans=0.015, cerebellum=0.861, flywire=0.002, berghia=0.009, microns=0.032, oct-glia=0.016, oct-sfl=0.019, snemi=0.045
60
+ [11:14:38][ 608s][CONS] round 4: on the 49 new patches student Dice=0.571 vs ensemble 0.466 -> pseudo-labels from the student | consistency x0.24
61
+ [11:14:42][ 612s][FT] round 4/6 epoch 1/5 | patches=196 | loss=1.1983
62
+ [11:14:45][ 616s][FT] round 4/6 epoch 2/5 | patches=196 | loss=1.1145
63
+ [11:14:49][ 620s][FT] round 4/6 epoch 3/5 | patches=196 | loss=1.0540
64
+ [11:14:53][ 623s][FT] round 4/6 epoch 4/5 | patches=196 | loss=0.9975
65
+ [11:14:57][ 627s][FT] round 4/6 epoch 5/5 | patches=196 | loss=1.0069
66
+ [11:14:59][ 629s][AL] round 4/6 | labeled=196 | selection_seconds=8.9000 round_seconds=41.5000 pseudo_student_dice=0.5709 pseudo_ensemble_dice=0.4664 consistency_scale=0.2360 val_dice=0.6300 val_vi=0.5393 val_ece=0.0166
67
+ [11:15:07][ 638s][AL] round 5: 374/5729 candidates skipped as agreed-empty (predicted prevalence < 0.005)
68
+ [11:15:59][ 690s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.452, cerebellum=0.459, flywire=0.132, berghia=0.303, microns=0.285, oct-glia=0.406, oct-sfl=0.497, snemi=0.405 | blended with labeled Dice at 0.50
69
+ [11:16:48][ 738s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.451, uniform=0.289, top1=0.446, top2=0.446, top3=0.447 -> using mixture
70
+ [11:16:48][ 738s][WEIGHTS] round 5: teacher Dice on 245 labeled patches + 0 blank (4632452 fg px): c-elegans=0.422, cerebellum=0.446, flywire=0.112, berghia=0.237, microns=0.214, oct-glia=0.292, oct-sfl=0.363, snemi=0.414 | weights: c-elegans=0.015, cerebellum=0.653, flywire=0.003, berghia=0.024, microns=0.094, oct-glia=0.074, oct-sfl=0.107, snemi=0.029
71
+ [11:16:53][ 743s][CONS] round 5: on the 49 new patches student Dice=0.157 vs ensemble 0.069 -> pseudo-labels from the student | consistency x0.00
72
+ [11:16:55][ 746s][FT] round 5/6 epoch 1/5 | patches=245 | loss=1.0619
73
+ [11:16:58][ 748s][FT] round 5/6 epoch 2/5 | patches=245 | loss=1.0047
74
+ [11:17:00][ 751s][FT] round 5/6 epoch 3/5 | patches=245 | loss=0.9691
75
+ [11:17:03][ 753s][FT] round 5/6 epoch 4/5 | patches=245 | loss=0.9047
76
+ [11:17:05][ 755s][FT] round 5/6 epoch 5/5 | patches=245 | loss=0.8771
77
+ [11:17:07][ 757s][AL] round 5/6 | labeled=245 | selection_seconds=8.8000 round_seconds=126.3000 pseudo_student_dice=0.1569 pseudo_ensemble_dice=0.0693 consistency_scale=0.0000 val_dice=0.6217 val_vi=0.5293 val_ece=0.0085
78
+ [11:17:15][ 766s][AL] round 6: 298/5680 candidates skipped as agreed-empty (predicted prevalence < 0.005)
79
+ [11:18:08][ 819s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.459, cerebellum=0.467, flywire=0.130, berghia=0.303, microns=0.278, oct-glia=0.400, oct-sfl=0.490, snemi=0.427 | blended with labeled Dice at 0.50
80
+ [11:18:58][ 869s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.443, uniform=0.283, top1=0.439, top2=0.439, top3=0.440 -> using mixture
81
+ [11:18:58][ 869s][WEIGHTS] round 6: teacher Dice on 294 labeled patches + 0 blank (5289236 fg px): c-elegans=0.420, cerebellum=0.439, flywire=0.109, berghia=0.254, microns=0.206, oct-glia=0.296, oct-sfl=0.361, snemi=0.417 | weights: c-elegans=0.016, cerebellum=0.639, flywire=0.004, berghia=0.030, microns=0.091, oct-glia=0.081, oct-sfl=0.109, snemi=0.032
82
+ [11:19:03][ 874s][CONS] round 6: on the 49 new patches student Dice=0.439 vs ensemble 0.169 -> pseudo-labels from the student | consistency x0.00
83
+ [11:19:06][ 876s][FT] round 6/6 epoch 1/5 | patches=294 | loss=1.1014
84
+ [11:19:09][ 879s][FT] round 6/6 epoch 2/5 | patches=294 | loss=1.0341
85
+ [11:19:12][ 882s][FT] round 6/6 epoch 3/5 | patches=294 | loss=0.9358
86
+ [11:19:15][ 885s][FT] round 6/6 epoch 4/5 | patches=294 | loss=0.9625
87
+ [11:19:17][ 888s][FT] round 6/6 epoch 5/5 | patches=294 | loss=0.8936
88
+ [11:19:19][ 890s][AL] round 6/6 | labeled=294 | selection_seconds=8.8000 round_seconds=130.4000 pseudo_student_dice=0.4388 pseudo_ensemble_dice=0.1688 consistency_scale=0.0000 val_dice=0.7115 val_vi=0.3985 val_ece=0.0027
89
+ [11:19:22][ 893s][CONS] final consolidation: pseudo-labels refreshed from the student
90
+ [11:19:25][ 896s][FT] final 1/10 epoch 1/1 | patches=294 | loss=0.9068
91
+ [11:19:28][ 898s][FT] final 2/10 epoch 1/1 | patches=294 | loss=0.9436
92
+ [11:19:31][ 901s][FT] final 3/10 epoch 1/1 | patches=294 | loss=0.8761
93
+ [11:19:34][ 904s][FT] final 4/10 epoch 1/1 | patches=294 | loss=0.9009
94
+ [11:19:36][ 907s][FT] final 5/10 epoch 1/1 | patches=294 | loss=0.7947
95
+ [11:19:39][ 910s][FT] final 6/10 epoch 1/1 | patches=294 | loss=0.7844
96
+ [11:19:42][ 913s][FT] final 7/10 epoch 1/1 | patches=294 | loss=0.7615
97
+ [11:19:45][ 915s][FT] final 8/10 epoch 1/1 | patches=294 | loss=0.7173
98
+ [11:19:48][ 918s][FT] final 9/10 epoch 1/1 | patches=294 | loss=0.7306
99
+ [11:19:50][ 921s][FT] final 10/10 epoch 1/1 | patches=294 | loss=0.7398
100
+ [11:19:52][ 923s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=31.1000 val_dice=0.7158 val_vi=0.3846 val_ece=0.0160
101
+ [11:19:52][ 923s][WEIGHTS] final: c-elegans=0.016, cerebellum=0.639, flywire=0.004, berghia=0.030, microns=0.091, oct-glia=0.081, oct-sfl=0.109, snemi=0.032
102
+ [11:20:10][ 941s][TEST] raw student (no EMA, no TTA): patch_dice=0.7032 patch_vi=0.3580
103
+ [11:20:13][ 943s][TEST] final model without TTA: patch_dice=0.7032 patch_vi=0.3580
104
+ [11:20:13][ 943s][RESOURCES] {"phases": {"setup": {"seconds": 1.13, "peak_cpu_rss_mb": 1027.7, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 31.55, "peak_cpu_rss_mb": 1809.5, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 328.93, "peak_cpu_rss_mb": 3677.4, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 559.03, "peak_cpu_rss_mb": 3677.4, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4646.0, "rounds": 6}, "inference": {"seconds": 20.19, "peak_cpu_rss_mb": 3677.4, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4646.0, "patches": 1300, "images": 52, "patches_per_second": 64.4, "seconds_per_image": 0.388}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 3677.4, "total_seconds": 940.8}
105
+ [11:20:13][ 943s][TEST] patch_dice=0.7254 patch_iou=0.6456 patch_precision=0.7365 patch_recall=0.8469 patch_vi=0.3307 image_dice=0.8376 image_iou=0.7339 image_precision=0.8064 image_recall=0.8949 image_vi=0.3832 cal_ece=0.0033 cal_nll=0.1739 cal_brier=0.0503 cal_mean_confidence=0.9339 cal_accuracy=0.9333 cal_predicted_prevalence=0.2312 cal_true_prevalence=0.2108 cal_mean_probability=0.2435
106
+ [11:20:13][ 943s][DONE] whole-mouse-brain macs-v11-norestart-acq-margin b5 s3 | test patch Dice=0.7254 VI=0.3307 | image Dice=0.8376 VI=0.3832 | 943s
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-margin/budget-5/seed-3/result.json ADDED
@@ -0,0 +1,767 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "whole-mouse-brain",
3
+ "variant": "macs-v11-norestart-acq-margin",
4
+ "budget": 5.0,
5
+ "seed": 3,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "whole-mouse-brain",
9
+ "variant": "macs-v11-norestart-acq-margin",
10
+ "budget": 5.0,
11
+ "seed": 3,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "whole-mouse-brain",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-margin",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "3",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.007617762850063339,
154
+ 0.2559312601209969,
155
+ 0.03865993944852264,
156
+ 0.07533345106002441,
157
+ 0.3764169834180784,
158
+ 0.13449516240019677,
159
+ 0.09581340232315401,
160
+ 0.0157320383789636
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.007617762850063339,
175
+ 0.2559312601209969,
176
+ 0.03865993944852264,
177
+ 0.07533345106002441,
178
+ 0.3764169834180784,
179
+ 0.13449516240019677,
180
+ 0.09581340232315401,
181
+ 0.0157320383789636
182
+ ],
183
+ "per_source": [
184
+ 0.1450746039368088,
185
+ 0.041950766450651496,
186
+ 0.0008814721099573598,
187
+ 0.1418325124471684,
188
+ 0.02035312744213396,
189
+ 0.4023730240336797,
190
+ 0.24338555075976573,
191
+ 0.004148942819834595
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.11311670518772092,
205
+ "mmd2_mixture": 0.12945823384265215,
206
+ "mmd2_uniform": 0.155288743679944,
207
+ "mmd2_single_source": [
208
+ 0.38071639717042494,
209
+ 0.17697894982207135,
210
+ 0.3194061281637849,
211
+ 0.24037642211575033,
212
+ 0.16266554797152122,
213
+ 0.2734526560532348,
214
+ 0.2563986706812869,
215
+ 0.2660414632502267
216
+ ],
217
+ "median_squared_distance": 0.18592532667757627,
218
+ "gammas": [
219
+ 1.3446258477390725,
220
+ 2.689251695478145,
221
+ 5.37850339095629,
222
+ 10.75700678191258,
223
+ 21.51401356382516
224
+ ],
225
+ "max_weight": 0.3764169834180784,
226
+ "entropy": 1.6341528654931232,
227
+ "effective_sources": 5.125114496180783,
228
+ "min_weight": 0.007617762850063339
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.33220085501273156,
233
+ 0.46442573060595516,
234
+ 0.8760630244687474,
235
+ 0.33460943356720163,
236
+ 0.5415026072699861,
237
+ 0.2234870921926152,
238
+ 0.2770625113402161,
239
+ 0.7109869456345189
240
+ ],
241
+ "standardized": [
242
+ -0.6467275403932012,
243
+ -0.02635183204683673,
244
+ 1.9049774780863755,
245
+ -0.6354269162093369,
246
+ 0.33527922824378936,
247
+ -1.1567932698101913,
248
+ -0.9054268876938927,
249
+ 1.130469739823295
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4023730240336797,
253
+ "entropy": 1.508581788687784,
254
+ "effective_sources": 4.520315483702711,
255
+ "min_weight": 0.0008814721099573598
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.1
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.38573376502042933,
265
+ 0.31643357804427197,
266
+ 0.10997258971952562,
267
+ 0.2588485480329741,
268
+ 0.3288178379711084,
269
+ 0.4072116167356654,
270
+ 0.4397876396557443,
271
+ 0.30535999081848075
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.3845088921696238,
275
+ "mixture@raw": 0.3998907914691259,
276
+ "mixture@logit": 0.3802050170706561,
277
+ "per_source": 0.4199022574247113,
278
+ "per_source@raw": 0.42186088103254527,
279
+ "per_source@logit": 0.41929713845028616,
280
+ "uniform": 0.4128319943503538,
281
+ "uniform@raw": 0.3877140229453584,
282
+ "uniform@logit": 0.4054972948683435
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 2.6421806812286377,
294
+ 3.5461363792419434
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.3764169834180784,
299
+ "entropy": 1.6341528654931232,
300
+ "effective_sources": 5.125114496180783,
301
+ "min_weight": 0.007617762850063339
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": 328.9,
313
+ "round0_val": {
314
+ "val_dice": 0.41606177435746006,
315
+ "val_vi": 0.5123552235778059,
316
+ "val_ece": 0.14459192201571608
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 49,
322
+ "selection_seconds": 32.3,
323
+ "round_seconds": 157.5,
324
+ "teacher_dice_labeled": [
325
+ 0.36738741011177045,
326
+ 0.34973487377165097,
327
+ 0.14100291682142935,
328
+ 0.2353012898060949,
329
+ 0.30996524321190877,
330
+ 0.38452188964078277,
331
+ 0.47067622607709797,
332
+ 0.25385926187706875
333
+ ],
334
+ "teacher_dice_pool": null,
335
+ "evidence_fg_pixels": 640544,
336
+ "evidence_nonempty_patches": 39,
337
+ "first_correction": true,
338
+ "restart": "kept",
339
+ "restart_student_dice": 0.3843282859342692,
340
+ "restart_teacher_dice": 0.47067622607709797,
341
+ "weights": [
342
+ 0.0,
343
+ 0.0,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 1.0,
349
+ 0.0
350
+ ],
351
+ "ensemble_choice": "top1",
352
+ "candidate_dice": {
353
+ "mixture": 0.43280781937383384,
354
+ "uniform": 0.43493152236966137,
355
+ "top1": 0.47067622607709797,
356
+ "top2": 0.44454578875106776,
357
+ "top3": 0.4462152205328611
358
+ },
359
+ "val_dice": 0.6423608970665755,
360
+ "val_vi": 0.4583910108960369,
361
+ "val_ece": 0.018296731206981286
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 98,
366
+ "selection_seconds": 9.0,
367
+ "round_seconds": 26.2,
368
+ "teacher_dice_labeled": [
369
+ 0.4790010720265582,
370
+ 0.4471774808650101,
371
+ 0.1635805331835569,
372
+ 0.2126323076912074,
373
+ 0.22214865194975508,
374
+ 0.2548709404689054,
375
+ 0.3297295554084256,
376
+ 0.43233750559567696
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 1973085,
380
+ "evidence_nonempty_patches": 84,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 1.0,
385
+ 0.0,
386
+ 0.0,
387
+ 0.0,
388
+ 0.0,
389
+ 0.0,
390
+ 0.0,
391
+ 0.0
392
+ ],
393
+ "ensemble_choice": "top1",
394
+ "candidate_dice": {
395
+ "mixture": 0.44770498278126886,
396
+ "uniform": 0.2748470197475036,
397
+ "top1": 0.4790010720265582,
398
+ "top2": 0.4485533237171078,
399
+ "top3": 0.4488417346971152
400
+ },
401
+ "pseudo_student_dice": 0.5707606242464341,
402
+ "pseudo_ensemble_dice": 0.5629199461807312,
403
+ "pseudo_source": "ensemble",
404
+ "consistency_scale": 1.0,
405
+ "val_dice": 0.6498913510594475,
406
+ "val_vi": 0.4739385598038719,
407
+ "val_ece": 0.03870070742571032
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 147,
412
+ "selection_seconds": 8.9,
413
+ "round_seconds": 32.2,
414
+ "teacher_dice_labeled": [
415
+ 0.4675352679158566,
416
+ 0.51830134874921,
417
+ 0.10851799996363382,
418
+ 0.17803503365781362,
419
+ 0.1555896524596807,
420
+ 0.18820785764113224,
421
+ 0.24280354165733387,
422
+ 0.5021665894135083
423
+ ],
424
+ "teacher_dice_pool": null,
425
+ "evidence_fg_pixels": 3447972,
426
+ "evidence_nonempty_patches": 121,
427
+ "first_correction": false,
428
+ "restart": "",
429
+ "weights": [
430
+ 0.015380486145659464,
431
+ 0.8584998767475599,
432
+ 0.0021538308841062364,
433
+ 0.008410986483131318,
434
+ 0.033577567429096726,
435
+ 0.016624391153563504,
436
+ 0.020444259760168546,
437
+ 0.04490860139671429
438
+ ],
439
+ "ensemble_choice": "mixture",
440
+ "candidate_dice": {
441
+ "mixture": 0.5183846978967368,
442
+ "uniform": 0.1932272503274666,
443
+ "top1": 0.51830134874921,
444
+ "top2": 0.5188958884279018,
445
+ "top3": 0.5190050811393596
446
+ },
447
+ "pseudo_student_dice": 0.3690770983734586,
448
+ "pseudo_ensemble_dice": 0.5979417700316343,
449
+ "pseudo_source": "ensemble",
450
+ "consistency_scale": 1.0,
451
+ "val_dice": 0.6700320030612286,
452
+ "val_vi": 0.41596008318263494,
453
+ "val_ece": 0.0603106358419856
454
+ },
455
+ {
456
+ "round": 4,
457
+ "n_labeled": 196,
458
+ "selection_seconds": 8.9,
459
+ "round_seconds": 41.5,
460
+ "teacher_dice_labeled": [
461
+ 0.4521817725179459,
462
+ 0.5070976087675007,
463
+ 0.09348266121186623,
464
+ 0.17504878863175116,
465
+ 0.14020116045283942,
466
+ 0.17422245803812333,
467
+ 0.22538984408502558,
468
+ 0.490394045937209
469
+ ],
470
+ "teacher_dice_pool": null,
471
+ "evidence_fg_pixels": 4475353,
472
+ "evidence_nonempty_patches": 163,
473
+ "first_correction": false,
474
+ "restart": "",
475
+ "weights": [
476
+ 0.014804203531187304,
477
+ 0.8613454825173498,
478
+ 0.0020797365351979775,
479
+ 0.009161618543295417,
480
+ 0.03230816007313526,
481
+ 0.01622192158502868,
482
+ 0.01927698149206271,
483
+ 0.04480189572274281
484
+ ],
485
+ "ensemble_choice": "mixture",
486
+ "candidate_dice": {
487
+ "mixture": 0.506573562715877,
488
+ "uniform": 0.16827833119491115,
489
+ "top1": 0.5070976087675007,
490
+ "top2": 0.5079794458246457,
491
+ "top3": 0.5080628048620779
492
+ },
493
+ "pseudo_student_dice": 0.5709141779489735,
494
+ "pseudo_ensemble_dice": 0.4664405385589357,
495
+ "pseudo_source": "student",
496
+ "consistency_scale": 0.236,
497
+ "val_dice": 0.6299671169810852,
498
+ "val_vi": 0.5393323978378546,
499
+ "val_ece": 0.01660194871051421
500
+ },
501
+ {
502
+ "round": 5,
503
+ "n_labeled": 245,
504
+ "selection_seconds": 8.8,
505
+ "round_seconds": 126.3,
506
+ "teacher_dice_labeled": [
507
+ 0.4222786728452023,
508
+ 0.44601629440755297,
509
+ 0.11182095835834197,
510
+ 0.23742002382343114,
511
+ 0.2138810167448923,
512
+ 0.29239287155867766,
513
+ 0.36293542540080537,
514
+ 0.41378682372365055
515
+ ],
516
+ "teacher_dice_pool": [
517
+ 0.45211503388520596,
518
+ 0.4586268562508522,
519
+ 0.13206520212610942,
520
+ 0.3034451235507459,
521
+ 0.2853314220634787,
522
+ 0.4058655940805688,
523
+ 0.4968728262174501,
524
+ 0.40482826965176766
525
+ ],
526
+ "evidence_fg_pixels": 4632452,
527
+ "evidence_nonempty_patches": 192,
528
+ "first_correction": false,
529
+ "restart": "",
530
+ "weights": [
531
+ 0.015338916240729503,
532
+ 0.6534039312404931,
533
+ 0.003490821758896233,
534
+ 0.02388494131779684,
535
+ 0.09431416337331966,
536
+ 0.07389023085416159,
537
+ 0.10657836184751224,
538
+ 0.02909863336709079
539
+ ],
540
+ "ensemble_choice": "mixture",
541
+ "candidate_dice": {
542
+ "mixture": 0.450717108090974,
543
+ "uniform": 0.28857802117043396,
544
+ "top1": 0.44601629440755297,
545
+ "top2": 0.44629305482704884,
546
+ "top3": 0.44681775473389657
547
+ },
548
+ "pseudo_student_dice": 0.15691007580540497,
549
+ "pseudo_ensemble_dice": 0.06933827105338418,
550
+ "pseudo_source": "student",
551
+ "consistency_scale": 0.0,
552
+ "val_dice": 0.6217327713376608,
553
+ "val_vi": 0.5292694280761847,
554
+ "val_ece": 0.008471389509414293
555
+ },
556
+ {
557
+ "round": 6,
558
+ "n_labeled": 294,
559
+ "selection_seconds": 8.8,
560
+ "round_seconds": 130.4,
561
+ "teacher_dice_labeled": [
562
+ 0.4204763259856441,
563
+ 0.4391522114337465,
564
+ 0.10897358309180741,
565
+ 0.2540118077271043,
566
+ 0.20582054260607813,
567
+ 0.296415072255611,
568
+ 0.36062790679412976,
569
+ 0.4173540295143803
570
+ ],
571
+ "teacher_dice_pool": [
572
+ 0.4590040784121988,
573
+ 0.4673811142986949,
574
+ 0.12976248045272956,
575
+ 0.3033754435936046,
576
+ 0.2781588715045815,
577
+ 0.40047257679930554,
578
+ 0.490289506131676,
579
+ 0.42686846374501874
580
+ ],
581
+ "evidence_fg_pixels": 5289236,
582
+ "evidence_nonempty_patches": 229,
583
+ "first_correction": false,
584
+ "restart": "",
585
+ "weights": [
586
+ 0.01577566582337092,
587
+ 0.6388397404019729,
588
+ 0.003552893550954598,
589
+ 0.02952581508890634,
590
+ 0.09111528485345537,
591
+ 0.08055188987539245,
592
+ 0.10906066204483804,
593
+ 0.03157804836110938
594
+ ],
595
+ "ensemble_choice": "mixture",
596
+ "candidate_dice": {
597
+ "mixture": 0.44275603813402087,
598
+ "uniform": 0.28250357953908506,
599
+ "top1": 0.4391522114337465,
600
+ "top2": 0.4394290706035419,
601
+ "top3": 0.4402034746697075
602
+ },
603
+ "pseudo_student_dice": 0.43881066214162834,
604
+ "pseudo_ensemble_dice": 0.16880114668182505,
605
+ "pseudo_source": "student",
606
+ "consistency_scale": 0.0,
607
+ "val_dice": 0.7114711579891998,
608
+ "val_vi": 0.3985485231582955,
609
+ "val_ece": 0.002656605495560469
610
+ },
611
+ {
612
+ "round": 7,
613
+ "n_labeled": 294,
614
+ "selection_seconds": 0.0,
615
+ "round_seconds": 31.1,
616
+ "final_consolidation": true,
617
+ "val_dice": 0.7158009490992879,
618
+ "val_vi": 0.38461948070584473,
619
+ "val_ece": 0.016036664127452485
620
+ }
621
+ ],
622
+ "uncertainty_quality": {
623
+ "spearman_uncertainty_error": -0.24881207404064967,
624
+ "auroc_top20_error": 0.3594799622567608
625
+ },
626
+ "al_seconds": 559.0,
627
+ "source_archs": [
628
+ "unet",
629
+ "unet",
630
+ "unet",
631
+ "unet",
632
+ "unet",
633
+ "unet",
634
+ "unet",
635
+ "unet"
636
+ ],
637
+ "alphas_final": [
638
+ 0.01577566582337092,
639
+ 0.6388397404019729,
640
+ 0.003552893550954598,
641
+ 0.02952581508890634,
642
+ 0.09111528485345537,
643
+ 0.08055188987539245,
644
+ 0.10906066204483804,
645
+ 0.03157804836110938
646
+ ],
647
+ "weight_stats_final": {
648
+ "max_weight": 0.6388397404019729,
649
+ "entropy": 1.24771609642705,
650
+ "effective_sources": 3.4823804469747293,
651
+ "min_weight": 0.003552893550954598
652
+ },
653
+ "top_source_final": "dhanyasi-P14-mouse-cerebellum",
654
+ "ensemble_choice_final": "",
655
+ "restart": "kept",
656
+ "test_raw_student": {
657
+ "patch_dice": 0.7031837305499606,
658
+ "patch_iou": 0.6186873385247618,
659
+ "patch_precision": 0.7015658527093758,
660
+ "patch_recall": 0.8501698170797606,
661
+ "patch_vi": 0.35798487868286893,
662
+ "n_patches": 1300,
663
+ "cal_ece": 0.014296868795295074,
664
+ "cal_nll": 0.19317754581198462,
665
+ "cal_brier": 0.055458809854427006,
666
+ "cal_mean_confidence": 0.9406963579779875,
667
+ "cal_accuracy": 0.9263994891826923,
668
+ "cal_predicted_prevalence": 0.2381670673076923,
669
+ "cal_true_prevalence": 0.21078049879807692,
670
+ "cal_mean_probability": 0.2453708863664394
671
+ },
672
+ "test_notta": {
673
+ "patch_dice": 0.7031837305499606,
674
+ "patch_iou": 0.6186873385247618,
675
+ "patch_precision": 0.7015658527093758,
676
+ "patch_recall": 0.8501698170797606,
677
+ "patch_vi": 0.35798487868286893,
678
+ "n_patches": 1300,
679
+ "cal_ece": 0.014296868795295074,
680
+ "cal_nll": 0.19317754581198462,
681
+ "cal_brier": 0.055458809854427006,
682
+ "cal_mean_confidence": 0.9406963579779875,
683
+ "cal_accuracy": 0.9263994891826923,
684
+ "cal_predicted_prevalence": 0.2381670673076923,
685
+ "cal_true_prevalence": 0.21078049879807692,
686
+ "cal_mean_probability": 0.2453708863664394
687
+ },
688
+ "test": {
689
+ "patch_dice": 0.7253981718195581,
690
+ "patch_iou": 0.6455533937479556,
691
+ "patch_precision": 0.7364661124292978,
692
+ "patch_recall": 0.8468879653434368,
693
+ "patch_vi": 0.33066736927078855,
694
+ "n_patches": 1300,
695
+ "image_dice": 0.8376132017999095,
696
+ "image_iou": 0.7338580259277356,
697
+ "image_precision": 0.8064019432082945,
698
+ "image_recall": 0.8948911544055365,
699
+ "image_vi": 0.3832235482166312,
700
+ "n_images": 52,
701
+ "cal_ece": 0.0032693595258011564,
702
+ "cal_nll": 0.17391863248092237,
703
+ "cal_brier": 0.05027658671011288,
704
+ "cal_mean_confidence": 0.9338601700799212,
705
+ "cal_accuracy": 0.9332977764423077,
706
+ "cal_predicted_prevalence": 0.23124924879807693,
707
+ "cal_true_prevalence": 0.21078049879807692,
708
+ "cal_mean_probability": 0.2435347047852322
709
+ },
710
+ "eval_seconds": 20.2,
711
+ "total_seconds": 943.0,
712
+ "resources": {
713
+ "phases": {
714
+ "setup": {
715
+ "seconds": 1.13,
716
+ "peak_cpu_rss_mb": 1027.7,
717
+ "peak_gpu_alloc_mb": 1066.3,
718
+ "peak_gpu_reserved_mb": 1086.0
719
+ },
720
+ "features_and_weights": {
721
+ "seconds": 31.55,
722
+ "peak_cpu_rss_mb": 1809.5,
723
+ "peak_gpu_alloc_mb": 2820.1,
724
+ "peak_gpu_reserved_mb": 3212.0
725
+ },
726
+ "distillation": {
727
+ "seconds": 328.93,
728
+ "peak_cpu_rss_mb": 3677.4,
729
+ "peak_gpu_alloc_mb": 4303.7,
730
+ "peak_gpu_reserved_mb": 4638.0,
731
+ "kd_epochs": 5
732
+ },
733
+ "active_learning": {
734
+ "seconds": 559.03,
735
+ "peak_cpu_rss_mb": 3677.4,
736
+ "peak_gpu_alloc_mb": 4424.0,
737
+ "peak_gpu_reserved_mb": 4646.0,
738
+ "rounds": 6
739
+ },
740
+ "inference": {
741
+ "seconds": 20.19,
742
+ "peak_cpu_rss_mb": 3677.4,
743
+ "peak_gpu_alloc_mb": 2623.4,
744
+ "peak_gpu_reserved_mb": 4646.0,
745
+ "patches": 1300,
746
+ "images": 52,
747
+ "patches_per_second": 64.4,
748
+ "seconds_per_image": 0.388
749
+ }
750
+ },
751
+ "peak_gpu_alloc_mb": 4424.0,
752
+ "peak_cpu_rss_mb": 3677.4,
753
+ "total_seconds": 940.8
754
+ },
755
+ "student_parameters": 31042369,
756
+ "teacher_parameters": [
757
+ 31042369,
758
+ 31042369,
759
+ 31042369,
760
+ 31042369,
761
+ 31042369,
762
+ 31042369,
763
+ 31042369,
764
+ 31042369
765
+ ],
766
+ "checkpoint": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/whole-mouse-brain/macs-v11-norestart-acq-margin_b5_s3.pth"
767
+ }
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-margin/budget-5/seed-3/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,32.3,157.5,"[0.36738741011177045, 0.34973487377165097, 0.14100291682142935, 0.2353012898060949, 0.30996524321190877, 0.38452188964078277, 0.47067622607709797, 0.25385926187706875]",,640544,39,True,kept,0.3843282859342692,0.47067622607709797,"[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]",top1,"{'mixture': 0.43280781937383384, 'uniform': 0.43493152236966137, 'top1': 0.47067622607709797, 'top2': 0.44454578875106776, 'top3': 0.4462152205328611}",0.6423608970665755,0.4583910108960369,0.018296731206981286,,,,,
3
+ 2,98,9.0,26.2,"[0.4790010720265582, 0.4471774808650101, 0.1635805331835569, 0.2126323076912074, 0.22214865194975508, 0.2548709404689054, 0.3297295554084256, 0.43233750559567696]",,1973085,84,False,,,,"[1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.44770498278126886, 'uniform': 0.2748470197475036, 'top1': 0.4790010720265582, 'top2': 0.4485533237171078, 'top3': 0.4488417346971152}",0.6498913510594475,0.4739385598038719,0.03870070742571032,0.5707606242464341,0.5629199461807312,ensemble,1.0,
4
+ 3,147,8.9,32.2,"[0.4675352679158566, 0.51830134874921, 0.10851799996363382, 0.17803503365781362, 0.1555896524596807, 0.18820785764113224, 0.24280354165733387, 0.5021665894135083]",,3447972,121,False,,,,"[0.015380486145659464, 0.8584998767475599, 0.0021538308841062364, 0.008410986483131318, 0.033577567429096726, 0.016624391153563504, 0.020444259760168546, 0.04490860139671429]",mixture,"{'mixture': 0.5183846978967368, 'uniform': 0.1932272503274666, 'top1': 0.51830134874921, 'top2': 0.5188958884279018, 'top3': 0.5190050811393596}",0.6700320030612286,0.41596008318263494,0.0603106358419856,0.3690770983734586,0.5979417700316343,ensemble,1.0,
5
+ 4,196,8.9,41.5,"[0.4521817725179459, 0.5070976087675007, 0.09348266121186623, 0.17504878863175116, 0.14020116045283942, 0.17422245803812333, 0.22538984408502558, 0.490394045937209]",,4475353,163,False,,,,"[0.014804203531187304, 0.8613454825173498, 0.0020797365351979775, 0.009161618543295417, 0.03230816007313526, 0.01622192158502868, 0.01927698149206271, 0.04480189572274281]",mixture,"{'mixture': 0.506573562715877, 'uniform': 0.16827833119491115, 'top1': 0.5070976087675007, 'top2': 0.5079794458246457, 'top3': 0.5080628048620779}",0.6299671169810852,0.5393323978378546,0.01660194871051421,0.5709141779489735,0.4664405385589357,student,0.236,
6
+ 5,245,8.8,126.3,"[0.4222786728452023, 0.44601629440755297, 0.11182095835834197, 0.23742002382343114, 0.2138810167448923, 0.29239287155867766, 0.36293542540080537, 0.41378682372365055]","[0.45211503388520596, 0.4586268562508522, 0.13206520212610942, 0.3034451235507459, 0.2853314220634787, 0.4058655940805688, 0.4968728262174501, 0.40482826965176766]",4632452,192,False,,,,"[0.015338916240729503, 0.6534039312404931, 0.003490821758896233, 0.02388494131779684, 0.09431416337331966, 0.07389023085416159, 0.10657836184751224, 0.02909863336709079]",mixture,"{'mixture': 0.450717108090974, 'uniform': 0.28857802117043396, 'top1': 0.44601629440755297, 'top2': 0.44629305482704884, 'top3': 0.44681775473389657}",0.6217327713376608,0.5292694280761847,0.008471389509414293,0.15691007580540497,0.06933827105338418,student,0.0,
7
+ 6,294,8.8,130.4,"[0.4204763259856441, 0.4391522114337465, 0.10897358309180741, 0.2540118077271043, 0.20582054260607813, 0.296415072255611, 0.36062790679412976, 0.4173540295143803]","[0.4590040784121988, 0.4673811142986949, 0.12976248045272956, 0.3033754435936046, 0.2781588715045815, 0.40047257679930554, 0.490289506131676, 0.42686846374501874]",5289236,229,False,,,,"[0.01577566582337092, 0.6388397404019729, 0.003552893550954598, 0.02952581508890634, 0.09111528485345537, 0.08055188987539245, 0.10906066204483804, 0.03157804836110938]",mixture,"{'mixture': 0.44275603813402087, 'uniform': 0.28250357953908506, 'top1': 0.4391522114337465, 'top2': 0.4394290706035419, 'top3': 0.4402034746697075}",0.7114711579891998,0.3985485231582955,0.002656605495560469,0.43881066214162834,0.16880114668182505,student,0.0,
8
+ 7,294,0.0,31.1,,,,,,,,,,,,0.7158009490992879,0.38461948070584473,0.016036664127452485,,,,,True
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [05:58:12][ 0s][START] target=whole-mouse-brain variant=macs-v11-norestart-acq-mcdropout budget=5.0% seed=2 | {"task": "membrane", "target": "whole-mouse-brain", "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": 5, "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
+ [05:58:12][ 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:58:12][ 0s][DATA] whole-mouse-brain: train=5925 val=1250 test=1300 patches
4
+ [05:58:14][ 1s][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
+ [05:58:14][ 2s][FEATURES] 72 domain x encoder feature sets (72 cached) | n=512/domain | 1s
6
+ [05:58:20][ 8s][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
+ [05:58:20][ 8s][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
+ [05:58:44][ 32s][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
+ [05:58:44][ 32s][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
+ [05:58:44][ 32s][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
+ [05:58:44][ 32s][INIT] student initialised from teacher microns (weight 0.376)
12
+ [05:58:45][ 33s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [05:58:45][ 33s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [05:59:53][ 100s][KD] soft labels for 5925 patches from 8 teachers in 67s
15
+ [06:00:45][ 153s][KD] epoch 1/5 | patches=5925 | loss=0.6663 | 52s
16
+ [06:01:38][ 205s][KD] epoch 2/5 | patches=5925 | loss=0.4936 | 52s
17
+ [06:02:30][ 258s][KD] epoch 3/5 | patches=5925 | loss=0.4654 | 52s
18
+ [06:03:21][ 309s][KD] epoch 4/5 | patches=5925 | loss=0.4610 | 51s
19
+ [06:04:13][ 360s][KD] epoch 5/5 | patches=5925 | loss=0.4566 | 52s
20
+ [06:04:15][ 362s][ROUND0] before any target label: val_dice=0.3948 val_vi=0.5092
21
+ [06:04:15][ 362s][AL] patches=5925 (pool 5925 after dropping blank; free blank negatives: True) | budget=296 (5.0%) | rounds=6 | per_round=49 | acquisition=mcdropout | first_round=stratified
22
+ [06:04:26][ 373s][AL] round-1 uncertainty quality on 5925 patches: {'spearman_uncertainty_error': -0.20304753183898672, 'auroc_top20_error': 0.41592640068365117}
23
+ [06:04:49][ 396s][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
+ [06:04:51][ 399s][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
+ [06:04:52][ 399s][WEIGHTS] round 1: student kept (labeled Dice 0.302 vs best teacher oct-sfl 0.453); distilling the corrected ensemble into it
26
+ [06:04:52][ 399s][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
+ [06:05:09][ 417s][KD] soft labels for 5876 patches from 8 teachers in 17s
28
+ [06:06:00][ 468s][KD] epoch 1/2 | patches=5876 | loss=0.2661 | 51s
29
+ [06:06:52][ 520s][KD] epoch 2/2 | patches=5876 | loss=0.2587 | 52s
30
+ [06:06:58][ 525s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 6s
31
+ [06:06:59][ 527s][FT] round 1/6 epoch 1/5 | patches=49 | loss=1.4576
32
+ [06:07:00][ 528s][FT] round 1/6 epoch 2/5 | patches=49 | loss=1.2015
33
+ [06:07:02][ 529s][FT] round 1/6 epoch 3/5 | patches=49 | loss=1.1189
34
+ [06:07:03][ 531s][FT] round 1/6 epoch 4/5 | patches=49 | loss=0.9829
35
+ [06:07:04][ 532s][FT] round 1/6 epoch 5/5 | patches=49 | loss=1.0922
36
+ [06:07:06][ 534s][AL] round 1/6 | labeled=49 | selection_seconds=34.0000 round_seconds=169.4000 restart_student_dice=0.3018 restart_teacher_dice=0.4531 val_dice=0.6500 val_vi=0.4698 val_ece=0.0157
37
+ [06:07:17][ 545s][AL] round 2: 477/5876 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [06:07:22][ 549s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.411, uniform=0.230, top1=0.414, top2=0.414, top3=0.414 -> using mixture
39
+ [06:07:22][ 549s][WEIGHTS] round 2: teacher Dice on 98 labeled patches + 0 blank (1552702 fg px): c-elegans=0.366, cerebellum=0.414, flywire=0.094, berghia=0.242, microns=0.154, oct-glia=0.249, oct-sfl=0.298, snemi=0.355 | weights: c-elegans=0.013, cerebellum=0.695, flywire=0.004, berghia=0.037, microns=0.076, oct-glia=0.070, oct-sfl=0.082, snemi=0.024
40
+ [06:07:27][ 555s][CONS] round 2: on the 49 new patches student Dice=0.533 vs ensemble 0.450 -> pseudo-labels from the student | consistency x0.11
41
+ [06:07:29][ 557s][FT] round 2/6 epoch 1/5 | patches=98 | loss=1.2128
42
+ [06:07:31][ 559s][FT] round 2/6 epoch 2/5 | patches=98 | loss=1.1617
43
+ [06:07:33][ 561s][FT] round 2/6 epoch 3/5 | patches=98 | loss=1.1708
44
+ [06:07:35][ 563s][FT] round 2/6 epoch 4/5 | patches=98 | loss=1.1620
45
+ [06:07:37][ 565s][FT] round 2/6 epoch 5/5 | patches=98 | loss=1.0921
46
+ [06:07:39][ 567s][AL] round 2/6 | labeled=98 | selection_seconds=10.9000 round_seconds=31.3000 pseudo_student_dice=0.5334 pseudo_ensemble_dice=0.4504 consistency_scale=0.1110 val_dice=0.6392 val_vi=0.5097 val_ece=0.0480
47
+ [06:07:50][ 578s][AL] round 3: 542/5827 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [06:08:40][ 628s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.425, cerebellum=0.432, flywire=0.134, berghia=0.279, microns=0.286, oct-glia=0.402, oct-sfl=0.503, snemi=0.374 | blended with labeled Dice at 0.50
49
+ [06:09:26][ 674s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.406, uniform=0.302, top1=0.385, top2=0.401, top3=0.401 -> using mixture
50
+ [06:09:26][ 674s][WEIGHTS] round 3: teacher Dice on 147 labeled patches + 0 blank (2045013 fg px): c-elegans=0.368, cerebellum=0.385, flywire=0.104, berghia=0.247, microns=0.216, oct-glia=0.308, oct-sfl=0.377, snemi=0.350 | weights: c-elegans=0.012, cerebellum=0.497, flywire=0.005, berghia=0.037, microns=0.135, oct-glia=0.121, oct-sfl=0.171, snemi=0.021
51
+ [06:09:31][ 679s][CONS] round 3: on the 49 new patches student Dice=0.321 vs ensemble 0.316 -> pseudo-labels from the student | consistency x0.00
52
+ [06:09:33][ 681s][FT] round 3/6 epoch 1/5 | patches=147 | loss=1.1314
53
+ [06:09:34][ 682s][FT] round 3/6 epoch 2/5 | patches=147 | loss=1.1234
54
+ [06:09:36][ 684s][FT] round 3/6 epoch 3/5 | patches=147 | loss=1.0685
55
+ [06:09:37][ 685s][FT] round 3/6 epoch 4/5 | patches=147 | loss=1.0192
56
+ [06:09:39][ 687s][FT] round 3/6 epoch 5/5 | patches=147 | loss=1.0596
57
+ [06:09:41][ 688s][AL] round 3/6 | labeled=147 | selection_seconds=10.8000 round_seconds=119.4000 pseudo_student_dice=0.3206 pseudo_ensemble_dice=0.3164 consistency_scale=0.0000 val_dice=0.6527 val_vi=0.4833 val_ece=0.0120
58
+ [06:09:51][ 699s][AL] round 4: 486/5778 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [06:10:42][ 750s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.429, cerebellum=0.420, flywire=0.147, berghia=0.276, microns=0.315, oct-glia=0.427, oct-sfl=0.522, snemi=0.351 | blended with labeled Dice at 0.50
60
+ [06:11:30][ 798s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.375, uniform=0.314, top1=0.387, top2=0.390, top3=0.394 -> using top3
61
+ [06:11:30][ 798s][WEIGHTS] round 4: teacher Dice on 196 labeled patches + 0 blank (2546814 fg px): c-elegans=0.367, cerebellum=0.364, flywire=0.108, berghia=0.253, microns=0.226, oct-glia=0.320, oct-sfl=0.387, snemi=0.331 | weights: c-elegans=0.020, cerebellum=0.665, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.315, snemi=0.000
62
+ [06:11:35][ 803s][CONS] round 4: on the 49 new patches student Dice=0.372 vs ensemble 0.243 -> pseudo-labels from the student | consistency x0.00
63
+ [06:11:37][ 805s][FT] round 4/6 epoch 1/5 | patches=196 | loss=1.1221
64
+ [06:11:39][ 806s][FT] round 4/6 epoch 2/5 | patches=196 | loss=1.1144
65
+ [06:11:41][ 808s][FT] round 4/6 epoch 3/5 | patches=196 | loss=1.0672
66
+ [06:11:43][ 810s][FT] round 4/6 epoch 4/5 | patches=196 | loss=1.0260
67
+ [06:11:44][ 812s][FT] round 4/6 epoch 5/5 | patches=196 | loss=1.0100
68
+ [06:11:46][ 814s][AL] round 4/6 | labeled=196 | selection_seconds=10.7000 round_seconds=123.8000 pseudo_student_dice=0.3715 pseudo_ensemble_dice=0.2432 consistency_scale=0.0000 val_dice=0.7141 val_vi=0.3944 val_ece=0.0050
69
+ [06:11:57][ 824s][AL] round 5: 847/5729 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [06:12:49][ 877s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.375, cerebellum=0.383, flywire=0.160, berghia=0.253, microns=0.320, oct-glia=0.437, oct-sfl=0.518, snemi=0.281 | blended with labeled Dice at 0.50
71
+ [06:13:38][ 925s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.360, uniform=0.321, top1=0.384, top2=0.386, top3=0.384 -> using top3
72
+ [06:13:38][ 925s][WEIGHTS] round 5: teacher Dice on 245 labeled patches + 0 blank (3577893 fg px): c-elegans=0.350, cerebellum=0.348, flywire=0.116, berghia=0.262, microns=0.226, oct-glia=0.332, oct-sfl=0.384, snemi=0.313 | weights: c-elegans=0.019, cerebellum=0.639, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.341, snemi=0.000
73
+ [06:13:43][ 930s][CONS] round 5: on the 49 new patches student Dice=0.588 vs ensemble 0.292 -> pseudo-labels from the student | consistency x0.29
74
+ [06:13:47][ 935s][FT] round 5/6 epoch 1/5 | patches=245 | loss=1.0574
75
+ [06:13:52][ 939s][FT] round 5/6 epoch 2/5 | patches=245 | loss=1.0164
76
+ [06:13:56][ 944s][FT] round 5/6 epoch 3/5 | patches=245 | loss=0.9954
77
+ [06:14:01][ 948s][FT] round 5/6 epoch 4/5 | patches=245 | loss=0.9892
78
+ [06:14:05][ 953s][FT] round 5/6 epoch 5/5 | patches=245 | loss=0.9721
79
+ [06:14:07][ 955s][AL] round 5/6 | labeled=245 | selection_seconds=10.6000 round_seconds=138.8000 pseudo_student_dice=0.5885 pseudo_ensemble_dice=0.2919 consistency_scale=0.2950 val_dice=0.7095 val_vi=0.3976 val_ece=0.0023
80
+ [06:14:17][ 965s][AL] round 6: 650/5680 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [06:15:11][ 1018s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: c-elegans=0.375, cerebellum=0.365, flywire=0.158, berghia=0.262, microns=0.330, oct-glia=0.464, oct-sfl=0.533, snemi=0.281 | blended with labeled Dice at 0.50
82
+ [06:16:00][ 1068s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.365, uniform=0.322, top1=0.385, top2=0.387, top3=0.392 -> using top3
83
+ [06:16:00][ 1068s][WEIGHTS] round 6: teacher Dice on 294 labeled patches + 0 blank (4756463 fg px): c-elegans=0.365, cerebellum=0.359, flywire=0.110, berghia=0.258, microns=0.223, oct-glia=0.340, oct-sfl=0.385, snemi=0.331 | weights: c-elegans=0.021, cerebellum=0.659, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.320, snemi=0.000
84
+ [06:16:06][ 1073s][CONS] round 6: on the 49 new patches student Dice=0.540 vs ensemble 0.578 -> pseudo-labels from the student | consistency x0.13
85
+ [06:16:11][ 1079s][FT] round 6/6 epoch 1/5 | patches=294 | loss=1.0482
86
+ [06:16:16][ 1084s][FT] round 6/6 epoch 2/5 | patches=294 | loss=1.0003
87
+ [06:16:22][ 1089s][FT] round 6/6 epoch 3/5 | patches=294 | loss=0.9577
88
+ [06:16:27][ 1095s][FT] round 6/6 epoch 4/5 | patches=294 | loss=0.9268
89
+ [06:16:32][ 1100s][FT] round 6/6 epoch 5/5 | patches=294 | loss=0.8717
90
+ [06:16:34][ 1102s][AL] round 6/6 | labeled=294 | selection_seconds=10.6000 round_seconds=145.1000 pseudo_student_dice=0.5404 pseudo_ensemble_dice=0.5780 consistency_scale=0.1350 val_dice=0.7143 val_vi=0.4083 val_ece=0.0072
91
+ [06:16:37][ 1105s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [06:16:43][ 1110s][FT] final 1/10 epoch 1/1 | patches=294 | loss=0.8734
93
+ [06:16:48][ 1116s][FT] final 2/10 epoch 1/1 | patches=294 | loss=0.9310
94
+ [06:16:53][ 1121s][FT] final 3/10 epoch 1/1 | patches=294 | loss=0.8816
95
+ [06:16:59][ 1126s][FT] final 4/10 epoch 1/1 | patches=294 | loss=0.8120
96
+ [06:17:04][ 1132s][FT] final 5/10 epoch 1/1 | patches=294 | loss=0.7529
97
+ [06:17:09][ 1137s][FT] final 6/10 epoch 1/1 | patches=294 | loss=0.7757
98
+ [06:17:15][ 1142s][FT] final 7/10 epoch 1/1 | patches=294 | loss=0.7468
99
+ [06:17:20][ 1148s][FT] final 8/10 epoch 1/1 | patches=294 | loss=0.7143
100
+ [06:17:25][ 1153s][FT] final 9/10 epoch 1/1 | patches=294 | loss=0.6793
101
+ [06:17:31][ 1158s][FT] final 10/10 epoch 1/1 | patches=294 | loss=0.7078
102
+ [06:17:33][ 1161s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=56.6000 val_dice=0.7309 val_vi=0.3714 val_ece=0.0158
103
+ [06:17:33][ 1161s][WEIGHTS] final: c-elegans=0.021, cerebellum=0.659, flywire=0.000, berghia=0.000, microns=0.000, oct-glia=0.000, oct-sfl=0.320, snemi=0.000
104
+ [06:17:51][ 1178s][TEST] raw student (no EMA, no TTA): patch_dice=0.7117 patch_vi=0.3410
105
+ [06:17:53][ 1181s][TEST] final model without TTA: patch_dice=0.7117 patch_vi=0.3410
106
+ [06:17:53][ 1181s][RESOURCES] {"phases": {"setup": {"seconds": 1.15, "peak_cpu_rss_mb": 1027.9, "peak_gpu_alloc_mb": 1066.3, "peak_gpu_reserved_mb": 1086.0}, "features_and_weights": {"seconds": 31.61, "peak_cpu_rss_mb": 1801.2, "peak_gpu_alloc_mb": 2820.1, "peak_gpu_reserved_mb": 3212.0}, "distillation": {"seconds": 327.55, "peak_cpu_rss_mb": 3676.1, "peak_gpu_alloc_mb": 4303.7, "peak_gpu_reserved_mb": 4638.0, "kd_epochs": 5}, "active_learning": {"seconds": 798.09, "peak_cpu_rss_mb": 3676.1, "peak_gpu_alloc_mb": 4424.0, "peak_gpu_reserved_mb": 4648.0, "rounds": 6}, "inference": {"seconds": 20.38, "peak_cpu_rss_mb": 3676.1, "peak_gpu_alloc_mb": 2623.4, "peak_gpu_reserved_mb": 4648.0, "patches": 1300, "images": 52, "patches_per_second": 63.8, "seconds_per_image": 0.392}}, "peak_gpu_alloc_mb": 4424.0, "peak_cpu_rss_mb": 3676.1, "total_seconds": 1178.8}
107
+ [06:17:53][ 1181s][TEST] patch_dice=0.7329 patch_iou=0.6539 patch_precision=0.7795 patch_recall=0.8102 patch_vi=0.3151 image_dice=0.8398 image_iou=0.7371 image_precision=0.8421 image_recall=0.8598 image_vi=0.3651 cal_ece=0.0033 cal_nll=0.1590 cal_brier=0.0466 cal_mean_confidence=0.9397 cal_accuracy=0.9366 cal_predicted_prevalence=0.2156 cal_true_prevalence=0.2108 cal_mean_probability=0.2234
108
+ [06:17:53][ 1181s][DONE] whole-mouse-brain macs-v11-norestart-acq-mcdropout b5 s2 | test patch Dice=0.7329 VI=0.3151 | image Dice=0.8398 VI=0.3651 | 1181s
macs_v2_r26/runs/membrane/whole-mouse-brain/macs-v11-norestart-acq-mcdropout/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,785 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "whole-mouse-brain",
3
+ "variant": "macs-v11-norestart-acq-mcdropout",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "membrane",
8
+ "target": "whole-mouse-brain",
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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "whole-mouse-brain",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-mcdropout",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "5",
131
+ "--output-dir",
132
+ "experiments/macs_v2/outputs-v3",
133
+ "--output-dir",
134
+ "experiments/macs_v2/outputs-r26"
135
+ ],
136
+ "cwd": "/home/user/connectomics/MACS-2",
137
+ "gpu": "NVIDIA GeForce RTX 4090",
138
+ "cuda": "13.0",
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.007617762850063339,
154
+ 0.2559312601209969,
155
+ 0.03865993944852264,
156
+ 0.07533345106002441,
157
+ 0.3764169834180784,
158
+ 0.13449516240019677,
159
+ 0.09581340232315401,
160
+ 0.0157320383789636
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.007617762850063339,
175
+ 0.2559312601209969,
176
+ 0.03865993944852264,
177
+ 0.07533345106002441,
178
+ 0.3764169834180784,
179
+ 0.13449516240019677,
180
+ 0.09581340232315401,
181
+ 0.0157320383789636
182
+ ],
183
+ "per_source": [
184
+ 0.1450746039368088,
185
+ 0.041950766450651496,
186
+ 0.0008814721099573598,
187
+ 0.1418325124471684,
188
+ 0.02035312744213396,
189
+ 0.4023730240336797,
190
+ 0.24338555075976573,
191
+ 0.004148942819834595
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.11311670518772092,
205
+ "mmd2_mixture": 0.12945823384265215,
206
+ "mmd2_uniform": 0.155288743679944,
207
+ "mmd2_single_source": [
208
+ 0.38071639717042494,
209
+ 0.17697894982207135,
210
+ 0.3194061281637849,
211
+ 0.24037642211575033,
212
+ 0.16266554797152122,
213
+ 0.2734526560532348,
214
+ 0.2563986706812869,
215
+ 0.2660414632502267
216
+ ],
217
+ "median_squared_distance": 0.18592532667757627,
218
+ "gammas": [
219
+ 1.3446258477390725,
220
+ 2.689251695478145,
221
+ 5.37850339095629,
222
+ 10.75700678191258,
223
+ 21.51401356382516
224
+ ],
225
+ "max_weight": 0.3764169834180784,
226
+ "entropy": 1.6341528654931232,
227
+ "effective_sources": 5.125114496180783,
228
+ "min_weight": 0.007617762850063339
229
+ },
230
+ "per_source_info": {
231
+ "mmd2_own_rkhs": [
232
+ 0.33220085501273156,
233
+ 0.46442573060595516,
234
+ 0.8760630244687474,
235
+ 0.33460943356720163,
236
+ 0.5415026072699861,
237
+ 0.2234870921926152,
238
+ 0.2770625113402161,
239
+ 0.7109869456345189
240
+ ],
241
+ "standardized": [
242
+ -0.6467275403932012,
243
+ -0.02635183204683673,
244
+ 1.9049774780863755,
245
+ -0.6354269162093369,
246
+ 0.33527922824378936,
247
+ -1.1567932698101913,
248
+ -0.9054268876938927,
249
+ 1.130469739823295
250
+ ],
251
+ "tau": 0.5,
252
+ "max_weight": 0.4023730240336797,
253
+ "entropy": 1.508581788687784,
254
+ "effective_sources": 4.520315483702711,
255
+ "min_weight": 0.0008814721099573598
256
+ },
257
+ "lam": 0.01,
258
+ "tau": 0.5,
259
+ "single_mmd_source": "octopus-vulgaris-vertical-lobe-glia-deep-neuropil",
260
+ "seconds": 6.2
261
+ },
262
+ "teacher_diagnostics": {
263
+ "teacher_val_dice": [
264
+ 0.38573376502042933,
265
+ 0.31643357804427197,
266
+ 0.10997258971952562,
267
+ 0.2588485480329741,
268
+ 0.3288178379711084,
269
+ 0.4072116167356654,
270
+ 0.4397876396557443,
271
+ 0.30535999081848075
272
+ ],
273
+ "ensemble_val_dice": {
274
+ "mixture": 0.3845088921696238,
275
+ "mixture@raw": 0.3998907914691259,
276
+ "mixture@logit": 0.3802050170706561,
277
+ "per_source": 0.4199022574247113,
278
+ "per_source@raw": 0.42186088103254527,
279
+ "per_source@logit": 0.41929713845028616,
280
+ "uniform": 0.4128319943503538,
281
+ "uniform@raw": 0.3877140229453584,
282
+ "uniform@logit": 0.4054972948683435
283
+ },
284
+ "val_patches": 1024
285
+ },
286
+ "temperatures": [
287
+ 2.575807571411133,
288
+ 4.557675361633301,
289
+ 1.990083932876587,
290
+ 8.0,
291
+ 1.9150984287261963,
292
+ 2.5513463020324707,
293
+ 2.6421806812286377,
294
+ 3.5461363792419434
295
+ ],
296
+ "top_source": "microns_basil",
297
+ "weight_stats": {
298
+ "max_weight": 0.3764169834180784,
299
+ "entropy": 1.6341528654931232,
300
+ "effective_sources": 5.125114496180783,
301
+ "min_weight": 0.007617762850063339
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": 327.6,
313
+ "round0_val": {
314
+ "val_dice": 0.3947513405618871,
315
+ "val_vi": 0.5091646853725434,
316
+ "val_ece": 0.14075125837595415
317
+ },
318
+ "rounds": [
319
+ {
320
+ "round": 1,
321
+ "n_labeled": 49,
322
+ "selection_seconds": 34.0,
323
+ "round_seconds": 169.4,
324
+ "teacher_dice_labeled": [
325
+ 0.4166773458661978,
326
+ 0.35928987385280325,
327
+ 0.153101914721845,
328
+ 0.3102874105923009,
329
+ 0.24827571594727177,
330
+ 0.40443287728637833,
331
+ 0.45309617093263127,
332
+ 0.3151852254719067
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.30178618768780596,
340
+ "restart_teacher_dice": 0.45309617093263127,
341
+ "weights": [
342
+ 0.0523462898796494,
343
+ 0.0,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0,
347
+ 0.0,
348
+ 0.9476537101203506,
349
+ 0.0
350
+ ],
351
+ "ensemble_choice": "top2",
352
+ "candidate_dice": {
353
+ "mixture": 0.41707851191221385,
354
+ "uniform": 0.3962786850936092,
355
+ "top1": 0.45309617093263127,
356
+ "top2": 0.4560007178672816,
357
+ "top3": 0.4242840493249194
358
+ },
359
+ "val_dice": 0.649954056799635,
360
+ "val_vi": 0.46975670281025395,
361
+ "val_ece": 0.015682493902244875
362
+ },
363
+ {
364
+ "round": 2,
365
+ "n_labeled": 98,
366
+ "selection_seconds": 10.9,
367
+ "round_seconds": 31.3,
368
+ "teacher_dice_labeled": [
369
+ 0.36611084588621456,
370
+ 0.41390494215223367,
371
+ 0.09410596399488945,
372
+ 0.24220693615965957,
373
+ 0.15365108848199444,
374
+ 0.24885494485948062,
375
+ 0.29824941598594545,
376
+ 0.355243465280686
377
+ ],
378
+ "teacher_dice_pool": null,
379
+ "evidence_fg_pixels": 1552702,
380
+ "evidence_nonempty_patches": 76,
381
+ "first_correction": false,
382
+ "restart": "",
383
+ "weights": [
384
+ 0.012823011947318825,
385
+ 0.6947891955189256,
386
+ 0.004286685040611986,
387
+ 0.036731834491645354,
388
+ 0.07570608809152632,
389
+ 0.07008633566128063,
390
+ 0.08182206111278438,
391
+ 0.023754788135906927
392
+ ],
393
+ "ensemble_choice": "mixture",
394
+ "candidate_dice": {
395
+ "mixture": 0.41136455031192193,
396
+ "uniform": 0.2299235728798188,
397
+ "top1": 0.41390494215223367,
398
+ "top2": 0.4141551875692704,
399
+ "top3": 0.4140180268546756
400
+ },
401
+ "pseudo_student_dice": 0.5334437898129569,
402
+ "pseudo_ensemble_dice": 0.4503609960060156,
403
+ "pseudo_source": "student",
404
+ "consistency_scale": 0.111,
405
+ "val_dice": 0.6391891344279756,
406
+ "val_vi": 0.5097387246188724,
407
+ "val_ece": 0.04795928938682097
408
+ },
409
+ {
410
+ "round": 3,
411
+ "n_labeled": 147,
412
+ "selection_seconds": 10.8,
413
+ "round_seconds": 119.4,
414
+ "teacher_dice_labeled": [
415
+ 0.36768339021727037,
416
+ 0.3852192186783384,
417
+ 0.10416450316146425,
418
+ 0.24673547320391392,
419
+ 0.2164043919966956,
420
+ 0.3083610023527579,
421
+ 0.37673879727901105,
422
+ 0.34984706011994526
423
+ ],
424
+ "teacher_dice_pool": [
425
+ 0.4249715484975724,
426
+ 0.43163808487226474,
427
+ 0.13402683120843648,
428
+ 0.27919123067816787,
429
+ 0.28581213424874735,
430
+ 0.4018351343096836,
431
+ 0.5029478154698421,
432
+ 0.3738482728359761
433
+ ],
434
+ "evidence_fg_pixels": 2045013,
435
+ "evidence_nonempty_patches": 111,
436
+ "first_correction": false,
437
+ "restart": "",
438
+ "weights": [
439
+ 0.012424062776149956,
440
+ 0.49741245892995734,
441
+ 0.004521154756190894,
442
+ 0.03665674701240556,
443
+ 0.13524121291846142,
444
+ 0.12120177924292354,
445
+ 0.17107619568913765,
446
+ 0.02146638867477356
447
+ ],
448
+ "ensemble_choice": "mixture",
449
+ "candidate_dice": {
450
+ "mixture": 0.40562761102178846,
451
+ "uniform": 0.3019242904620139,
452
+ "top1": 0.3852192186783384,
453
+ "top2": 0.40122242697931965,
454
+ "top3": 0.40084130714444877
455
+ },
456
+ "pseudo_student_dice": 0.3206224561686304,
457
+ "pseudo_ensemble_dice": 0.31636739169836314,
458
+ "pseudo_source": "student",
459
+ "consistency_scale": 0.0,
460
+ "val_dice": 0.6526551922105499,
461
+ "val_vi": 0.48330637836874146,
462
+ "val_ece": 0.01201782947328647
463
+ },
464
+ {
465
+ "round": 4,
466
+ "n_labeled": 196,
467
+ "selection_seconds": 10.7,
468
+ "round_seconds": 123.8,
469
+ "teacher_dice_labeled": [
470
+ 0.3669733595372897,
471
+ 0.3639770152858429,
472
+ 0.10806844150474738,
473
+ 0.25307971683616926,
474
+ 0.22584242770873106,
475
+ 0.320093417456483,
476
+ 0.38747785383420064,
477
+ 0.3311470636749818
478
+ ],
479
+ "teacher_dice_pool": [
480
+ 0.42873382874298777,
481
+ 0.4201025611225556,
482
+ 0.1465960471130387,
483
+ 0.27571882770491135,
484
+ 0.3152241379813523,
485
+ 0.4274018046756167,
486
+ 0.5223327910218584,
487
+ 0.3509337191657171
488
+ ],
489
+ "evidence_fg_pixels": 2546814,
490
+ "evidence_nonempty_patches": 151,
491
+ "first_correction": false,
492
+ "restart": "",
493
+ "weights": [
494
+ 0.020389457321379638,
495
+ 0.6647963031539222,
496
+ 0.0,
497
+ 0.0,
498
+ 0.0,
499
+ 0.0,
500
+ 0.31481423952469817,
501
+ 0.0
502
+ ],
503
+ "ensemble_choice": "top3",
504
+ "candidate_dice": {
505
+ "mixture": 0.3754659094523485,
506
+ "uniform": 0.31416604860326686,
507
+ "top1": 0.38747785383420064,
508
+ "top2": 0.3897138845510255,
509
+ "top3": 0.39374676780961954
510
+ },
511
+ "pseudo_student_dice": 0.3715079220082423,
512
+ "pseudo_ensemble_dice": 0.24320091987757675,
513
+ "pseudo_source": "student",
514
+ "consistency_scale": 0.0,
515
+ "val_dice": 0.71405290677071,
516
+ "val_vi": 0.3943821589053846,
517
+ "val_ece": 0.0050473695531796405
518
+ },
519
+ {
520
+ "round": 5,
521
+ "n_labeled": 245,
522
+ "selection_seconds": 10.6,
523
+ "round_seconds": 138.8,
524
+ "teacher_dice_labeled": [
525
+ 0.3502083366531371,
526
+ 0.34845351115348644,
527
+ 0.11604729844495462,
528
+ 0.2621757924425775,
529
+ 0.22619772716440484,
530
+ 0.33203357450989535,
531
+ 0.3840164960993779,
532
+ 0.313400181441156
533
+ ],
534
+ "teacher_dice_pool": [
535
+ 0.37548772339205577,
536
+ 0.3833013808355072,
537
+ 0.1600921317997613,
538
+ 0.25321508996470743,
539
+ 0.31990754606797517,
540
+ 0.4370099709404248,
541
+ 0.5179453131615449,
542
+ 0.280774759856714
543
+ ],
544
+ "evidence_fg_pixels": 3577893,
545
+ "evidence_nonempty_patches": 189,
546
+ "first_correction": false,
547
+ "restart": "",
548
+ "weights": [
549
+ 0.01936135902517909,
550
+ 0.6391615107247445,
551
+ 0.0,
552
+ 0.0,
553
+ 0.0,
554
+ 0.0,
555
+ 0.3414771302500763,
556
+ 0.0
557
+ ],
558
+ "ensemble_choice": "top3",
559
+ "candidate_dice": {
560
+ "mixture": 0.3599807604482505,
561
+ "uniform": 0.3211029686375517,
562
+ "top1": 0.3840164960993779,
563
+ "top2": 0.38579360695658055,
564
+ "top3": 0.3835683473682102
565
+ },
566
+ "pseudo_student_dice": 0.5884572297615537,
567
+ "pseudo_ensemble_dice": 0.2919429375125578,
568
+ "pseudo_source": "student",
569
+ "consistency_scale": 0.295,
570
+ "val_dice": 0.7095045778301132,
571
+ "val_vi": 0.3975579165871835,
572
+ "val_ece": 0.0022580185247888613
573
+ },
574
+ {
575
+ "round": 6,
576
+ "n_labeled": 294,
577
+ "selection_seconds": 10.6,
578
+ "round_seconds": 145.1,
579
+ "teacher_dice_labeled": [
580
+ 0.3652716200083902,
581
+ 0.3585971398683318,
582
+ 0.10992564142649246,
583
+ 0.2578325740522286,
584
+ 0.22277450818970798,
585
+ 0.33973973894072296,
586
+ 0.3846495074209926,
587
+ 0.3305959501728769
588
+ ],
589
+ "teacher_dice_pool": [
590
+ 0.37545897608442663,
591
+ 0.36517019215223734,
592
+ 0.15792099420152225,
593
+ 0.2615905184780217,
594
+ 0.330487145457808,
595
+ 0.46403301342316666,
596
+ 0.532613356475908,
597
+ 0.28124866584265834
598
+ ],
599
+ "evidence_fg_pixels": 4756463,
600
+ "evidence_nonempty_patches": 232,
601
+ "first_correction": false,
602
+ "restart": "",
603
+ "weights": [
604
+ 0.020966771040059683,
605
+ 0.6589319110869489,
606
+ 0.0,
607
+ 0.0,
608
+ 0.0,
609
+ 0.0,
610
+ 0.3201013178729914,
611
+ 0.0
612
+ ],
613
+ "ensemble_choice": "top3",
614
+ "candidate_dice": {
615
+ "mixture": 0.3652920718151623,
616
+ "uniform": 0.3223976533149485,
617
+ "top1": 0.3846495074209926,
618
+ "top2": 0.38678028399483,
619
+ "top3": 0.39248325722874766
620
+ },
621
+ "pseudo_student_dice": 0.5404097731059258,
622
+ "pseudo_ensemble_dice": 0.5780078399479068,
623
+ "pseudo_source": "student",
624
+ "consistency_scale": 0.135,
625
+ "val_dice": 0.7143403163792835,
626
+ "val_vi": 0.40830035269899356,
627
+ "val_ece": 0.007214722442033303
628
+ },
629
+ {
630
+ "round": 7,
631
+ "n_labeled": 294,
632
+ "selection_seconds": 0.0,
633
+ "round_seconds": 56.6,
634
+ "final_consolidation": true,
635
+ "val_dice": 0.7309256869658374,
636
+ "val_vi": 0.3713934767695636,
637
+ "val_ece": 0.015823260301908625
638
+ }
639
+ ],
640
+ "uncertainty_quality": {
641
+ "spearman_uncertainty_error": -0.20304753183898672,
642
+ "auroc_top20_error": 0.41592640068365117
643
+ },
644
+ "al_seconds": 798.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.020966771040059683,
657
+ 0.6589319110869489,
658
+ 0.0,
659
+ 0.0,
660
+ 0.0,
661
+ 0.0,
662
+ 0.3201013178729914,
663
+ 0.0
664
+ ],
665
+ "weight_stats_final": {
666
+ "max_weight": 0.6589319110869489,
667
+ "entropy": 0.7205294126502648,
668
+ "effective_sources": 2.055521141531504,
669
+ "min_weight": 0.0
670
+ },
671
+ "top_source_final": "dhanyasi-P14-mouse-cerebellum",
672
+ "ensemble_choice_final": "",
673
+ "restart": "kept",
674
+ "test_raw_student": {
675
+ "patch_dice": 0.7117326324003791,
676
+ "patch_iou": 0.6289278430482521,
677
+ "patch_precision": 0.7384001631619221,
678
+ "patch_recall": 0.8160601597829159,
679
+ "patch_vi": 0.34099656215267415,
680
+ "n_patches": 1300,
681
+ "cal_ece": 0.014679185918989899,
682
+ "cal_nll": 0.17894412255736725,
683
+ "cal_brier": 0.051316040682139796,
684
+ "cal_mean_confidence": 0.9461751954929392,
685
+ "cal_accuracy": 0.9315347055288462,
686
+ "cal_predicted_prevalence": 0.22203125,
687
+ "cal_true_prevalence": 0.21078049879807692,
688
+ "cal_mean_probability": 0.22613713504306693
689
+ },
690
+ "test_notta": {
691
+ "patch_dice": 0.7117326324003791,
692
+ "patch_iou": 0.6289278430482521,
693
+ "patch_precision": 0.7384001631619221,
694
+ "patch_recall": 0.8160601597829159,
695
+ "patch_vi": 0.34099656215267415,
696
+ "n_patches": 1300,
697
+ "cal_ece": 0.014679185918989899,
698
+ "cal_nll": 0.17894412255736725,
699
+ "cal_brier": 0.051316040682139796,
700
+ "cal_mean_confidence": 0.9461751954929392,
701
+ "cal_accuracy": 0.9315347055288462,
702
+ "cal_predicted_prevalence": 0.22203125,
703
+ "cal_true_prevalence": 0.21078049879807692,
704
+ "cal_mean_probability": 0.22613713504306693
705
+ },
706
+ "test": {
707
+ "patch_dice": 0.7328983606873765,
708
+ "patch_iou": 0.6539298086166608,
709
+ "patch_precision": 0.7794708341773859,
710
+ "patch_recall": 0.8101709827186498,
711
+ "patch_vi": 0.31509139568672867,
712
+ "n_patches": 1300,
713
+ "image_dice": 0.8398286469075072,
714
+ "image_iou": 0.737109970022708,
715
+ "image_precision": 0.8420662330155432,
716
+ "image_recall": 0.8598087525051639,
717
+ "image_vi": 0.3650706363380156,
718
+ "n_images": 52,
719
+ "cal_ece": 0.003320093970549238,
720
+ "cal_nll": 0.15897419372119356,
721
+ "cal_brier": 0.04664112409434639,
722
+ "cal_mean_confidence": 0.9397174220413317,
723
+ "cal_accuracy": 0.9365895432692307,
724
+ "cal_predicted_prevalence": 0.21556715745192306,
725
+ "cal_true_prevalence": 0.21078049879807692,
726
+ "cal_mean_probability": 0.2233936774178567
727
+ },
728
+ "eval_seconds": 20.4,
729
+ "total_seconds": 1180.9,
730
+ "resources": {
731
+ "phases": {
732
+ "setup": {
733
+ "seconds": 1.15,
734
+ "peak_cpu_rss_mb": 1027.9,
735
+ "peak_gpu_alloc_mb": 1066.3,
736
+ "peak_gpu_reserved_mb": 1086.0
737
+ },
738
+ "features_and_weights": {
739
+ "seconds": 31.61,
740
+ "peak_cpu_rss_mb": 1801.2,
741
+ "peak_gpu_alloc_mb": 2820.1,
742
+ "peak_gpu_reserved_mb": 3212.0
743
+ },
744
+ "distillation": {
745
+ "seconds": 327.55,
746
+ "peak_cpu_rss_mb": 3676.1,
747
+ "peak_gpu_alloc_mb": 4303.7,
748
+ "peak_gpu_reserved_mb": 4638.0,
749
+ "kd_epochs": 5
750
+ },
751
+ "active_learning": {
752
+ "seconds": 798.09,
753
+ "peak_cpu_rss_mb": 3676.1,
754
+ "peak_gpu_alloc_mb": 4424.0,
755
+ "peak_gpu_reserved_mb": 4648.0,
756
+ "rounds": 6
757
+ },
758
+ "inference": {
759
+ "seconds": 20.38,
760
+ "peak_cpu_rss_mb": 3676.1,
761
+ "peak_gpu_alloc_mb": 2623.4,
762
+ "peak_gpu_reserved_mb": 4648.0,
763
+ "patches": 1300,
764
+ "images": 52,
765
+ "patches_per_second": 63.8,
766
+ "seconds_per_image": 0.392
767
+ }
768
+ },
769
+ "peak_gpu_alloc_mb": 4424.0,
770
+ "peak_cpu_rss_mb": 3676.1,
771
+ "total_seconds": 1178.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": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/whole-mouse-brain/macs-v11-norestart-acq-mcdropout_b5_s2.pth"
785
+ }
macs_v2_r26/runs/membrane/whole-mouse-brain/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,49,34.0,169.4,"[0.4166773458661978, 0.35928987385280325, 0.153101914721845, 0.3102874105923009, 0.24827571594727177, 0.40443287728637833, 0.45309617093263127, 0.3151852254719067]",,745730,43,True,kept,0.30178618768780596,0.45309617093263127,"[0.0523462898796494, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9476537101203506, 0.0]",top2,"{'mixture': 0.41707851191221385, 'uniform': 0.3962786850936092, 'top1': 0.45309617093263127, 'top2': 0.4560007178672816, 'top3': 0.4242840493249194}",0.649954056799635,0.46975670281025395,0.015682493902244875,,,,,
3
+ 2,98,10.9,31.3,"[0.36611084588621456, 0.41390494215223367, 0.09410596399488945, 0.24220693615965957, 0.15365108848199444, 0.24885494485948062, 0.29824941598594545, 0.355243465280686]",,1552702,76,False,,,,"[0.012823011947318825, 0.6947891955189256, 0.004286685040611986, 0.036731834491645354, 0.07570608809152632, 0.07008633566128063, 0.08182206111278438, 0.023754788135906927]",mixture,"{'mixture': 0.41136455031192193, 'uniform': 0.2299235728798188, 'top1': 0.41390494215223367, 'top2': 0.4141551875692704, 'top3': 0.4140180268546756}",0.6391891344279756,0.5097387246188724,0.04795928938682097,0.5334437898129569,0.4503609960060156,student,0.111,
4
+ 3,147,10.8,119.4,"[0.36768339021727037, 0.3852192186783384, 0.10416450316146425, 0.24673547320391392, 0.2164043919966956, 0.3083610023527579, 0.37673879727901105, 0.34984706011994526]","[0.4249715484975724, 0.43163808487226474, 0.13402683120843648, 0.27919123067816787, 0.28581213424874735, 0.4018351343096836, 0.5029478154698421, 0.3738482728359761]",2045013,111,False,,,,"[0.012424062776149956, 0.49741245892995734, 0.004521154756190894, 0.03665674701240556, 0.13524121291846142, 0.12120177924292354, 0.17107619568913765, 0.02146638867477356]",mixture,"{'mixture': 0.40562761102178846, 'uniform': 0.3019242904620139, 'top1': 0.3852192186783384, 'top2': 0.40122242697931965, 'top3': 0.40084130714444877}",0.6526551922105499,0.48330637836874146,0.01201782947328647,0.3206224561686304,0.31636739169836314,student,0.0,
5
+ 4,196,10.7,123.8,"[0.3669733595372897, 0.3639770152858429, 0.10806844150474738, 0.25307971683616926, 0.22584242770873106, 0.320093417456483, 0.38747785383420064, 0.3311470636749818]","[0.42873382874298777, 0.4201025611225556, 0.1465960471130387, 0.27571882770491135, 0.3152241379813523, 0.4274018046756167, 0.5223327910218584, 0.3509337191657171]",2546814,151,False,,,,"[0.020389457321379638, 0.6647963031539222, 0.0, 0.0, 0.0, 0.0, 0.31481423952469817, 0.0]",top3,"{'mixture': 0.3754659094523485, 'uniform': 0.31416604860326686, 'top1': 0.38747785383420064, 'top2': 0.3897138845510255, 'top3': 0.39374676780961954}",0.71405290677071,0.3943821589053846,0.0050473695531796405,0.3715079220082423,0.24320091987757675,student,0.0,
6
+ 5,245,10.6,138.8,"[0.3502083366531371, 0.34845351115348644, 0.11604729844495462, 0.2621757924425775, 0.22619772716440484, 0.33203357450989535, 0.3840164960993779, 0.313400181441156]","[0.37548772339205577, 0.3833013808355072, 0.1600921317997613, 0.25321508996470743, 0.31990754606797517, 0.4370099709404248, 0.5179453131615449, 0.280774759856714]",3577893,189,False,,,,"[0.01936135902517909, 0.6391615107247445, 0.0, 0.0, 0.0, 0.0, 0.3414771302500763, 0.0]",top3,"{'mixture': 0.3599807604482505, 'uniform': 0.3211029686375517, 'top1': 0.3840164960993779, 'top2': 0.38579360695658055, 'top3': 0.3835683473682102}",0.7095045778301132,0.3975579165871835,0.0022580185247888613,0.5884572297615537,0.2919429375125578,student,0.295,
7
+ 6,294,10.6,145.1,"[0.3652716200083902, 0.3585971398683318, 0.10992564142649246, 0.2578325740522286, 0.22277450818970798, 0.33973973894072296, 0.3846495074209926, 0.3305959501728769]","[0.37545897608442663, 0.36517019215223734, 0.15792099420152225, 0.2615905184780217, 0.330487145457808, 0.46403301342316666, 0.532613356475908, 0.28124866584265834]",4756463,232,False,,,,"[0.020966771040059683, 0.6589319110869489, 0.0, 0.0, 0.0, 0.0, 0.3201013178729914, 0.0]",top3,"{'mixture': 0.3652920718151623, 'uniform': 0.3223976533149485, 'top1': 0.3846495074209926, 'top2': 0.38678028399483, 'top3': 0.39248325722874766}",0.7143403163792835,0.40830035269899356,0.007214722442033303,0.5404097731059258,0.5780078399479068,student,0.135,
8
+ 7,294,0.0,56.6,,,,,,,,,,,,0.7309256869658374,0.3713934767695636,0.015823260301908625,,,,,True
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-3/log.txt ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [11:20:15][ 0s][START] target=drosophila-vnc variant=macs-v11-norestart-acq-laplace budget=5.0% seed=3 | {"task": "mitochondria", "target": "drosophila-vnc", "variant": "macs-v11-norestart-acq-laplace", "budget": 5.0, "seed": 3, "sources": "", "run_tag": "", "arch": "unet", "teacher_ckpt": "model_best.pth", "device": "cuda:0", "num_workers": 5, "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
+ [11:20:15][ 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:20:15][ 0s][DATA] drosophila-vnc: train=686 val=147 test=147 patches
4
+ [11:20:16][ 1s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, lucchi=3.80, multiclass=2.60
5
+ [11:20:16][ 1s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [11:20:17][ 2s][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
+ [11:20:17][ 2s][WEIGHTS] per-source: fly-mito=0.039, kasthuri=0.943, lucchi=0.014, multiclass=0.004 | min-MMD source (NeuroADDA rule) = kasthuri
8
+ [11:20:21][ 5s][TEACHERS] target-val Dice: fly-mito=0.278, kasthuri=0.183, lucchi=0.058, multiclass=0.017
9
+ [11:20:21][ 5s][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
+ [11:20:21][ 5s][WEIGHTS] using mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020
11
+ [11:20:21][ 5s][INIT] student initialised from teacher kasthuri (weight 0.838)
12
+ [11:20:22][ 6s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [11:20:22][ 6s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [11:20:26][ 10s][KD] soft labels for 686 patches from 4 teachers in 4s
15
+ [11:20:32][ 17s][KD] epoch 1/5 | patches=686 | loss=0.1985 | 6s
16
+ [11:20:38][ 23s][KD] epoch 2/5 | patches=686 | loss=0.1315 | 6s
17
+ [11:20:44][ 29s][KD] epoch 3/5 | patches=686 | loss=0.1251 | 6s
18
+ [11:20:51][ 36s][KD] epoch 4/5 | patches=686 | loss=0.1224 | 6s
19
+ [11:20:57][ 42s][KD] epoch 5/5 | patches=686 | loss=0.1199 | 6s
20
+ [11:20:57][ 42s][ROUND0] before any target label: val_dice=0.2226 val_vi=0.2217
21
+ [11:20:57][ 42s][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
+ [11:21:00][ 44s][AL] round-1 uncertainty quality on 686 patches: {'spearman_uncertainty_error': 0.10850904905588832, 'auroc_top20_error': 0.5691314926478366}
23
+ [11:21:04][ 48s][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
+ [11:21:04][ 49s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.573, uniform=0.044, top1=0.572, top2=0.573, top3=0.573 -> using mixture
25
+ [11:21:04][ 49s][WEIGHTS] round 1: student kept (labeled Dice 0.659 vs best teacher kasthuri 0.572); distilling the corrected ensemble into it
26
+ [11:21:04][ 49s][WEIGHTS] round 1: teacher Dice on 5 labeled patches + 0 blank (17096 fg px): fly-mito=0.327, kasthuri=0.572, lucchi=0.000, multiclass=0.001 | weights: fly-mito=0.012, kasthuri=0.988, lucchi=0.000, multiclass=0.000
27
+ [11:21:08][ 53s][KD] soft labels for 681 patches from 4 teachers in 4s
28
+ [11:21:15][ 59s][KD] epoch 1/2 | patches=681 | loss=0.0830 | 6s
29
+ [11:21:21][ 66s][KD] epoch 2/2 | patches=681 | loss=0.0810 | 6s
30
+ [11:21:25][ 70s][CONS] pseudo-labels for 681 unlabeled patches from the current ensemble in 4s
31
+ [11:21:25][ 70s][FT] round 1/6 epoch 1/5 | patches=5 | loss=0.8492
32
+ [11:21:26][ 71s][FT] round 1/6 epoch 2/5 | patches=5 | loss=0.8436
33
+ [11:21:26][ 71s][FT] round 1/6 epoch 3/5 | patches=5 | loss=0.8554
34
+ [11:21:26][ 71s][FT] round 1/6 epoch 4/5 | patches=5 | loss=0.7927
35
+ [11:21:27][ 72s][FT] round 1/6 epoch 5/5 | patches=5 | loss=0.8922
36
+ [11:21:27][ 72s][AL] round 1/6 | labeled=5 | selection_seconds=6.4000 round_seconds=29.6000 restart_student_dice=0.6587 restart_teacher_dice=0.5724 val_dice=0.2651 val_vi=0.2537 val_ece=0.0339
37
+ [11:21:30][ 74s][AL] round 2: 126/681 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [11:21:30][ 75s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.291, uniform=0.022, top1=0.344, top2=0.291, top3=0.291 -> using top1
39
+ [11:21:30][ 75s][WEIGHTS] round 2: teacher Dice on 10 labeled patches + 0 blank (49513 fg px): fly-mito=0.344, kasthuri=0.288, lucchi=0.002, multiclass=0.003 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
40
+ [11:21:31][ 76s][CONS] round 2: on the 5 new patches student Dice=0.049 vs ensemble 0.355 -> pseudo-labels from the ensemble | consistency x1.00
41
+ [11:21:32][ 77s][FT] round 2/6 epoch 1/5 | patches=10 | loss=1.2737
42
+ [11:21:32][ 77s][FT] round 2/6 epoch 2/5 | patches=10 | loss=1.1118
43
+ [11:21:33][ 78s][FT] round 2/6 epoch 3/5 | patches=10 | loss=0.9654
44
+ [11:21:34][ 78s][FT] round 2/6 epoch 4/5 | patches=10 | loss=0.9057
45
+ [11:21:34][ 79s][FT] round 2/6 epoch 5/5 | patches=10 | loss=0.8844
46
+ [11:21:35][ 79s][AL] round 2/6 | labeled=10 | selection_seconds=2.3000 round_seconds=6.8000 pseudo_student_dice=0.0485 pseudo_ensemble_dice=0.3552 consistency_scale=1.0000 val_dice=0.5304 val_vi=0.1854 val_ece=0.0069
47
+ [11:21:37][ 82s][AL] round 3: 113/676 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [11:21:38][ 83s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.228, uniform=0.020, top1=0.313, top2=0.229, top3=0.229 -> using top1
49
+ [11:21:38][ 83s][WEIGHTS] round 3: teacher Dice on 15 labeled patches + 0 blank (67007 fg px): fly-mito=0.313, kasthuri=0.224, lucchi=0.002, multiclass=0.005 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
50
+ [11:21:40][ 85s][CONS] round 3: on the 5 new patches student Dice=0.371 vs ensemble 0.254 -> pseudo-labels from the student | consistency x0.00
51
+ [11:21:40][ 85s][FT] round 3/6 epoch 1/5 | patches=15 | loss=0.7781
52
+ [11:21:41][ 85s][FT] round 3/6 epoch 2/5 | patches=15 | loss=0.7260
53
+ [11:21:41][ 86s][FT] round 3/6 epoch 3/5 | patches=15 | loss=0.6272
54
+ [11:21:41][ 86s][FT] round 3/6 epoch 4/5 | patches=15 | loss=0.5273
55
+ [11:21:42][ 87s][FT] round 3/6 epoch 5/5 | patches=15 | loss=0.4273
56
+ [11:21:42][ 87s][AL] round 3/6 | labeled=15 | selection_seconds=2.4000 round_seconds=7.2000 pseudo_student_dice=0.3711 pseudo_ensemble_dice=0.2543 consistency_scale=0.0000 val_dice=0.5918 val_vi=0.1755 val_ece=0.0097
57
+ [11:21:45][ 89s][AL] round 4: 47/671 candidates skipped as agreed-empty (predicted prevalence < 0.005)
58
+ [11:21:54][ 99s][WEIGHTS] round 4: teacher agreement with the student on 666 unlabeled patches: fly-mito=0.343, kasthuri=0.444, lucchi=0.010, multiclass=0.002 | blended with labeled Dice at 0.50
59
+ [11:22:01][ 106s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.341, uniform=0.035, top1=0.341, top2=0.341, top3=0.341 -> using mixture
60
+ [11:22:01][ 106s][WEIGHTS] round 4: teacher Dice on 20 labeled patches + 0 blank (74131 fg px): fly-mito=0.315, kasthuri=0.341, lucchi=0.006, multiclass=0.003 | weights: fly-mito=0.097, kasthuri=0.901, lucchi=0.001, multiclass=0.001
61
+ [11:22:03][ 108s][CONS] round 4: on the 5 new patches student Dice=0.436 vs ensemble 0.357 -> pseudo-labels from the student | consistency x0.00
62
+ [11:22:04][ 109s][FT] round 4/6 epoch 1/5 | patches=20 | loss=0.4633
63
+ [11:22:04][ 109s][FT] round 4/6 epoch 2/5 | patches=20 | loss=0.4212
64
+ [11:22:05][ 110s][FT] round 4/6 epoch 3/5 | patches=20 | loss=0.3607
65
+ [11:22:05][ 110s][FT] round 4/6 epoch 4/5 | patches=20 | loss=0.3613
66
+ [11:22:06][ 111s][FT] round 4/6 epoch 5/5 | patches=20 | loss=0.3089
67
+ [11:22:06][ 111s][AL] round 4/6 | labeled=20 | selection_seconds=2.3000 round_seconds=23.4000 pseudo_student_dice=0.4365 pseudo_ensemble_dice=0.3567 consistency_scale=0.0000 val_dice=0.7202 val_vi=0.1155 val_ece=0.0083
68
+ [11:22:08][ 113s][AL] round 5: 104/666 candidates skipped as agreed-empty (predicted prevalence < 0.005)
69
+ [11:22:17][ 122s][WEIGHTS] round 5: teacher agreement with the student on 661 unlabeled patches: fly-mito=0.382, kasthuri=0.466, lucchi=0.009, multiclass=0.001 | blended with labeled Dice at 0.50
70
+ [11:22:25][ 130s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.374, uniform=0.044, top1=0.373, top2=0.374, top3=0.374 -> using mixture
71
+ [11:22:25][ 130s][WEIGHTS] round 5: teacher Dice on 25 labeled patches + 0 blank (82397 fg px): fly-mito=0.327, kasthuri=0.373, lucchi=0.012, multiclass=0.003 | weights: fly-mito=0.081, kasthuri=0.918, lucchi=0.001, multiclass=0.001
72
+ [11:22:27][ 132s][CONS] round 5: on the 5 new patches student Dice=0.860 vs ensemble 0.498 -> pseudo-labels from the student | consistency x1.00
73
+ [11:22:28][ 133s][FT] round 5/6 epoch 1/5 | patches=25 | loss=0.3228
74
+ [11:22:29][ 134s][FT] round 5/6 epoch 2/5 | patches=25 | loss=0.4003
75
+ [11:22:29][ 134s][FT] round 5/6 epoch 3/5 | patches=25 | loss=0.3622
76
+ [11:22:30][ 135s][FT] round 5/6 epoch 4/5 | patches=25 | loss=0.2707
77
+ [11:22:31][ 136s][FT] round 5/6 epoch 5/5 | patches=25 | loss=0.2498
78
+ [11:22:32][ 136s][AL] round 5/6 | labeled=25 | selection_seconds=2.3000 round_seconds=25.1000 pseudo_student_dice=0.8602 pseudo_ensemble_dice=0.4984 consistency_scale=1.0000 val_dice=0.7097 val_vi=0.1201 val_ece=0.0088
79
+ [11:22:34][ 139s][AL] round 6: 111/661 candidates skipped as agreed-empty (predicted prevalence < 0.005)
80
+ [11:22:43][ 148s][WEIGHTS] round 6: teacher agreement with the student on 656 unlabeled patches: fly-mito=0.391, kasthuri=0.449, lucchi=0.009, multiclass=0.001 | blended with labeled Dice at 0.50
81
+ [11:22:51][ 156s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.394, uniform=0.048, top1=0.394, top2=0.394, top3=0.394 -> using mixture
82
+ [11:22:51][ 156s][WEIGHTS] round 6: teacher Dice on 30 labeled patches + 0 blank (91279 fg px): fly-mito=0.327, kasthuri=0.394, lucchi=0.011, multiclass=0.002 | weights: fly-mito=0.067, kasthuri=0.932, lucchi=0.001, multiclass=0.000
83
+ [11:22:53][ 158s][CONS] round 6: on the 5 new patches student Dice=0.907 vs ensemble 0.639 -> pseudo-labels from the student | consistency x1.00
84
+ [11:22:54][ 158s][FT] round 6/6 epoch 1/5 | patches=30 | loss=0.2780
85
+ [11:22:54][ 159s][FT] round 6/6 epoch 2/5 | patches=30 | loss=0.2534
86
+ [11:22:55][ 160s][FT] round 6/6 epoch 3/5 | patches=30 | loss=0.2623
87
+ [11:22:56][ 161s][FT] round 6/6 epoch 4/5 | patches=30 | loss=0.2548
88
+ [11:22:57][ 162s][FT] round 6/6 epoch 5/5 | patches=30 | loss=0.2277
89
+ [11:22:58][ 162s][AL] round 6/6 | labeled=30 | selection_seconds=2.4000 round_seconds=25.5000 pseudo_student_dice=0.9074 pseudo_ensemble_dice=0.6390 consistency_scale=1.0000 val_dice=0.7320 val_vi=0.1066 val_ece=0.0094
90
+ [11:22:59][ 163s][CONS] final consolidation: pseudo-labels refreshed from the student
91
+ [11:22:59][ 164s][FT] final 1/10 epoch 1/1 | patches=30 | loss=0.2279
92
+ [11:23:00][ 165s][FT] final 2/10 epoch 1/1 | patches=30 | loss=0.1906
93
+ [11:23:01][ 166s][FT] final 3/10 epoch 1/1 | patches=30 | loss=0.1898
94
+ [11:23:02][ 167s][FT] final 4/10 epoch 1/1 | patches=30 | loss=0.1942
95
+ [11:23:03][ 168s][FT] final 5/10 epoch 1/1 | patches=30 | loss=0.1911
96
+ [11:23:04][ 169s][FT] final 6/10 epoch 1/1 | patches=30 | loss=0.1783
97
+ [11:23:05][ 169s][FT] final 7/10 epoch 1/1 | patches=30 | loss=0.1626
98
+ [11:23:05][ 170s][FT] final 8/10 epoch 1/1 | patches=30 | loss=0.2015
99
+ [11:23:06][ 171s][FT] final 9/10 epoch 1/1 | patches=30 | loss=0.1667
100
+ [11:23:07][ 172s][FT] final 10/10 epoch 1/1 | patches=30 | loss=0.1817
101
+ [11:23:08][ 172s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=9.6000 val_dice=0.7444 val_vi=0.1016 val_ece=0.0095
102
+ [11:23:08][ 173s][WEIGHTS] final: fly-mito=0.067, kasthuri=0.932, lucchi=0.001, multiclass=0.000
103
+ [11:23:10][ 175s][TEST] raw student (no EMA, no TTA): patch_dice=0.7977 patch_vi=0.1139
104
+ [11:23:11][ 175s][TEST] final model without TTA: patch_dice=0.7977 patch_vi=0.1139
105
+ [11:23:11][ 175s][RESOURCES] {"phases": {"setup": {"seconds": 0.64, "peak_cpu_rss_mb": 1025.3, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 5.64, "peak_cpu_rss_mb": 1806.2, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 35.29, "peak_cpu_rss_mb": 2104.5, "peak_gpu_alloc_mb": 3829.8, "peak_gpu_reserved_mb": 4168.0, "kd_epochs": 5}, "active_learning": {"seconds": 130.37, "peak_cpu_rss_mb": 2410.7, "peak_gpu_alloc_mb": 3950.0, "peak_gpu_reserved_mb": 4176.0, "rounds": 6}, "inference": {"seconds": 2.88, "peak_cpu_rss_mb": 2410.7, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4176.0, "patches": 147, "images": 3, "patches_per_second": 51.0, "seconds_per_image": 0.96}}, "peak_gpu_alloc_mb": 3950.0, "peak_cpu_rss_mb": 2410.7, "total_seconds": 174.8}
106
+ [11:23:11][ 175s][TEST] patch_dice=0.8348 patch_iou=0.7589 patch_precision=0.8195 patch_recall=0.9316 patch_vi=0.0987 image_dice=0.9122 image_iou=0.8396 image_precision=0.8615 image_recall=0.9710 image_vi=0.1005 cal_ece=0.0037 cal_nll=0.0333 cal_brier=0.0097 cal_mean_confidence=0.9907 cal_accuracy=0.9874 cal_predicted_prevalence=0.0674 cal_true_prevalence=0.0594 cal_mean_probability=0.0674
107
+ [11:23:11][ 176s][DONE] drosophila-vnc macs-v11-norestart-acq-laplace b5 s3 | test patch Dice=0.8348 VI=0.0987 | image Dice=0.9122 VI=0.1005 | 175s
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-3/result.json ADDED
@@ -0,0 +1,662 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "drosophila-vnc",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 3,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "drosophila-vnc",
9
+ "variant": "macs-v11-norestart-acq-laplace",
10
+ "budget": 5.0,
11
+ "seed": 3,
12
+ "sources": "",
13
+ "run_tag": "",
14
+ "arch": "unet",
15
+ "teacher_ckpt": "model_best.pth",
16
+ "models_dir": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "3",
129
+ "--num-workers",
130
+ "5",
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": "/home/user/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 4090",
140
+ "cuda": "13.0",
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.11690531690536884,
152
+ 0.8375898290916663,
153
+ 0.02560239431814963,
154
+ 0.01990245968481518
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "lucchi-pp",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.11690531690536884,
165
+ 0.8375898290916663,
166
+ 0.02560239431814963,
167
+ 0.01990245968481518
168
+ ],
169
+ "per_source": [
170
+ 0.038599381604120485,
171
+ 0.943285983973492,
172
+ 0.013712262708195049,
173
+ 0.004402371714192633
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.1917814945701421,
183
+ "mmd2_mixture": 0.19749308036725388,
184
+ "mmd2_uniform": 0.3743480458439246,
185
+ "mmd2_single_source": [
186
+ 0.7042945447726864,
187
+ 0.2070680114579429,
188
+ 0.6307945959829456,
189
+ 0.6534353423959632
190
+ ],
191
+ "median_squared_distance": 0.1964580928585633,
192
+ "gammas": [
193
+ 1.2725360221224549,
194
+ 2.5450720442449097,
195
+ 5.0901440884898195,
196
+ 10.180288176979639,
197
+ 20.360576353959278
198
+ ],
199
+ "max_weight": 0.8375898290916663,
200
+ "entropy": 0.5711585797111782,
201
+ "effective_sources": 1.7703169170005038,
202
+ "min_weight": 0.01990245968481518
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6050756121533214,
207
+ 0.3110169227475098,
208
+ 0.7002952924749369,
209
+ 0.8048259551971948
210
+ ],
211
+ "standardized": [
212
+ -0.0012381647254944845,
213
+ -1.5993047903844642,
214
+ 0.5162347028009382,
215
+ 1.0843082523090217
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.943285983973492,
219
+ "entropy": 0.2634007298678481,
220
+ "effective_sources": 1.3013481035311127,
221
+ "min_weight": 0.004402371714192633
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "kasthuri-pp",
226
+ "seconds": 1.1
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.2784035818310388,
231
+ 0.18341782772166676,
232
+ 0.057702367443012846,
233
+ 0.01681466600081078
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.186522633793688,
237
+ "mixture@raw": 0.18548325188563394,
238
+ "mixture@logit": 0.19296315829990748,
239
+ "per_source": 0.18415887092754818,
240
+ "per_source@raw": 0.18350562678267812,
241
+ "per_source@logit": 0.1890579186582894,
242
+ "uniform": 0.06967222752121038,
243
+ "uniform@raw": 0.0884686387663988,
244
+ "uniform@logit": 0.06545324142703345
245
+ },
246
+ "val_patches": 147
247
+ },
248
+ "temperatures": [
249
+ 1.3819772005081177,
250
+ 2.5080416202545166,
251
+ 3.7969236373901367,
252
+ 2.597255229949951
253
+ ],
254
+ "top_source": "kasthuri-pp",
255
+ "weight_stats": {
256
+ "max_weight": 0.8375898290916663,
257
+ "entropy": 0.5711585797111782,
258
+ "effective_sources": 1.7703169170005038,
259
+ "min_weight": 0.01990245968481518
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": 35.3,
271
+ "round0_val": {
272
+ "val_dice": 0.22259710119393636,
273
+ "val_vi": 0.2217486787180137,
274
+ "val_ece": 0.019118359085155114
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 5,
280
+ "selection_seconds": 6.4,
281
+ "round_seconds": 29.6,
282
+ "teacher_dice_labeled": [
283
+ 0.3265584832904884,
284
+ 0.5723588778124132,
285
+ 5.7760064691272456e-05,
286
+ 0.0008705240554813998
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 17096,
290
+ "evidence_nonempty_patches": 4,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.6586710683430498,
294
+ "restart_teacher_dice": 0.5723588778124132,
295
+ "weights": [
296
+ 0.011805122497730317,
297
+ 0.9880187339743336,
298
+ 9.875115690298976e-05,
299
+ 7.739237103305626e-05
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.5725535002933638,
304
+ "uniform": 0.04434476493300023,
305
+ "top1": 0.5723588778124132,
306
+ "top2": 0.5725535002933638,
307
+ "top3": 0.5725535002933638
308
+ },
309
+ "val_dice": 0.2651183621363361,
310
+ "val_vi": 0.2536928580768912,
311
+ "val_ece": 0.03392489668719592
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 10,
316
+ "selection_seconds": 2.3,
317
+ "round_seconds": 6.8,
318
+ "teacher_dice_labeled": [
319
+ 0.34446258487008174,
320
+ 0.2877706560379188,
321
+ 0.0021410276932927806,
322
+ 0.002911120480234496
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 49513,
326
+ "evidence_nonempty_patches": 9,
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.2912965056802886,
338
+ "uniform": 0.02191753601589667,
339
+ "top1": 0.34446258487008174,
340
+ "top2": 0.2913448340824071,
341
+ "top3": 0.2913145287183076
342
+ },
343
+ "pseudo_student_dice": 0.048524089711711266,
344
+ "pseudo_ensemble_dice": 0.35520279127149357,
345
+ "pseudo_source": "ensemble",
346
+ "consistency_scale": 1.0,
347
+ "val_dice": 0.5303885061058371,
348
+ "val_vi": 0.1853514846468518,
349
+ "val_ece": 0.006875929179194766
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 15,
354
+ "selection_seconds": 2.4,
355
+ "round_seconds": 7.2,
356
+ "teacher_dice_labeled": [
357
+ 0.3131746656176239,
358
+ 0.22434563791634468,
359
+ 0.002236142580005035,
360
+ 0.005071563756801514
361
+ ],
362
+ "teacher_dice_pool": null,
363
+ "evidence_fg_pixels": 67007,
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.22849699359095008,
376
+ "uniform": 0.01984394708280778,
377
+ "top1": 0.3131746656176239,
378
+ "top2": 0.22876961744740645,
379
+ "top3": 0.2286186652938789
380
+ },
381
+ "pseudo_student_dice": 0.3711265455655625,
382
+ "pseudo_ensemble_dice": 0.25430492104338365,
383
+ "pseudo_source": "student",
384
+ "consistency_scale": 0.0,
385
+ "val_dice": 0.5918325005506857,
386
+ "val_vi": 0.17548227962258417,
387
+ "val_ece": 0.009676093882371277
388
+ },
389
+ {
390
+ "round": 4,
391
+ "n_labeled": 20,
392
+ "selection_seconds": 2.3,
393
+ "round_seconds": 23.4,
394
+ "teacher_dice_labeled": [
395
+ 0.31547631096594764,
396
+ 0.34123593983097356,
397
+ 0.0059793031811133535,
398
+ 0.0034405810135199576
399
+ ],
400
+ "teacher_dice_pool": [
401
+ 0.3425381911105748,
402
+ 0.4438936034888215,
403
+ 0.009888876495357073,
404
+ 0.002299520650677445
405
+ ],
406
+ "evidence_fg_pixels": 74131,
407
+ "evidence_nonempty_patches": 18,
408
+ "first_correction": false,
409
+ "restart": "",
410
+ "weights": [
411
+ 0.09720801201042216,
412
+ 0.9010976140529733,
413
+ 0.0009638733077765422,
414
+ 0.0007305006288280354
415
+ ],
416
+ "ensemble_choice": "mixture",
417
+ "candidate_dice": {
418
+ "mixture": 0.3409487021488296,
419
+ "uniform": 0.03477595874011665,
420
+ "top1": 0.34123593983097356,
421
+ "top2": 0.34102760479558736,
422
+ "top3": 0.34098090067463205
423
+ },
424
+ "pseudo_student_dice": 0.43649569353387324,
425
+ "pseudo_ensemble_dice": 0.3566652909616178,
426
+ "pseudo_source": "student",
427
+ "consistency_scale": 0.0,
428
+ "val_dice": 0.7202478275643855,
429
+ "val_vi": 0.11551100599924623,
430
+ "val_ece": 0.00827971477000551
431
+ },
432
+ {
433
+ "round": 5,
434
+ "n_labeled": 25,
435
+ "selection_seconds": 2.3,
436
+ "round_seconds": 25.1,
437
+ "teacher_dice_labeled": [
438
+ 0.32748527014276285,
439
+ 0.3732444408424384,
440
+ 0.01181775174042917,
441
+ 0.002690437438876882
442
+ ],
443
+ "teacher_dice_pool": [
444
+ 0.3817607993473308,
445
+ 0.4657078120427067,
446
+ 0.009169410998209292,
447
+ 0.001259368545293597
448
+ ],
449
+ "evidence_fg_pixels": 82397,
450
+ "evidence_nonempty_patches": 23,
451
+ "first_correction": false,
452
+ "restart": "",
453
+ "weights": [
454
+ 0.08105022278551019,
455
+ 0.917658090242581,
456
+ 0.0007555686292442745,
457
+ 0.0005361183426645543
458
+ ],
459
+ "ensemble_choice": "mixture",
460
+ "candidate_dice": {
461
+ "mixture": 0.3736519199765924,
462
+ "uniform": 0.04405944383878502,
463
+ "top1": 0.3732444408424384,
464
+ "top2": 0.3737204245680453,
465
+ "top3": 0.373694044966715
466
+ },
467
+ "pseudo_student_dice": 0.8601795540110049,
468
+ "pseudo_ensemble_dice": 0.4983764769549923,
469
+ "pseudo_source": "student",
470
+ "consistency_scale": 1.0,
471
+ "val_dice": 0.7097438014736671,
472
+ "val_vi": 0.12009500484663031,
473
+ "val_ece": 0.00879034593597929
474
+ },
475
+ {
476
+ "round": 6,
477
+ "n_labeled": 30,
478
+ "selection_seconds": 2.4,
479
+ "round_seconds": 25.5,
480
+ "teacher_dice_labeled": [
481
+ 0.32742006938767654,
482
+ 0.39371978128758006,
483
+ 0.010862133549017123,
484
+ 0.002418636813878437
485
+ ],
486
+ "teacher_dice_pool": [
487
+ 0.39091620078222555,
488
+ 0.4491281687389267,
489
+ 0.008656109805333422,
490
+ 0.0011212111372366253
491
+ ],
492
+ "evidence_fg_pixels": 91279,
493
+ "evidence_nonempty_patches": 28,
494
+ "first_correction": false,
495
+ "restart": "",
496
+ "weights": [
497
+ 0.06702579943774015,
498
+ 0.9319124729363013,
499
+ 0.0006192908650021591,
500
+ 0.00044243676095642704
501
+ ],
502
+ "ensemble_choice": "mixture",
503
+ "candidate_dice": {
504
+ "mixture": 0.39385881615174234,
505
+ "uniform": 0.048451003797465905,
506
+ "top1": 0.39371978128758006,
507
+ "top2": 0.39387514465174567,
508
+ "top3": 0.39385988022438434
509
+ },
510
+ "pseudo_student_dice": 0.9074005794047932,
511
+ "pseudo_ensemble_dice": 0.638978505072492,
512
+ "pseudo_source": "student",
513
+ "consistency_scale": 1.0,
514
+ "val_dice": 0.7320486463671512,
515
+ "val_vi": 0.10657063095909225,
516
+ "val_ece": 0.009392135846348293
517
+ },
518
+ {
519
+ "round": 7,
520
+ "n_labeled": 30,
521
+ "selection_seconds": 0.0,
522
+ "round_seconds": 9.6,
523
+ "final_consolidation": true,
524
+ "val_dice": 0.7444199834311062,
525
+ "val_vi": 0.10161531775765006,
526
+ "val_ece": 0.009509370836124294
527
+ }
528
+ ],
529
+ "uncertainty_quality": {
530
+ "spearman_uncertainty_error": 0.10850904905588832,
531
+ "auroc_top20_error": 0.5691314926478366
532
+ },
533
+ "al_seconds": 130.4,
534
+ "source_archs": [
535
+ "unet",
536
+ "unet",
537
+ "unet",
538
+ "unet"
539
+ ],
540
+ "alphas_final": [
541
+ 0.06702579943774015,
542
+ 0.9319124729363013,
543
+ 0.0006192908650021591,
544
+ 0.00044243676095642704
545
+ ],
546
+ "weight_stats_final": {
547
+ "max_weight": 0.9319124729363013,
548
+ "entropy": 0.2548559221187666,
549
+ "effective_sources": 1.2902757072900808,
550
+ "min_weight": 0.00044243676095642704
551
+ },
552
+ "top_source_final": "kasthuri-pp",
553
+ "ensemble_choice_final": "",
554
+ "restart": "kept",
555
+ "test_raw_student": {
556
+ "patch_dice": 0.7977066471645559,
557
+ "patch_iou": 0.712263446875584,
558
+ "patch_precision": 0.762104894454457,
559
+ "patch_recall": 0.9284656145665409,
560
+ "patch_vi": 0.11394406286768838,
561
+ "n_patches": 147,
562
+ "cal_ece": 0.010102019099312812,
563
+ "cal_nll": 0.04980973616501659,
564
+ "cal_brier": 0.012402466143411325,
565
+ "cal_mean_confidence": 0.9944937530522531,
566
+ "cal_accuracy": 0.9843949298469388,
567
+ "cal_predicted_prevalence": 0.06852545705782313,
568
+ "cal_true_prevalence": 0.05939094387755102,
569
+ "cal_mean_probability": 0.06730707713274209
570
+ },
571
+ "test_notta": {
572
+ "patch_dice": 0.7977066471645559,
573
+ "patch_iou": 0.712263446875584,
574
+ "patch_precision": 0.762104894454457,
575
+ "patch_recall": 0.9284656145665409,
576
+ "patch_vi": 0.11394406286768838,
577
+ "n_patches": 147,
578
+ "cal_ece": 0.010102019099312812,
579
+ "cal_nll": 0.04980973616501659,
580
+ "cal_brier": 0.012402466143411325,
581
+ "cal_mean_confidence": 0.9944937530522531,
582
+ "cal_accuracy": 0.9843949298469388,
583
+ "cal_predicted_prevalence": 0.06852545705782313,
584
+ "cal_true_prevalence": 0.05939094387755102,
585
+ "cal_mean_probability": 0.06730707713274209
586
+ },
587
+ "test": {
588
+ "patch_dice": 0.83483573452591,
589
+ "patch_iou": 0.7589463120306933,
590
+ "patch_precision": 0.8194718578465112,
591
+ "patch_recall": 0.931564815747692,
592
+ "patch_vi": 0.09867003215150039,
593
+ "n_patches": 147,
594
+ "image_dice": 0.9122375170485886,
595
+ "image_iou": 0.8396129565317924,
596
+ "image_precision": 0.8614710995782565,
597
+ "image_recall": 0.9710319246167654,
598
+ "image_vi": 0.10048469250582326,
599
+ "n_images": 3,
600
+ "cal_ece": 0.003700974915991743,
601
+ "cal_nll": 0.03327139559211665,
602
+ "cal_brier": 0.009700747389481646,
603
+ "cal_mean_confidence": 0.9907116323509012,
604
+ "cal_accuracy": 0.9874043367346939,
605
+ "cal_predicted_prevalence": 0.06740274234693877,
606
+ "cal_true_prevalence": 0.05939094387755102,
607
+ "cal_mean_probability": 0.06744815259594922
608
+ },
609
+ "eval_seconds": 2.9,
610
+ "total_seconds": 175.4,
611
+ "resources": {
612
+ "phases": {
613
+ "setup": {
614
+ "seconds": 0.64,
615
+ "peak_cpu_rss_mb": 1025.3,
616
+ "peak_gpu_alloc_mb": 592.4,
617
+ "peak_gpu_reserved_mb": 594.0
618
+ },
619
+ "features_and_weights": {
620
+ "seconds": 5.64,
621
+ "peak_cpu_rss_mb": 1806.2,
622
+ "peak_gpu_alloc_mb": 2298.2,
623
+ "peak_gpu_reserved_mb": 2640.0
624
+ },
625
+ "distillation": {
626
+ "seconds": 35.29,
627
+ "peak_cpu_rss_mb": 2104.5,
628
+ "peak_gpu_alloc_mb": 3829.8,
629
+ "peak_gpu_reserved_mb": 4168.0,
630
+ "kd_epochs": 5
631
+ },
632
+ "active_learning": {
633
+ "seconds": 130.37,
634
+ "peak_cpu_rss_mb": 2410.7,
635
+ "peak_gpu_alloc_mb": 3950.0,
636
+ "peak_gpu_reserved_mb": 4176.0,
637
+ "rounds": 6
638
+ },
639
+ "inference": {
640
+ "seconds": 2.88,
641
+ "peak_cpu_rss_mb": 2410.7,
642
+ "peak_gpu_alloc_mb": 2149.5,
643
+ "peak_gpu_reserved_mb": 4176.0,
644
+ "patches": 147,
645
+ "images": 3,
646
+ "patches_per_second": 51.0,
647
+ "seconds_per_image": 0.96
648
+ }
649
+ },
650
+ "peak_gpu_alloc_mb": 3950.0,
651
+ "peak_cpu_rss_mb": 2410.7,
652
+ "total_seconds": 174.8
653
+ },
654
+ "student_parameters": 31042369,
655
+ "teacher_parameters": [
656
+ 31042369,
657
+ 31042369,
658
+ 31042369,
659
+ 31042369
660
+ ],
661
+ "checkpoint": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/drosophila-vnc/macs-v11-norestart-acq-laplace_b5_s3.pth"
662
+ }
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-laplace/budget-5/seed-3/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,6.4,29.6,"[0.3265584832904884, 0.5723588778124132, 5.7760064691272456e-05, 0.0008705240554813998]",,17096,4,True,kept,0.6586710683430498,0.5723588778124132,"[0.011805122497730317, 0.9880187339743336, 9.875115690298976e-05, 7.739237103305626e-05]",mixture,"{'mixture': 0.5725535002933638, 'uniform': 0.04434476493300023, 'top1': 0.5723588778124132, 'top2': 0.5725535002933638, 'top3': 0.5725535002933638}",0.2651183621363361,0.2536928580768912,0.03392489668719592,,,,,
3
+ 2,10,2.3,6.8,"[0.34446258487008174, 0.2877706560379188, 0.0021410276932927806, 0.002911120480234496]",,49513,9,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.2912965056802886, 'uniform': 0.02191753601589667, 'top1': 0.34446258487008174, 'top2': 0.2913448340824071, 'top3': 0.2913145287183076}",0.5303885061058371,0.1853514846468518,0.006875929179194766,0.048524089711711266,0.35520279127149357,ensemble,1.0,
4
+ 3,15,2.4,7.2,"[0.3131746656176239, 0.22434563791634468, 0.002236142580005035, 0.005071563756801514]",,67007,14,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.22849699359095008, 'uniform': 0.01984394708280778, 'top1': 0.3131746656176239, 'top2': 0.22876961744740645, 'top3': 0.2286186652938789}",0.5918325005506857,0.17548227962258417,0.009676093882371277,0.3711265455655625,0.25430492104338365,student,0.0,
5
+ 4,20,2.3,23.4,"[0.31547631096594764, 0.34123593983097356, 0.0059793031811133535, 0.0034405810135199576]","[0.3425381911105748, 0.4438936034888215, 0.009888876495357073, 0.002299520650677445]",74131,18,False,,,,"[0.09720801201042216, 0.9010976140529733, 0.0009638733077765422, 0.0007305006288280354]",mixture,"{'mixture': 0.3409487021488296, 'uniform': 0.03477595874011665, 'top1': 0.34123593983097356, 'top2': 0.34102760479558736, 'top3': 0.34098090067463205}",0.7202478275643855,0.11551100599924623,0.00827971477000551,0.43649569353387324,0.3566652909616178,student,0.0,
6
+ 5,25,2.3,25.1,"[0.32748527014276285, 0.3732444408424384, 0.01181775174042917, 0.002690437438876882]","[0.3817607993473308, 0.4657078120427067, 0.009169410998209292, 0.001259368545293597]",82397,23,False,,,,"[0.08105022278551019, 0.917658090242581, 0.0007555686292442745, 0.0005361183426645543]",mixture,"{'mixture': 0.3736519199765924, 'uniform': 0.04405944383878502, 'top1': 0.3732444408424384, 'top2': 0.3737204245680453, 'top3': 0.373694044966715}",0.7097438014736671,0.12009500484663031,0.00879034593597929,0.8601795540110049,0.4983764769549923,student,1.0,
7
+ 6,30,2.4,25.5,"[0.32742006938767654, 0.39371978128758006, 0.010862133549017123, 0.002418636813878437]","[0.39091620078222555, 0.4491281687389267, 0.008656109805333422, 0.0011212111372366253]",91279,28,False,,,,"[0.06702579943774015, 0.9319124729363013, 0.0006192908650021591, 0.00044243676095642704]",mixture,"{'mixture': 0.39385881615174234, 'uniform': 0.048451003797465905, 'top1': 0.39371978128758006, 'top2': 0.39387514465174567, 'top3': 0.39385988022438434}",0.7320486463671512,0.10657063095909225,0.009392135846348293,0.9074005794047932,0.638978505072492,student,1.0,
8
+ 7,30,0.0,9.6,,,,,,,,,,,,0.7444199834311062,0.10161531775765006,0.009509370836124294,,,,,True
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [04:57:02][ 0s][START] target=drosophila-vnc variant=macs-v11-norestart-acq-margin budget=5.0% seed=1 | {"task": "mitochondria", "target": "drosophila-vnc", "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": 5, "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
+ [04:57:02][ 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
+ [04:57:02][ 0s][DATA] drosophila-vnc: train=686 val=147 test=147 patches
4
+ [04:57:03][ 1s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, lucchi=3.80, multiclass=2.60
5
+ [04:57:03][ 1s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [04:57:04][ 2s][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
+ [04:57:04][ 2s][WEIGHTS] per-source: fly-mito=0.039, kasthuri=0.943, lucchi=0.014, multiclass=0.004 | min-MMD source (NeuroADDA rule) = kasthuri
8
+ [04:57:08][ 6s][TEACHERS] target-val Dice: fly-mito=0.278, kasthuri=0.183, lucchi=0.058, multiclass=0.017
9
+ [04:57:08][ 6s][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
+ [04:57:08][ 6s][WEIGHTS] using mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020
11
+ [04:57:08][ 6s][INIT] student initialised from teacher kasthuri (weight 0.838)
12
+ [04:57:09][ 7s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [04:57:09][ 7s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [04:57:13][ 11s][KD] soft labels for 686 patches from 4 teachers in 4s
15
+ [04:57:19][ 17s][KD] epoch 1/5 | patches=686 | loss=0.2005 | 7s
16
+ [04:57:26][ 24s][KD] epoch 2/5 | patches=686 | loss=0.1322 | 7s
17
+ [04:57:32][ 30s][KD] epoch 3/5 | patches=686 | loss=0.1258 | 6s
18
+ [04:57:39][ 37s][KD] epoch 4/5 | patches=686 | loss=0.1216 | 6s
19
+ [04:57:45][ 43s][KD] epoch 5/5 | patches=686 | loss=0.1204 | 6s
20
+ [04:57:46][ 44s][ROUND0] before any target label: val_dice=0.1917 val_vi=0.2212
21
+ [04:57:46][ 44s][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
+ [04:57:47][ 45s][AL] round-1 uncertainty quality on 686 patches: {'spearman_uncertainty_error': 0.08899991394046061, 'auroc_top20_error': 0.5872474346768222}
23
+ [04:57:51][ 49s][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
+ [04:57:51][ 49s][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
+ [04:57:52][ 50s][WEIGHTS] round 1: student kept (labeled Dice 0.122 vs best teacher fly-mito 0.312); distilling the corrected ensemble into it
26
+ [04:57:52][ 50s][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
+ [04:57:53][ 51s][KD] soft labels for 681 patches from 4 teachers in 1s
28
+ [04:57:59][ 57s][KD] epoch 1/2 | patches=681 | loss=0.2886 | 6s
29
+ [04:58:06][ 64s][KD] epoch 2/2 | patches=681 | loss=0.2383 | 6s
30
+ [04:58:07][ 65s][CONS] pseudo-labels for 681 unlabeled patches from the current ensemble in 1s
31
+ [04:58:07][ 65s][FT] round 1/6 epoch 1/5 | patches=5 | loss=1.2861
32
+ [04:58:08][ 66s][FT] round 1/6 epoch 2/5 | patches=5 | loss=1.2453
33
+ [04:58:08][ 66s][FT] round 1/6 epoch 3/5 | patches=5 | loss=1.1900
34
+ [04:58:09][ 67s][FT] round 1/6 epoch 4/5 | patches=5 | loss=1.1678
35
+ [04:58:09][ 67s][FT] round 1/6 epoch 5/5 | patches=5 | loss=1.1580
36
+ [04:58:10][ 68s][AL] round 1/6 | labeled=5 | selection_seconds=5.2000 round_seconds=23.5000 restart_student_dice=0.1222 restart_teacher_dice=0.3119 val_dice=0.2709 val_vi=0.3049 val_ece=0.0198
37
+ [04:58:11][ 69s][AL] round 2: 10/681 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [04:58:12][ 70s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.186, uniform=0.049, top1=0.197, top2=0.186, top3=0.186 -> using top1
39
+ [04:58:12][ 70s][WEIGHTS] round 2: teacher Dice on 10 labeled patches + 0 blank (18558 fg px): fly-mito=0.197, kasthuri=0.181, lucchi=0.000, multiclass=0.002 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
40
+ [04:58:14][ 72s][CONS] round 2: on the 5 new patches student Dice=0.108 vs ensemble 0.085 -> pseudo-labels from the student | consistency x0.00
41
+ [04:58:14][ 72s][FT] round 2/6 epoch 1/5 | patches=10 | loss=1.0486
42
+ [04:58:14][ 72s][FT] round 2/6 epoch 2/5 | patches=10 | loss=1.0370
43
+ [04:58:15][ 73s][FT] round 2/6 epoch 3/5 | patches=10 | loss=1.0217
44
+ [04:58:15][ 73s][FT] round 2/6 epoch 4/5 | patches=10 | loss=0.9820
45
+ [04:58:16][ 74s][FT] round 2/6 epoch 5/5 | patches=10 | loss=0.9480
46
+ [04:58:16][ 74s][AL] round 2/6 | labeled=10 | selection_seconds=1.3000 round_seconds=6.0000 pseudo_student_dice=0.1078 pseudo_ensemble_dice=0.0846 consistency_scale=0.0000 val_dice=0.3910 val_vi=0.2760 val_ece=0.0339
47
+ [04:58:17][ 75s][AL] round 3: 72/676 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [04:58:26][ 84s][WEIGHTS] round 3: teacher agreement with the student on 671 unlabeled patches: fly-mito=0.542, kasthuri=0.514, lucchi=0.004, multiclass=0.000 | blended with labeled Dice at 0.50
49
+ [04:58:34][ 92s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.340, uniform=0.047, top1=0.364, top2=0.340, top3=0.340 -> using top1
50
+ [04:58:34][ 92s][WEIGHTS] round 3: teacher Dice on 15 labeled patches + 0 blank (24653 fg px): fly-mito=0.364, kasthuri=0.332, lucchi=0.002, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
51
+ [04:58:36][ 94s][CONS] round 3: on the 5 new patches student Dice=0.221 vs ensemble 0.166 -> pseudo-labels from the student | consistency x0.00
52
+ [04:58:36][ 94s][FT] round 3/6 epoch 1/5 | patches=15 | loss=0.9594
53
+ [04:58:37][ 95s][FT] round 3/6 epoch 2/5 | patches=15 | loss=0.9165
54
+ [04:58:37][ 95s][FT] round 3/6 epoch 3/5 | patches=15 | loss=0.8829
55
+ [04:58:38][ 96s][FT] round 3/6 epoch 4/5 | patches=15 | loss=0.8287
56
+ [04:58:38][ 96s][FT] round 3/6 epoch 5/5 | patches=15 | loss=0.7922
57
+ [04:58:38][ 96s][AL] round 3/6 | labeled=15 | selection_seconds=1.3000 round_seconds=22.0000 pseudo_student_dice=0.2206 pseudo_ensemble_dice=0.1655 consistency_scale=0.0000 val_dice=0.4794 val_vi=0.2113 val_ece=0.0096
58
+ [04:58:40][ 98s][AL] round 4: 91/671 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [04:58:49][ 107s][WEIGHTS] round 4: teacher agreement with the student on 666 unlabeled patches: fly-mito=0.488, kasthuri=0.518, lucchi=0.005, multiclass=0.000 | blended with labeled Dice at 0.50
60
+ [04:58:57][ 115s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.336, uniform=0.042, top1=0.339, top2=0.336, top3=0.336 -> using mixture
61
+ [04:58:57][ 115s][WEIGHTS] round 4: teacher Dice on 20 labeled patches + 0 blank (39174 fg px): fly-mito=0.339, kasthuri=0.332, lucchi=0.003, multiclass=0.001 | weights: fly-mito=0.130, kasthuri=0.868, lucchi=0.001, multiclass=0.001
62
+ [04:58:59][ 117s][CONS] round 4: on the 5 new patches student Dice=0.266 vs ensemble 0.144 -> pseudo-labels from the student | consistency x0.00
63
+ [04:58:59][ 117s][FT] round 4/6 epoch 1/5 | patches=20 | loss=0.7862
64
+ [04:59:00][ 118s][FT] round 4/6 epoch 2/5 | patches=20 | loss=0.7593
65
+ [04:59:00][ 118s][FT] round 4/6 epoch 3/5 | patches=20 | loss=0.6879
66
+ [04:59:01][ 119s][FT] round 4/6 epoch 4/5 | patches=20 | loss=0.6546
67
+ [04:59:01][ 119s][FT] round 4/6 epoch 5/5 | patches=20 | loss=0.6581
68
+ [04:59:02][ 120s][AL] round 4/6 | labeled=20 | selection_seconds=1.3000 round_seconds=22.6000 pseudo_student_dice=0.2664 pseudo_ensemble_dice=0.1440 consistency_scale=0.0000 val_dice=0.5896 val_vi=0.1470 val_ece=0.0053
69
+ [04:59:03][ 121s][AL] round 5: 110/666 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [04:59:12][ 130s][WEIGHTS] round 5: teacher agreement with the student on 661 unlabeled patches: fly-mito=0.377, kasthuri=0.468, lucchi=0.009, multiclass=0.000 | blended with labeled Dice at 0.50
71
+ [04:59:19][ 137s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.298, uniform=0.040, top1=0.296, top2=0.298, top3=0.298 -> using mixture
72
+ [04:59:19][ 137s][WEIGHTS] round 5: teacher Dice on 25 labeled patches + 0 blank (52837 fg px): fly-mito=0.283, kasthuri=0.296, lucchi=0.005, multiclass=0.001 | weights: fly-mito=0.109, kasthuri=0.888, lucchi=0.001, multiclass=0.001
73
+ [04:59:21][ 139s][CONS] round 5: on the 5 new patches student Dice=0.449 vs ensemble 0.043 -> pseudo-labels from the student | consistency x0.00
74
+ [04:59:22][ 140s][FT] round 5/6 epoch 1/5 | patches=25 | loss=0.6253
75
+ [04:59:22][ 140s][FT] round 5/6 epoch 2/5 | patches=25 | loss=0.5868
76
+ [04:59:23][ 141s][FT] round 5/6 epoch 3/5 | patches=25 | loss=0.5319
77
+ [04:59:23][ 141s][FT] round 5/6 epoch 4/5 | patches=25 | loss=0.5841
78
+ [04:59:24][ 142s][FT] round 5/6 epoch 5/5 | patches=25 | loss=0.5223
79
+ [04:59:24][ 142s][AL] round 5/6 | labeled=25 | selection_seconds=1.3000 round_seconds=22.2000 pseudo_student_dice=0.4489 pseudo_ensemble_dice=0.0427 consistency_scale=0.0000 val_dice=0.7094 val_vi=0.1120 val_ece=0.0088
80
+ [04:59:25][ 143s][AL] round 6: 158/661 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [04:59:34][ 152s][WEIGHTS] round 6: teacher agreement with the student on 656 unlabeled patches: fly-mito=0.350, kasthuri=0.455, lucchi=0.010, multiclass=0.001 | blended with labeled Dice at 0.50
82
+ [04:59:42][ 160s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.285, uniform=0.042, top1=0.283, top2=0.285, top3=0.285 -> using mixture
83
+ [04:59:42][ 160s][WEIGHTS] round 6: teacher Dice on 30 labeled patches + 0 blank (67074 fg px): fly-mito=0.272, kasthuri=0.283, lucchi=0.006, multiclass=0.001 | weights: fly-mito=0.111, kasthuri=0.886, lucchi=0.002, multiclass=0.001
84
+ [04:59:44][ 162s][CONS] round 6: on the 5 new patches student Dice=0.399 vs ensemble 0.059 -> pseudo-labels from the student | consistency x0.00
85
+ [04:59:45][ 163s][FT] round 6/6 epoch 1/5 | patches=30 | loss=0.5660
86
+ [04:59:45][ 163s][FT] round 6/6 epoch 2/5 | patches=30 | loss=0.6058
87
+ [04:59:46][ 164s][FT] round 6/6 epoch 3/5 | patches=30 | loss=0.5576
88
+ [04:59:46][ 164s][FT] round 6/6 epoch 4/5 | patches=30 | loss=0.5193
89
+ [04:59:47][ 165s][FT] round 6/6 epoch 5/5 | patches=30 | loss=0.5235
90
+ [04:59:47][ 165s][AL] round 6/6 | labeled=30 | selection_seconds=1.2000 round_seconds=22.6000 pseudo_student_dice=0.3987 pseudo_ensemble_dice=0.0586 consistency_scale=0.0000 val_dice=0.6698 val_vi=0.1306 val_ece=0.0119
91
+ [04:59:48][ 166s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [04:59:49][ 167s][FT] final 1/10 epoch 1/1 | patches=30 | loss=0.5154
93
+ [04:59:49][ 167s][FT] final 2/10 epoch 1/1 | patches=30 | loss=0.4676
94
+ [04:59:50][ 168s][FT] final 3/10 epoch 1/1 | patches=30 | loss=0.4743
95
+ [04:59:50][ 168s][FT] final 4/10 epoch 1/1 | patches=30 | loss=0.4537
96
+ [04:59:51][ 169s][FT] final 5/10 epoch 1/1 | patches=30 | loss=0.4082
97
+ [04:59:51][ 169s][FT] final 6/10 epoch 1/1 | patches=30 | loss=0.4052
98
+ [04:59:52][ 170s][FT] final 7/10 epoch 1/1 | patches=30 | loss=0.4700
99
+ [04:59:52][ 170s][FT] final 8/10 epoch 1/1 | patches=30 | loss=0.4553
100
+ [04:59:53][ 171s][FT] final 9/10 epoch 1/1 | patches=30 | loss=0.3955
101
+ [04:59:53][ 171s][FT] final 10/10 epoch 1/1 | patches=30 | loss=0.4500
102
+ [04:59:54][ 172s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=6.2000 val_dice=0.7056 val_vi=0.1168 val_ece=0.0112
103
+ [04:59:54][ 172s][WEIGHTS] final: fly-mito=0.111, kasthuri=0.886, lucchi=0.002, multiclass=0.001
104
+ [04:59:56][ 174s][TEST] raw student (no EMA, no TTA): patch_dice=0.8127 patch_vi=0.1193
105
+ [04:59:56][ 174s][TEST] final model without TTA: patch_dice=0.8127 patch_vi=0.1193
106
+ [04:59:56][ 174s][RESOURCES] {"phases": {"setup": {"seconds": 0.61, "peak_cpu_rss_mb": 1026.1, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 5.97, "peak_cpu_rss_mb": 1806.7, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 36.39, "peak_cpu_rss_mb": 2105.8, "peak_gpu_alloc_mb": 3829.8, "peak_gpu_reserved_mb": 4168.0, "kd_epochs": 5}, "active_learning": {"seconds": 128.19, "peak_cpu_rss_mb": 2391.1, "peak_gpu_alloc_mb": 3948.5, "peak_gpu_reserved_mb": 4176.0, "rounds": 6}, "inference": {"seconds": 2.58, "peak_cpu_rss_mb": 2391.1, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4176.0, "patches": 147, "images": 3, "patches_per_second": 57.0, "seconds_per_image": 0.86}}, "peak_gpu_alloc_mb": 3948.5, "peak_cpu_rss_mb": 2391.1, "total_seconds": 173.7}
107
+ [04:59:56][ 174s][TEST] patch_dice=0.8160 patch_iou=0.7287 patch_precision=0.7998 patch_recall=0.9001 patch_vi=0.1139 image_dice=0.8812 image_iou=0.7880 image_precision=0.8454 image_recall=0.9222 image_vi=0.1310 cal_ece=0.0042 cal_nll=0.0412 cal_brier=0.0119 cal_mean_confidence=0.9879 cal_accuracy=0.9841 cal_predicted_prevalence=0.0646 cal_true_prevalence=0.0594 cal_mean_probability=0.0660
108
+ [04:59:57][ 175s][DONE] drosophila-vnc macs-v11-norestart-acq-margin b5 s1 | test patch Dice=0.8160 VI=0.1139 | image Dice=0.8812 VI=0.1310 | 174s
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-margin/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,667 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "drosophila-vnc",
3
+ "variant": "macs-v11-norestart-acq-margin",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "drosophila-vnc",
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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
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
+ "1",
129
+ "--num-workers",
130
+ "5",
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": "/home/user/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 4090",
140
+ "cuda": "13.0",
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.11690531690536884,
152
+ 0.8375898290916663,
153
+ 0.02560239431814963,
154
+ 0.01990245968481518
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "lucchi-pp",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.11690531690536884,
165
+ 0.8375898290916663,
166
+ 0.02560239431814963,
167
+ 0.01990245968481518
168
+ ],
169
+ "per_source": [
170
+ 0.038599381604120485,
171
+ 0.943285983973492,
172
+ 0.013712262708195049,
173
+ 0.004402371714192633
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.1917814945701421,
183
+ "mmd2_mixture": 0.19749308036725388,
184
+ "mmd2_uniform": 0.3743480458439246,
185
+ "mmd2_single_source": [
186
+ 0.7042945447726864,
187
+ 0.2070680114579429,
188
+ 0.6307945959829456,
189
+ 0.6534353423959632
190
+ ],
191
+ "median_squared_distance": 0.1964580928585633,
192
+ "gammas": [
193
+ 1.2725360221224549,
194
+ 2.5450720442449097,
195
+ 5.0901440884898195,
196
+ 10.180288176979639,
197
+ 20.360576353959278
198
+ ],
199
+ "max_weight": 0.8375898290916663,
200
+ "entropy": 0.5711585797111782,
201
+ "effective_sources": 1.7703169170005038,
202
+ "min_weight": 0.01990245968481518
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6050756121533214,
207
+ 0.3110169227475098,
208
+ 0.7002952924749369,
209
+ 0.8048259551971948
210
+ ],
211
+ "standardized": [
212
+ -0.0012381647254944845,
213
+ -1.5993047903844642,
214
+ 0.5162347028009382,
215
+ 1.0843082523090217
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.943285983973492,
219
+ "entropy": 0.2634007298678481,
220
+ "effective_sources": 1.3013481035311127,
221
+ "min_weight": 0.004402371714192633
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "kasthuri-pp",
226
+ "seconds": 1.1
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.2784035818310388,
231
+ 0.18341782772166676,
232
+ 0.057702367443012846,
233
+ 0.01681466600081078
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.186522633793688,
237
+ "mixture@raw": 0.18548325188563394,
238
+ "mixture@logit": 0.19296315829990748,
239
+ "per_source": 0.18415887092754818,
240
+ "per_source@raw": 0.18350562678267812,
241
+ "per_source@logit": 0.1890579186582894,
242
+ "uniform": 0.06967222752121038,
243
+ "uniform@raw": 0.0884686387663988,
244
+ "uniform@logit": 0.06545324142703345
245
+ },
246
+ "val_patches": 147
247
+ },
248
+ "temperatures": [
249
+ 1.3819772005081177,
250
+ 2.5080416202545166,
251
+ 3.7969236373901367,
252
+ 2.597255229949951
253
+ ],
254
+ "top_source": "kasthuri-pp",
255
+ "weight_stats": {
256
+ "max_weight": 0.8375898290916663,
257
+ "entropy": 0.5711585797111782,
258
+ "effective_sources": 1.7703169170005038,
259
+ "min_weight": 0.01990245968481518
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": 36.4,
271
+ "round0_val": {
272
+ "val_dice": 0.19168290697357765,
273
+ "val_vi": 0.22123099590519313,
274
+ "val_ece": 0.02235104280276007
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 5,
280
+ "selection_seconds": 5.2,
281
+ "round_seconds": 23.5,
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.12218059783032857,
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.3032701474337657,
304
+ "uniform": 0.018090264826557255,
305
+ "top1": 0.3118739095489208,
306
+ "top2": 0.3048324685603729,
307
+ "top3": 0.3042586054721977
308
+ },
309
+ "val_dice": 0.27092069976166006,
310
+ "val_vi": 0.3048773627261147,
311
+ "val_ece": 0.019770819577808685
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 10,
316
+ "selection_seconds": 1.3,
317
+ "round_seconds": 6.0,
318
+ "teacher_dice_labeled": [
319
+ 0.19717803802753986,
320
+ 0.1805899733130004,
321
+ 0.0003737319807794981,
322
+ 0.0023752969121140144
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 18558,
326
+ "evidence_nonempty_patches": 8,
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.18626228722128985,
338
+ "uniform": 0.049455026993990014,
339
+ "top1": 0.19717803802753986,
340
+ "top2": 0.18620293462910215,
341
+ "top3": 0.18620970445945298
342
+ },
343
+ "pseudo_student_dice": 0.10775674024954192,
344
+ "pseudo_ensemble_dice": 0.0846065037521647,
345
+ "pseudo_source": "student",
346
+ "consistency_scale": 0.0,
347
+ "val_dice": 0.39099553159399997,
348
+ "val_vi": 0.27599488257770194,
349
+ "val_ece": 0.03385775081323113
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 15,
354
+ "selection_seconds": 1.3,
355
+ "round_seconds": 22.0,
356
+ "teacher_dice_labeled": [
357
+ 0.3640246067431969,
358
+ 0.3316745838639298,
359
+ 0.0019141719919512118,
360
+ 0.0010269183279976834
361
+ ],
362
+ "teacher_dice_pool": [
363
+ 0.5423140882497323,
364
+ 0.5143849788839585,
365
+ 0.003546472356295111,
366
+ 0.0002619360467491595
367
+ ],
368
+ "evidence_fg_pixels": 24653,
369
+ "evidence_nonempty_patches": 11,
370
+ "first_correction": false,
371
+ "restart": "",
372
+ "weights": [
373
+ 1.0,
374
+ 0.0,
375
+ 0.0,
376
+ 0.0
377
+ ],
378
+ "ensemble_choice": "top1",
379
+ "candidate_dice": {
380
+ "mixture": 0.3395188668558075,
381
+ "uniform": 0.04689973786647725,
382
+ "top1": 0.3640246067431969,
383
+ "top2": 0.3395821856889235,
384
+ "top3": 0.33954572307904063
385
+ },
386
+ "pseudo_student_dice": 0.22056063804832277,
387
+ "pseudo_ensemble_dice": 0.16550525645658046,
388
+ "pseudo_source": "student",
389
+ "consistency_scale": 0.0,
390
+ "val_dice": 0.47937634338993435,
391
+ "val_vi": 0.21128977939475435,
392
+ "val_ece": 0.009649798385442703
393
+ },
394
+ {
395
+ "round": 4,
396
+ "n_labeled": 20,
397
+ "selection_seconds": 1.3,
398
+ "round_seconds": 22.6,
399
+ "teacher_dice_labeled": [
400
+ 0.33894606300963487,
401
+ 0.33203760786110254,
402
+ 0.003406787294381386,
403
+ 0.0008236433469535518
404
+ ],
405
+ "teacher_dice_pool": [
406
+ 0.4882980688802892,
407
+ 0.5177185039317563,
408
+ 0.005067358057912947,
409
+ 0.0002118076972313708
410
+ ],
411
+ "evidence_fg_pixels": 39174,
412
+ "evidence_nonempty_patches": 16,
413
+ "first_correction": false,
414
+ "restart": "",
415
+ "weights": [
416
+ 0.12987252082567358,
417
+ 0.8683830988706824,
418
+ 0.0009925103168831313,
419
+ 0.0007518699867609326
420
+ ],
421
+ "ensemble_choice": "mixture",
422
+ "candidate_dice": {
423
+ "mixture": 0.33624660092618736,
424
+ "uniform": 0.04154563567677867,
425
+ "top1": 0.33894606300963487,
426
+ "top2": 0.33631352136850234,
427
+ "top3": 0.33625433868249766
428
+ },
429
+ "pseudo_student_dice": 0.2663955078828018,
430
+ "pseudo_ensemble_dice": 0.14395372526193248,
431
+ "pseudo_source": "student",
432
+ "consistency_scale": 0.0,
433
+ "val_dice": 0.5895830169053273,
434
+ "val_vi": 0.14701486319551668,
435
+ "val_ece": 0.005259925208484618
436
+ },
437
+ {
438
+ "round": 5,
439
+ "n_labeled": 25,
440
+ "selection_seconds": 1.3,
441
+ "round_seconds": 22.2,
442
+ "teacher_dice_labeled": [
443
+ 0.28347866835979546,
444
+ 0.29629355806286156,
445
+ 0.005265936456685989,
446
+ 0.0011409426433959182
447
+ ],
448
+ "teacher_dice_pool": [
449
+ 0.37725700020977354,
450
+ 0.46814559181560483,
451
+ 0.009089817328683986,
452
+ 0.0002059936819967136
453
+ ],
454
+ "evidence_fg_pixels": 52837,
455
+ "evidence_nonempty_patches": 20,
456
+ "first_correction": false,
457
+ "restart": "",
458
+ "weights": [
459
+ 0.10907589581677156,
460
+ 0.8883421701062245,
461
+ 0.0014788106325029009,
462
+ 0.0011031234445009884
463
+ ],
464
+ "ensemble_choice": "mixture",
465
+ "candidate_dice": {
466
+ "mixture": 0.2981801868826781,
467
+ "uniform": 0.040404132361419064,
468
+ "top1": 0.29629355806286156,
469
+ "top2": 0.29825831529887437,
470
+ "top3": 0.2982222264110502
471
+ },
472
+ "pseudo_student_dice": 0.4488768227000044,
473
+ "pseudo_ensemble_dice": 0.042720602432902106,
474
+ "pseudo_source": "student",
475
+ "consistency_scale": 0.0,
476
+ "val_dice": 0.7094354984789913,
477
+ "val_vi": 0.11197468489454974,
478
+ "val_ece": 0.008760546333009399
479
+ },
480
+ {
481
+ "round": 6,
482
+ "n_labeled": 30,
483
+ "selection_seconds": 1.2,
484
+ "round_seconds": 22.6,
485
+ "teacher_dice_labeled": [
486
+ 0.2724591555035009,
487
+ 0.2829514427188626,
488
+ 0.005805749140485103,
489
+ 0.0011238169277639535
490
+ ],
491
+ "teacher_dice_pool": [
492
+ 0.35042379468295565,
493
+ 0.45451658602563566,
494
+ 0.01047669215596468,
495
+ 0.0006093541967623729
496
+ ],
497
+ "evidence_fg_pixels": 67074,
498
+ "evidence_nonempty_patches": 23,
499
+ "first_correction": false,
500
+ "restart": "",
501
+ "weights": [
502
+ 0.11131163266174687,
503
+ 0.8857376563778061,
504
+ 0.0016940485074520217,
505
+ 0.0012566624529949536
506
+ ],
507
+ "ensemble_choice": "mixture",
508
+ "candidate_dice": {
509
+ "mixture": 0.284854314782343,
510
+ "uniform": 0.041772513841434294,
511
+ "top1": 0.2829514427188626,
512
+ "top2": 0.284905995057746,
513
+ "top3": 0.28487357388139867
514
+ },
515
+ "pseudo_student_dice": 0.39869975876027314,
516
+ "pseudo_ensemble_dice": 0.05862639635912288,
517
+ "pseudo_source": "student",
518
+ "consistency_scale": 0.0,
519
+ "val_dice": 0.6698150851720401,
520
+ "val_vi": 0.1305862633741253,
521
+ "val_ece": 0.011866765588902227
522
+ },
523
+ {
524
+ "round": 7,
525
+ "n_labeled": 30,
526
+ "selection_seconds": 0.0,
527
+ "round_seconds": 6.2,
528
+ "final_consolidation": true,
529
+ "val_dice": 0.7055667561203255,
530
+ "val_vi": 0.11683635188920495,
531
+ "val_ece": 0.011193001351058354
532
+ }
533
+ ],
534
+ "uncertainty_quality": {
535
+ "spearman_uncertainty_error": 0.08899991394046061,
536
+ "auroc_top20_error": 0.5872474346768222
537
+ },
538
+ "al_seconds": 128.2,
539
+ "source_archs": [
540
+ "unet",
541
+ "unet",
542
+ "unet",
543
+ "unet"
544
+ ],
545
+ "alphas_final": [
546
+ 0.11131163266174687,
547
+ 0.8857376563778061,
548
+ 0.0016940485074520217,
549
+ 0.0012566624529949536
550
+ ],
551
+ "weight_stats_final": {
552
+ "max_weight": 0.8857376563778061,
553
+ "entropy": 0.37104918671331083,
554
+ "effective_sources": 1.449254355692067,
555
+ "min_weight": 0.0012566624529949536
556
+ },
557
+ "top_source_final": "kasthuri-pp",
558
+ "ensemble_choice_final": "",
559
+ "restart": "kept",
560
+ "test_raw_student": {
561
+ "patch_dice": 0.812722205200734,
562
+ "patch_iou": 0.725063429876011,
563
+ "patch_precision": 0.7900888338957477,
564
+ "patch_recall": 0.905797142842391,
565
+ "patch_vi": 0.11934194083093992,
566
+ "n_patches": 147,
567
+ "cal_ece": 0.01095954651793581,
568
+ "cal_nll": 0.05754046776538521,
569
+ "cal_brier": 0.013845200752527742,
570
+ "cal_mean_confidence": 0.994078189838488,
571
+ "cal_accuracy": 0.9832456420068028,
572
+ "cal_predicted_prevalence": 0.06584821428571429,
573
+ "cal_true_prevalence": 0.05939094387755102,
574
+ "cal_mean_probability": 0.06584790728883756
575
+ },
576
+ "test_notta": {
577
+ "patch_dice": 0.812722205200734,
578
+ "patch_iou": 0.725063429876011,
579
+ "patch_precision": 0.7900888338957477,
580
+ "patch_recall": 0.905797142842391,
581
+ "patch_vi": 0.11934194083093992,
582
+ "n_patches": 147,
583
+ "cal_ece": 0.01095954651793581,
584
+ "cal_nll": 0.05754046776538521,
585
+ "cal_brier": 0.013845200752527742,
586
+ "cal_mean_confidence": 0.994078189838488,
587
+ "cal_accuracy": 0.9832456420068028,
588
+ "cal_predicted_prevalence": 0.06584821428571429,
589
+ "cal_true_prevalence": 0.05939094387755102,
590
+ "cal_mean_probability": 0.06584790728883756
591
+ },
592
+ "test": {
593
+ "patch_dice": 0.8160149021553218,
594
+ "patch_iou": 0.728680459250354,
595
+ "patch_precision": 0.7997959914735588,
596
+ "patch_recall": 0.9001494344816307,
597
+ "patch_vi": 0.11392365994158125,
598
+ "n_patches": 147,
599
+ "image_dice": 0.8812000396184795,
600
+ "image_iou": 0.7880471247693754,
601
+ "image_precision": 0.8454001509224097,
602
+ "image_recall": 0.9222251231022218,
603
+ "image_vi": 0.1309689113182238,
604
+ "n_images": 3,
605
+ "cal_ece": 0.004152246751486293,
606
+ "cal_nll": 0.04119385390428756,
607
+ "cal_brier": 0.011927609300364279,
608
+ "cal_mean_confidence": 0.987949771162949,
609
+ "cal_accuracy": 0.9841225552721088,
610
+ "cal_predicted_prevalence": 0.06462585034013606,
611
+ "cal_true_prevalence": 0.05939094387755102,
612
+ "cal_mean_probability": 0.06603734781981793
613
+ },
614
+ "eval_seconds": 2.6,
615
+ "total_seconds": 174.4,
616
+ "resources": {
617
+ "phases": {
618
+ "setup": {
619
+ "seconds": 0.61,
620
+ "peak_cpu_rss_mb": 1026.1,
621
+ "peak_gpu_alloc_mb": 592.4,
622
+ "peak_gpu_reserved_mb": 594.0
623
+ },
624
+ "features_and_weights": {
625
+ "seconds": 5.97,
626
+ "peak_cpu_rss_mb": 1806.7,
627
+ "peak_gpu_alloc_mb": 2298.2,
628
+ "peak_gpu_reserved_mb": 2640.0
629
+ },
630
+ "distillation": {
631
+ "seconds": 36.39,
632
+ "peak_cpu_rss_mb": 2105.8,
633
+ "peak_gpu_alloc_mb": 3829.8,
634
+ "peak_gpu_reserved_mb": 4168.0,
635
+ "kd_epochs": 5
636
+ },
637
+ "active_learning": {
638
+ "seconds": 128.19,
639
+ "peak_cpu_rss_mb": 2391.1,
640
+ "peak_gpu_alloc_mb": 3948.5,
641
+ "peak_gpu_reserved_mb": 4176.0,
642
+ "rounds": 6
643
+ },
644
+ "inference": {
645
+ "seconds": 2.58,
646
+ "peak_cpu_rss_mb": 2391.1,
647
+ "peak_gpu_alloc_mb": 2149.5,
648
+ "peak_gpu_reserved_mb": 4176.0,
649
+ "patches": 147,
650
+ "images": 3,
651
+ "patches_per_second": 57.0,
652
+ "seconds_per_image": 0.86
653
+ }
654
+ },
655
+ "peak_gpu_alloc_mb": 3948.5,
656
+ "peak_cpu_rss_mb": 2391.1,
657
+ "total_seconds": 173.7
658
+ },
659
+ "student_parameters": 31042369,
660
+ "teacher_parameters": [
661
+ 31042369,
662
+ 31042369,
663
+ 31042369,
664
+ 31042369
665
+ ],
666
+ "checkpoint": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/drosophila-vnc/macs-v11-norestart-acq-margin_b5_s1.pth"
667
+ }
macs_v2_r26/runs/mitochondria/drosophila-vnc/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,5,5.2,23.5,"[0.3118739095489208, 0.0968435913812229, 0.0004512053628980276, 0.00288]",,15368,5,True,kept,0.12218059783032857,0.3118739095489208,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.3032701474337657, 'uniform': 0.018090264826557255, 'top1': 0.3118739095489208, 'top2': 0.3048324685603729, 'top3': 0.3042586054721977}",0.27092069976166006,0.3048773627261147,0.019770819577808685,,,,,
3
+ 2,10,1.3,6.0,"[0.19717803802753986, 0.1805899733130004, 0.0003737319807794981, 0.0023752969121140144]",,18558,8,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.18626228722128985, 'uniform': 0.049455026993990014, 'top1': 0.19717803802753986, 'top2': 0.18620293462910215, 'top3': 0.18620970445945298}",0.39099553159399997,0.27599488257770194,0.03385775081323113,0.10775674024954192,0.0846065037521647,student,0.0,
4
+ 3,15,1.3,22.0,"[0.3640246067431969, 0.3316745838639298, 0.0019141719919512118, 0.0010269183279976834]","[0.5423140882497323, 0.5143849788839585, 0.003546472356295111, 0.0002619360467491595]",24653,11,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.3395188668558075, 'uniform': 0.04689973786647725, 'top1': 0.3640246067431969, 'top2': 0.3395821856889235, 'top3': 0.33954572307904063}",0.47937634338993435,0.21128977939475435,0.009649798385442703,0.22056063804832277,0.16550525645658046,student,0.0,
5
+ 4,20,1.3,22.6,"[0.33894606300963487, 0.33203760786110254, 0.003406787294381386, 0.0008236433469535518]","[0.4882980688802892, 0.5177185039317563, 0.005067358057912947, 0.0002118076972313708]",39174,16,False,,,,"[0.12987252082567358, 0.8683830988706824, 0.0009925103168831313, 0.0007518699867609326]",mixture,"{'mixture': 0.33624660092618736, 'uniform': 0.04154563567677867, 'top1': 0.33894606300963487, 'top2': 0.33631352136850234, 'top3': 0.33625433868249766}",0.5895830169053273,0.14701486319551668,0.005259925208484618,0.2663955078828018,0.14395372526193248,student,0.0,
6
+ 5,25,1.3,22.2,"[0.28347866835979546, 0.29629355806286156, 0.005265936456685989, 0.0011409426433959182]","[0.37725700020977354, 0.46814559181560483, 0.009089817328683986, 0.0002059936819967136]",52837,20,False,,,,"[0.10907589581677156, 0.8883421701062245, 0.0014788106325029009, 0.0011031234445009884]",mixture,"{'mixture': 0.2981801868826781, 'uniform': 0.040404132361419064, 'top1': 0.29629355806286156, 'top2': 0.29825831529887437, 'top3': 0.2982222264110502}",0.7094354984789913,0.11197468489454974,0.008760546333009399,0.4488768227000044,0.042720602432902106,student,0.0,
7
+ 6,30,1.2,22.6,"[0.2724591555035009, 0.2829514427188626, 0.005805749140485103, 0.0011238169277639535]","[0.35042379468295565, 0.45451658602563566, 0.01047669215596468, 0.0006093541967623729]",67074,23,False,,,,"[0.11131163266174687, 0.8857376563778061, 0.0016940485074520217, 0.0012566624529949536]",mixture,"{'mixture': 0.284854314782343, 'uniform': 0.041772513841434294, 'top1': 0.2829514427188626, 'top2': 0.284905995057746, 'top3': 0.28487357388139867}",0.6698150851720401,0.1305862633741253,0.011866765588902227,0.39869975876027314,0.05862639635912288,student,0.0,
8
+ 7,30,0.0,6.2,,,,,,,,,,,,0.7055667561203255,0.11683635188920495,0.011193001351058354,,,,,True
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-random/budget-5/seed-1/log.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [04:25:06][ 0s][START] target=drosophila-vnc variant=macs-v11-norestart-acq-random budget=5.0% seed=1 | {"task": "mitochondria", "target": "drosophila-vnc", "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": 5, "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
+ [04:25: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
+ [04:25:06][ 0s][DATA] drosophila-vnc: train=686 val=147 test=147 patches
4
+ [04:25:08][ 2s][CALIB] source-val temperatures: fly-mito=1.38, kasthuri=2.51, lucchi=3.80, multiclass=2.60
5
+ [04:25:09][ 2s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [04:25:10][ 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
+ [04:25:10][ 3s][WEIGHTS] per-source: fly-mito=0.039, kasthuri=0.943, lucchi=0.014, multiclass=0.004 | min-MMD source (NeuroADDA rule) = kasthuri
8
+ [04:25:13][ 7s][TEACHERS] target-val Dice: fly-mito=0.278, kasthuri=0.183, lucchi=0.058, multiclass=0.017
9
+ [04:25:13][ 7s][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
+ [04:25:13][ 7s][WEIGHTS] using mixture: fly-mito=0.117, kasthuri=0.838, lucchi=0.026, multiclass=0.020
11
+ [04:25:13][ 7s][INIT] student initialised from teacher kasthuri (weight 0.838)
12
+ [04:25:15][ 8s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [04:25:15][ 8s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [04:25:19][ 12s][KD] soft labels for 686 patches from 4 teachers in 4s
15
+ [04:25:25][ 19s][KD] epoch 1/5 | patches=686 | loss=0.2005 | 6s
16
+ [04:25:32][ 25s][KD] epoch 2/5 | patches=686 | loss=0.1322 | 6s
17
+ [04:25:38][ 32s][KD] epoch 3/5 | patches=686 | loss=0.1258 | 6s
18
+ [04:25:44][ 38s][KD] epoch 4/5 | patches=686 | loss=0.1216 | 6s
19
+ [04:25:51][ 44s][KD] epoch 5/5 | patches=686 | loss=0.1204 | 6s
20
+ [04:25:51][ 45s][ROUND0] before any target label: val_dice=0.1917 val_vi=0.2213
21
+ [04:25:51][ 45s][AL] patches=686 (pool 686 after dropping blank; free blank negatives: True) | budget=34 (5.0%) | rounds=6 | per_round=5 | acquisition=random | first_round=stratified
22
+ [04:25:52][ 46s][AL] round-1 uncertainty quality on 686 patches: {'spearman_uncertainty_error': -0.03470887967342099, 'auroc_top20_error': 0.482987650099299}
23
+ [04:25:56][ 50s][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
+ [04:25:57][ 50s][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
+ [04:25:57][ 51s][WEIGHTS] round 1: student kept (labeled Dice 0.122 vs best teacher fly-mito 0.312); distilling the corrected ensemble into it
26
+ [04:25:57][ 51s][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
+ [04:25:58][ 52s][KD] soft labels for 681 patches from 4 teachers in 1s
28
+ [04:26:05][ 58s][KD] epoch 1/2 | patches=681 | loss=0.2886 | 7s
29
+ [04:26:11][ 65s][KD] epoch 2/2 | patches=681 | loss=0.2383 | 6s
30
+ [04:26:12][ 66s][CONS] pseudo-labels for 681 unlabeled patches from the current ensemble in 1s
31
+ [04:26:13][ 66s][FT] round 1/6 epoch 1/5 | patches=5 | loss=1.2861
32
+ [04:26:13][ 67s][FT] round 1/6 epoch 2/5 | patches=5 | loss=1.2453
33
+ [04:26:13][ 67s][FT] round 1/6 epoch 3/5 | patches=5 | loss=1.1900
34
+ [04:26:14][ 67s][FT] round 1/6 epoch 4/5 | patches=5 | loss=1.1676
35
+ [04:26:14][ 68s][FT] round 1/6 epoch 5/5 | patches=5 | loss=1.1582
36
+ [04:26:15][ 68s][AL] round 1/6 | labeled=5 | selection_seconds=5.3000 round_seconds=23.3000 restart_student_dice=0.1221 restart_teacher_dice=0.3119 val_dice=0.2704 val_vi=0.3045 val_ece=0.0198
37
+ [04:26:16][ 69s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.228, uniform=0.029, top1=0.337, top2=0.229, top3=0.229 -> using top1
38
+ [04:26:16][ 69s][WEIGHTS] round 2: teacher Dice on 10 labeled patches + 0 blank (29992 fg px): fly-mito=0.337, kasthuri=0.208, lucchi=0.000, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
39
+ [04:26:17][ 71s][CONS] round 2: on the 5 new patches student Dice=0.402 vs ensemble 0.361 -> pseudo-labels from the student | consistency x0.00
40
+ [04:26:18][ 71s][FT] round 2/6 epoch 1/5 | patches=10 | loss=0.9670
41
+ [04:26:18][ 72s][FT] round 2/6 epoch 2/5 | patches=10 | loss=0.9125
42
+ [04:26:19][ 72s][FT] round 2/6 epoch 3/5 | patches=10 | loss=0.8827
43
+ [04:26:19][ 73s][FT] round 2/6 epoch 4/5 | patches=10 | loss=0.8156
44
+ [04:26:19][ 73s][FT] round 2/6 epoch 5/5 | patches=10 | loss=0.7817
45
+ [04:26:20][ 74s][AL] round 2/6 | labeled=10 | selection_seconds=0.1000 round_seconds=4.7000 pseudo_student_dice=0.4019 pseudo_ensemble_dice=0.3610 consistency_scale=0.0000 val_dice=0.3955 val_vi=0.2676 val_ece=0.0101
46
+ [04:26:29][ 83s][WEIGHTS] round 3: teacher agreement with the student on 671 unlabeled patches: fly-mito=0.583, kasthuri=0.506, lucchi=0.004, multiclass=0.000 | blended with labeled Dice at 0.50
47
+ [04:26:37][ 91s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.379, uniform=0.031, top1=0.478, top2=0.380, top3=0.379 -> using top1
48
+ [04:26:37][ 91s][WEIGHTS] round 3: teacher Dice on 15 labeled patches + 0 blank (53089 fg px): fly-mito=0.478, kasthuri=0.362, lucchi=0.002, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
49
+ [04:26:39][ 93s][CONS] round 3: on the 5 new patches student Dice=0.659 vs ensemble 0.427 -> pseudo-labels from the student | consistency x0.53
50
+ [04:26:39][ 93s][FT] round 3/6 epoch 1/5 | patches=15 | loss=0.7948
51
+ [04:26:40][ 94s][FT] round 3/6 epoch 2/5 | patches=15 | loss=0.7941
52
+ [04:26:41][ 94s][FT] round 3/6 epoch 3/5 | patches=15 | loss=0.7283
53
+ [04:26:41][ 95s][FT] round 3/6 epoch 4/5 | patches=15 | loss=0.7077
54
+ [04:26:42][ 96s][FT] round 3/6 epoch 5/5 | patches=15 | loss=0.6730
55
+ [04:26:42][ 96s][AL] round 3/6 | labeled=15 | selection_seconds=0.1000 round_seconds=22.0000 pseudo_student_dice=0.6589 pseudo_ensemble_dice=0.4271 consistency_scale=0.5300 val_dice=0.5028 val_vi=0.1864 val_ece=0.0084
56
+ [04:26:52][ 105s][WEIGHTS] round 4: teacher agreement with the student on 666 unlabeled patches: fly-mito=0.484, kasthuri=0.500, lucchi=0.004, multiclass=0.000 | blended with labeled Dice at 0.50
57
+ [04:26:59][ 113s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.373, uniform=0.035, top1=0.431, top2=0.373, top3=0.373 -> using top1
58
+ [04:26:59][ 113s][WEIGHTS] round 4: teacher Dice on 20 labeled patches + 0 blank (74091 fg px): fly-mito=0.431, kasthuri=0.363, lucchi=0.006, multiclass=0.001 | weights: fly-mito=1.000, kasthuri=0.000, lucchi=0.000, multiclass=0.000
59
+ [04:27:01][ 115s][CONS] round 4: on the 5 new patches student Dice=0.649 vs ensemble 0.391 -> pseudo-labels from the student | consistency x0.50
60
+ [04:27:02][ 116s][FT] round 4/6 epoch 1/5 | patches=20 | loss=0.5785
61
+ [04:27:03][ 116s][FT] round 4/6 epoch 2/5 | patches=20 | loss=0.5677
62
+ [04:27:04][ 117s][FT] round 4/6 epoch 3/5 | patches=20 | loss=0.4914
63
+ [04:27:04][ 118s][FT] round 4/6 epoch 4/5 | patches=20 | loss=0.5238
64
+ [04:27:05][ 119s][FT] round 4/6 epoch 5/5 | patches=20 | loss=0.4591
65
+ [04:27:05][ 119s][AL] round 4/6 | labeled=20 | selection_seconds=0.1000 round_seconds=22.6000 pseudo_student_dice=0.6493 pseudo_ensemble_dice=0.3907 consistency_scale=0.4980 val_dice=0.6575 val_vi=0.1353 val_ece=0.0086
66
+ [04:27:14][ 128s][WEIGHTS] round 5: teacher agreement with the student on 661 unlabeled patches: fly-mito=0.371, kasthuri=0.460, lucchi=0.009, multiclass=0.001 | blended with labeled Dice at 0.50
67
+ [04:27:22][ 136s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.385, uniform=0.054, top1=0.382, top2=0.385, top3=0.385 -> using mixture
68
+ [04:27:22][ 136s][WEIGHTS] round 5: teacher Dice on 25 labeled patches + 0 blank (90327 fg px): fly-mito=0.372, kasthuri=0.382, lucchi=0.008, multiclass=0.004 | weights: fly-mito=0.111, kasthuri=0.888, lucchi=0.001, multiclass=0.000
69
+ [04:27:24][ 137s][CONS] round 5: on the 5 new patches student Dice=0.829 vs ensemble 0.593 -> pseudo-labels from the student | consistency x1.00
70
+ [04:27:25][ 138s][FT] round 5/6 epoch 1/5 | patches=25 | loss=0.4421
71
+ [04:27:25][ 139s][FT] round 5/6 epoch 2/5 | patches=25 | loss=0.3746
72
+ [04:27:26][ 140s][FT] round 5/6 epoch 3/5 | patches=25 | loss=0.3486
73
+ [04:27:27][ 141s][FT] round 5/6 epoch 4/5 | patches=25 | loss=0.3556
74
+ [04:27:28][ 142s][FT] round 5/6 epoch 5/5 | patches=25 | loss=0.3895
75
+ [04:27:29][ 142s][AL] round 5/6 | labeled=25 | selection_seconds=0.1000 round_seconds=22.6000 pseudo_student_dice=0.8290 pseudo_ensemble_dice=0.5930 consistency_scale=1.0000 val_dice=0.6519 val_vi=0.1272 val_ece=0.0108
76
+ [04:27:38][ 151s][WEIGHTS] round 6: teacher agreement with the student on 656 unlabeled patches: fly-mito=0.399, kasthuri=0.472, lucchi=0.010, multiclass=0.001 | blended with labeled Dice at 0.50
77
+ [04:27:45][ 159s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.376, uniform=0.049, top1=0.376, top2=0.376, top3=0.376 -> using mixture
78
+ [04:27:45][ 159s][WEIGHTS] round 6: teacher Dice on 30 labeled patches + 0 blank (102597 fg px): fly-mito=0.376, kasthuri=0.374, lucchi=0.008, multiclass=0.003 | weights: fly-mito=0.125, kasthuri=0.873, lucchi=0.001, multiclass=0.001
79
+ [04:27:47][ 161s][CONS] round 6: on the 5 new patches student Dice=0.783 vs ensemble 0.000 -> pseudo-labels from the student | consistency x0.94
80
+ [04:27:48][ 162s][FT] round 6/6 epoch 1/5 | patches=30 | loss=0.3306
81
+ [04:27:49][ 163s][FT] round 6/6 epoch 2/5 | patches=30 | loss=0.3561
82
+ [04:27:50][ 163s][FT] round 6/6 epoch 3/5 | patches=30 | loss=0.3140
83
+ [04:27:51][ 164s][FT] round 6/6 epoch 4/5 | patches=30 | loss=0.3094
84
+ [04:27:52][ 165s][FT] round 6/6 epoch 5/5 | patches=30 | loss=0.3001
85
+ [04:27:52][ 166s][AL] round 6/6 | labeled=30 | selection_seconds=0.1000 round_seconds=23.1000 pseudo_student_dice=0.7834 pseudo_ensemble_dice=0.0001 consistency_scale=0.9450 val_dice=0.6547 val_vi=0.1273 val_ece=0.0109
86
+ [04:27:53][ 167s][CONS] final consolidation: pseudo-labels refreshed from the student
87
+ [04:27:54][ 168s][FT] final 1/10 epoch 1/1 | patches=30 | loss=0.2706
88
+ [04:27:55][ 169s][FT] final 2/10 epoch 1/1 | patches=30 | loss=0.2997
89
+ [04:27:56][ 169s][FT] final 3/10 epoch 1/1 | patches=30 | loss=0.3040
90
+ [04:27:57][ 170s][FT] final 4/10 epoch 1/1 | patches=30 | loss=0.2837
91
+ [04:27:58][ 171s][FT] final 5/10 epoch 1/1 | patches=30 | loss=0.2883
92
+ [04:27:58][ 172s][FT] final 6/10 epoch 1/1 | patches=30 | loss=0.2767
93
+ [04:27:59][ 173s][FT] final 7/10 epoch 1/1 | patches=30 | loss=0.2819
94
+ [04:28:00][ 174s][FT] final 8/10 epoch 1/1 | patches=30 | loss=0.2961
95
+ [04:28:01][ 175s][FT] final 9/10 epoch 1/1 | patches=30 | loss=0.2780
96
+ [04:28:02][ 176s][FT] final 10/10 epoch 1/1 | patches=30 | loss=0.3077
97
+ [04:28:02][ 176s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=9.9000 val_dice=0.6747 val_vi=0.1178 val_ece=0.0097
98
+ [04:28:02][ 176s][WEIGHTS] final: fly-mito=0.125, kasthuri=0.873, lucchi=0.001, multiclass=0.001
99
+ [04:28:05][ 178s][TEST] raw student (no EMA, no TTA): patch_dice=0.7961 patch_vi=0.1242
100
+ [04:28:05][ 179s][TEST] final model without TTA: patch_dice=0.7961 patch_vi=0.1242
101
+ [04:28:05][ 179s][RESOURCES] {"phases": {"setup": {"seconds": 1.6, "peak_cpu_rss_mb": 1025.6, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 6.31, "peak_cpu_rss_mb": 1806.9, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 36.04, "peak_cpu_rss_mb": 2105.9, "peak_gpu_alloc_mb": 3829.8, "peak_gpu_reserved_mb": 4168.0, "kd_epochs": 5}, "active_learning": {"seconds": 131.45, "peak_cpu_rss_mb": 2382.2, "peak_gpu_alloc_mb": 3950.0, "peak_gpu_reserved_mb": 4178.0, "rounds": 6}, "inference": {"seconds": 2.73, "peak_cpu_rss_mb": 2382.2, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4178.0, "patches": 147, "images": 3, "patches_per_second": 53.8, "seconds_per_image": 0.91}}, "peak_gpu_alloc_mb": 3950.0, "peak_cpu_rss_mb": 2382.2, "total_seconds": 178.1}
102
+ [04:28:05][ 179s][TEST] patch_dice=0.7957 patch_iou=0.7131 patch_precision=0.7525 patch_recall=0.9245 patch_vi=0.1160 image_dice=0.8688 image_iou=0.7684 image_precision=0.7991 image_recall=0.9525 image_vi=0.1422 cal_ece=0.0046 cal_nll=0.0431 cal_brier=0.0125 cal_mean_confidence=0.9878 cal_accuracy=0.9832 cal_predicted_prevalence=0.0705 cal_true_prevalence=0.0594 cal_mean_probability=0.0712
103
+ [04:28:05][ 179s][DONE] drosophila-vnc macs-v11-norestart-acq-random b5 s1 | test patch Dice=0.7957 VI=0.1160 | image Dice=0.8688 VI=0.1422 | 179s
macs_v2_r26/runs/mitochondria/drosophila-vnc/macs-v11-norestart-acq-random/budget-5/seed-1/result.json ADDED
@@ -0,0 +1,667 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "drosophila-vnc",
3
+ "variant": "macs-v11-norestart-acq-random",
4
+ "budget": 5.0,
5
+ "seed": 1,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "drosophila-vnc",
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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "drosophila-vnc",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-random",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "1",
129
+ "--num-workers",
130
+ "5",
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": "/home/user/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 4090",
140
+ "cuda": "13.0",
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.11690531690536884,
152
+ 0.8375898290916663,
153
+ 0.02560239431814963,
154
+ 0.01990245968481518
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "kasthuri-pp",
160
+ "lucchi-pp",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.11690531690536884,
165
+ 0.8375898290916663,
166
+ 0.02560239431814963,
167
+ 0.01990245968481518
168
+ ],
169
+ "per_source": [
170
+ 0.038599381604120485,
171
+ 0.943285983973492,
172
+ 0.013712262708195049,
173
+ 0.004402371714192633
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.1917814945701421,
183
+ "mmd2_mixture": 0.19749308036725388,
184
+ "mmd2_uniform": 0.3743480458439246,
185
+ "mmd2_single_source": [
186
+ 0.7042945447726864,
187
+ 0.2070680114579429,
188
+ 0.6307945959829456,
189
+ 0.6534353423959632
190
+ ],
191
+ "median_squared_distance": 0.1964580928585633,
192
+ "gammas": [
193
+ 1.2725360221224549,
194
+ 2.5450720442449097,
195
+ 5.0901440884898195,
196
+ 10.180288176979639,
197
+ 20.360576353959278
198
+ ],
199
+ "max_weight": 0.8375898290916663,
200
+ "entropy": 0.5711585797111782,
201
+ "effective_sources": 1.7703169170005038,
202
+ "min_weight": 0.01990245968481518
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6050756121533214,
207
+ 0.3110169227475098,
208
+ 0.7002952924749369,
209
+ 0.8048259551971948
210
+ ],
211
+ "standardized": [
212
+ -0.0012381647254944845,
213
+ -1.5993047903844642,
214
+ 0.5162347028009382,
215
+ 1.0843082523090217
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.943285983973492,
219
+ "entropy": 0.2634007298678481,
220
+ "effective_sources": 1.3013481035311127,
221
+ "min_weight": 0.004402371714192633
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.2784035818310388,
231
+ 0.18341782772166676,
232
+ 0.057702367443012846,
233
+ 0.01681466600081078
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.186522633793688,
237
+ "mixture@raw": 0.18548325188563394,
238
+ "mixture@logit": 0.19296315829990748,
239
+ "per_source": 0.18415887092754818,
240
+ "per_source@raw": 0.18350562678267812,
241
+ "per_source@logit": 0.1890579186582894,
242
+ "uniform": 0.06967222752121038,
243
+ "uniform@raw": 0.0884686387663988,
244
+ "uniform@logit": 0.06545324142703345
245
+ },
246
+ "val_patches": 147
247
+ },
248
+ "temperatures": [
249
+ 1.3819772005081177,
250
+ 2.5080416202545166,
251
+ 3.7969236373901367,
252
+ 2.597255229949951
253
+ ],
254
+ "top_source": "kasthuri-pp",
255
+ "weight_stats": {
256
+ "max_weight": 0.8375898290916663,
257
+ "entropy": 0.5711585797111782,
258
+ "effective_sources": 1.7703169170005038,
259
+ "min_weight": 0.01990245968481518
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": 36.0,
271
+ "round0_val": {
272
+ "val_dice": 0.1916880550436862,
273
+ "val_vi": 0.22128545106748224,
274
+ "val_ece": 0.022343801622776858
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 5,
280
+ "selection_seconds": 5.3,
281
+ "round_seconds": 23.3,
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.12206444565811032,
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.3032701474337657,
304
+ "uniform": 0.018090264826557255,
305
+ "top1": 0.3118739095489208,
306
+ "top2": 0.3048324685603729,
307
+ "top3": 0.3042586054721977
308
+ },
309
+ "val_dice": 0.27044419233563916,
310
+ "val_vi": 0.304520179729652,
311
+ "val_ece": 0.019762184201704298
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 10,
316
+ "selection_seconds": 0.1,
317
+ "round_seconds": 4.7,
318
+ "teacher_dice_labeled": [
319
+ 0.3370766113617249,
320
+ 0.20785448050939587,
321
+ 0.00023106885851983892,
322
+ 0.001479435841798994
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 29992,
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.2284639770019887,
338
+ "uniform": 0.028564987762462964,
339
+ "top1": 0.3370766113617249,
340
+ "top2": 0.2287742341421212,
341
+ "top3": 0.22868552543573198
342
+ },
343
+ "pseudo_student_dice": 0.4019437835222003,
344
+ "pseudo_ensemble_dice": 0.36104428904428904,
345
+ "pseudo_source": "student",
346
+ "consistency_scale": 0.0,
347
+ "val_dice": 0.395526844758151,
348
+ "val_vi": 0.2676356453097999,
349
+ "val_ece": 0.01013508053922452
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 15,
354
+ "selection_seconds": 0.1,
355
+ "round_seconds": 22.0,
356
+ "teacher_dice_labeled": [
357
+ 0.47845312015423197,
358
+ 0.36233065584123325,
359
+ 0.0023601996475788446,
360
+ 0.001159658464534431
361
+ ],
362
+ "teacher_dice_pool": [
363
+ 0.5826728360901532,
364
+ 0.5055378509654219,
365
+ 0.0036168323423117956,
366
+ 0.00028675870280224237
367
+ ],
368
+ "evidence_fg_pixels": 53089,
369
+ "evidence_nonempty_patches": 15,
370
+ "first_correction": false,
371
+ "restart": "",
372
+ "weights": [
373
+ 1.0,
374
+ 0.0,
375
+ 0.0,
376
+ 0.0
377
+ ],
378
+ "ensemble_choice": "top1",
379
+ "candidate_dice": {
380
+ "mixture": 0.3793255215978283,
381
+ "uniform": 0.03080981377991152,
382
+ "top1": 0.47845312015423197,
383
+ "top2": 0.3795297534477732,
384
+ "top3": 0.37938025962169
385
+ },
386
+ "pseudo_student_dice": 0.6588509676155887,
387
+ "pseudo_ensemble_dice": 0.42708432425086634,
388
+ "pseudo_source": "student",
389
+ "consistency_scale": 0.53,
390
+ "val_dice": 0.5028134313637753,
391
+ "val_vi": 0.18638684223811713,
392
+ "val_ece": 0.008429511681865535
393
+ },
394
+ {
395
+ "round": 4,
396
+ "n_labeled": 20,
397
+ "selection_seconds": 0.1,
398
+ "round_seconds": 22.6,
399
+ "teacher_dice_labeled": [
400
+ 0.43103000518725343,
401
+ 0.36277141788004924,
402
+ 0.005746551389353614,
403
+ 0.0008508898528234805
404
+ ],
405
+ "teacher_dice_pool": [
406
+ 0.4837028345554021,
407
+ 0.49975188054577785,
408
+ 0.004083124007295061,
409
+ 0.00024411224105223264
410
+ ],
411
+ "evidence_fg_pixels": 74091,
412
+ "evidence_nonempty_patches": 20,
413
+ "first_correction": false,
414
+ "restart": "",
415
+ "weights": [
416
+ 1.0,
417
+ 0.0,
418
+ 0.0,
419
+ 0.0
420
+ ],
421
+ "ensemble_choice": "top1",
422
+ "candidate_dice": {
423
+ "mixture": 0.373334630363959,
424
+ "uniform": 0.03538747088305604,
425
+ "top1": 0.43103000518725343,
426
+ "top2": 0.37340299844945096,
427
+ "top3": 0.37335681419917816
428
+ },
429
+ "pseudo_student_dice": 0.6492734286625866,
430
+ "pseudo_ensemble_dice": 0.3906538327265473,
431
+ "pseudo_source": "student",
432
+ "consistency_scale": 0.498,
433
+ "val_dice": 0.6574593702393732,
434
+ "val_vi": 0.13533919737072217,
435
+ "val_ece": 0.008640088643453371
436
+ },
437
+ {
438
+ "round": 5,
439
+ "n_labeled": 25,
440
+ "selection_seconds": 0.1,
441
+ "round_seconds": 22.6,
442
+ "teacher_dice_labeled": [
443
+ 0.3717128901337308,
444
+ 0.3823762412712888,
445
+ 0.007664640876645464,
446
+ 0.0036914687359017786
447
+ ],
448
+ "teacher_dice_pool": [
449
+ 0.3705947151012748,
450
+ 0.45955121435857227,
451
+ 0.009201777039825764,
452
+ 0.0009343618515797726
453
+ ],
454
+ "evidence_fg_pixels": 90327,
455
+ "evidence_nonempty_patches": 25,
456
+ "first_correction": false,
457
+ "restart": "",
458
+ "weights": [
459
+ 0.11134689678576087,
460
+ 0.8875352175350215,
461
+ 0.0006398570780882527,
462
+ 0.0004780286011293887
463
+ ],
464
+ "ensemble_choice": "mixture",
465
+ "candidate_dice": {
466
+ "mixture": 0.3852127875716316,
467
+ "uniform": 0.054485108960520695,
468
+ "top1": 0.3823762412712888,
469
+ "top2": 0.385270066563859,
470
+ "top3": 0.38524165066760796
471
+ },
472
+ "pseudo_student_dice": 0.8290223463687151,
473
+ "pseudo_ensemble_dice": 0.5929518365361226,
474
+ "pseudo_source": "student",
475
+ "consistency_scale": 1.0,
476
+ "val_dice": 0.6519417313245782,
477
+ "val_vi": 0.12718020187778287,
478
+ "val_ece": 0.010796660762073279
479
+ },
480
+ {
481
+ "round": 6,
482
+ "n_labeled": 30,
483
+ "selection_seconds": 0.1,
484
+ "round_seconds": 23.1,
485
+ "teacher_dice_labeled": [
486
+ 0.37641538950337,
487
+ 0.37352917480538395,
488
+ 0.008009229163548612,
489
+ 0.003443806587578693
490
+ ],
491
+ "teacher_dice_pool": [
492
+ 0.39919716938468497,
493
+ 0.47226146654321266,
494
+ 0.009783755993179285,
495
+ 0.0012095196263971187
496
+ ],
497
+ "evidence_fg_pixels": 102597,
498
+ "evidence_nonempty_patches": 28,
499
+ "first_correction": false,
500
+ "restart": "",
501
+ "weights": [
502
+ 0.12546358417446743,
503
+ 0.8733335622071413,
504
+ 0.0006902340557613062,
505
+ 0.0005126195626298668
506
+ ],
507
+ "ensemble_choice": "mixture",
508
+ "candidate_dice": {
509
+ "mixture": 0.37627428788395567,
510
+ "uniform": 0.04938321963255888,
511
+ "top1": 0.37641538950337,
512
+ "top2": 0.37633076172426516,
513
+ "top3": 0.376285460732609
514
+ },
515
+ "pseudo_student_dice": 0.7833869929169349,
516
+ "pseudo_ensemble_dice": 5.972288580984233e-05,
517
+ "pseudo_source": "student",
518
+ "consistency_scale": 0.945,
519
+ "val_dice": 0.6547061788185442,
520
+ "val_vi": 0.12729252241884847,
521
+ "val_ece": 0.01092049264393179
522
+ },
523
+ {
524
+ "round": 7,
525
+ "n_labeled": 30,
526
+ "selection_seconds": 0.0,
527
+ "round_seconds": 9.9,
528
+ "final_consolidation": true,
529
+ "val_dice": 0.6747453638476713,
530
+ "val_vi": 0.11778407187789014,
531
+ "val_ece": 0.009716465947843022
532
+ }
533
+ ],
534
+ "uncertainty_quality": {
535
+ "spearman_uncertainty_error": -0.03470887967342099,
536
+ "auroc_top20_error": 0.482987650099299
537
+ },
538
+ "al_seconds": 131.5,
539
+ "source_archs": [
540
+ "unet",
541
+ "unet",
542
+ "unet",
543
+ "unet"
544
+ ],
545
+ "alphas_final": [
546
+ 0.12546358417446743,
547
+ 0.8733335622071413,
548
+ 0.0006902340557613062,
549
+ 0.0005126195626298668
550
+ ],
551
+ "weight_stats_final": {
552
+ "max_weight": 0.8733335622071413,
553
+ "entropy": 0.38761949128992906,
554
+ "effective_sources": 1.4734690098128682,
555
+ "min_weight": 0.0005126195626298668
556
+ },
557
+ "top_source_final": "kasthuri-pp",
558
+ "ensemble_choice_final": "",
559
+ "restart": "kept",
560
+ "test_raw_student": {
561
+ "patch_dice": 0.7961039268265155,
562
+ "patch_iou": 0.7097687229145664,
563
+ "patch_precision": 0.7584498601881322,
564
+ "patch_recall": 0.9158267507576621,
565
+ "patch_vi": 0.1241707856182842,
566
+ "n_patches": 147,
567
+ "cal_ece": 0.01067422514685362,
568
+ "cal_nll": 0.05508691845768595,
569
+ "cal_brier": 0.014360713568413223,
570
+ "cal_mean_confidence": 0.9927506494665814,
571
+ "cal_accuracy": 0.9820764243197279,
572
+ "cal_predicted_prevalence": 0.0682530824829932,
573
+ "cal_true_prevalence": 0.05939094387755102,
574
+ "cal_mean_probability": 0.06837096344262414
575
+ },
576
+ "test_notta": {
577
+ "patch_dice": 0.7961039268265155,
578
+ "patch_iou": 0.7097687229145664,
579
+ "patch_precision": 0.7584498601881322,
580
+ "patch_recall": 0.9158267507576621,
581
+ "patch_vi": 0.1241707856182842,
582
+ "n_patches": 147,
583
+ "cal_ece": 0.01067422514685362,
584
+ "cal_nll": 0.05508691845768595,
585
+ "cal_brier": 0.014360713568413223,
586
+ "cal_mean_confidence": 0.9927506494665814,
587
+ "cal_accuracy": 0.9820764243197279,
588
+ "cal_predicted_prevalence": 0.0682530824829932,
589
+ "cal_true_prevalence": 0.05939094387755102,
590
+ "cal_mean_probability": 0.06837096344262414
591
+ },
592
+ "test": {
593
+ "patch_dice": 0.795692102630151,
594
+ "patch_iou": 0.7131124461490234,
595
+ "patch_precision": 0.752512679245492,
596
+ "patch_recall": 0.9245430931406642,
597
+ "patch_vi": 0.11597981232523923,
598
+ "n_patches": 147,
599
+ "image_dice": 0.8687959458062932,
600
+ "image_iou": 0.7683731492929882,
601
+ "image_precision": 0.79911133488317,
602
+ "image_recall": 0.952452859311531,
603
+ "image_vi": 0.14220201389233786,
604
+ "n_images": 3,
605
+ "cal_ece": 0.004598624949523295,
606
+ "cal_nll": 0.04306924903348975,
607
+ "cal_brier": 0.012508827748498425,
608
+ "cal_mean_confidence": 0.9878069916271571,
609
+ "cal_accuracy": 0.9832389987244898,
610
+ "cal_predicted_prevalence": 0.07049186862244898,
611
+ "cal_true_prevalence": 0.05939094387755102,
612
+ "cal_mean_probability": 0.07124218746769279
613
+ },
614
+ "eval_seconds": 2.7,
615
+ "total_seconds": 178.8,
616
+ "resources": {
617
+ "phases": {
618
+ "setup": {
619
+ "seconds": 1.6,
620
+ "peak_cpu_rss_mb": 1025.6,
621
+ "peak_gpu_alloc_mb": 592.4,
622
+ "peak_gpu_reserved_mb": 594.0
623
+ },
624
+ "features_and_weights": {
625
+ "seconds": 6.31,
626
+ "peak_cpu_rss_mb": 1806.9,
627
+ "peak_gpu_alloc_mb": 2298.2,
628
+ "peak_gpu_reserved_mb": 2640.0
629
+ },
630
+ "distillation": {
631
+ "seconds": 36.04,
632
+ "peak_cpu_rss_mb": 2105.9,
633
+ "peak_gpu_alloc_mb": 3829.8,
634
+ "peak_gpu_reserved_mb": 4168.0,
635
+ "kd_epochs": 5
636
+ },
637
+ "active_learning": {
638
+ "seconds": 131.45,
639
+ "peak_cpu_rss_mb": 2382.2,
640
+ "peak_gpu_alloc_mb": 3950.0,
641
+ "peak_gpu_reserved_mb": 4178.0,
642
+ "rounds": 6
643
+ },
644
+ "inference": {
645
+ "seconds": 2.73,
646
+ "peak_cpu_rss_mb": 2382.2,
647
+ "peak_gpu_alloc_mb": 2149.5,
648
+ "peak_gpu_reserved_mb": 4178.0,
649
+ "patches": 147,
650
+ "images": 3,
651
+ "patches_per_second": 53.8,
652
+ "seconds_per_image": 0.91
653
+ }
654
+ },
655
+ "peak_gpu_alloc_mb": 3950.0,
656
+ "peak_cpu_rss_mb": 2382.2,
657
+ "total_seconds": 178.1
658
+ },
659
+ "student_parameters": 31042369,
660
+ "teacher_parameters": [
661
+ 31042369,
662
+ 31042369,
663
+ 31042369,
664
+ 31042369
665
+ ],
666
+ "checkpoint": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/drosophila-vnc/macs-v11-norestart-acq-random_b5_s1.pth"
667
+ }
macs_v2_r26/runs/mitochondria/drosophila-vnc/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,5,5.3,23.3,"[0.3118739095489208, 0.0968435913812229, 0.0004512053628980276, 0.00288]",,15368,5,True,kept,0.12206444565811032,0.3118739095489208,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.3032701474337657, 'uniform': 0.018090264826557255, 'top1': 0.3118739095489208, 'top2': 0.3048324685603729, 'top3': 0.3042586054721977}",0.27044419233563916,0.304520179729652,0.019762184201704298,,,,,
3
+ 2,10,0.1,4.7,"[0.3370766113617249, 0.20785448050939587, 0.00023106885851983892, 0.001479435841798994]",,29992,10,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.2284639770019887, 'uniform': 0.028564987762462964, 'top1': 0.3370766113617249, 'top2': 0.2287742341421212, 'top3': 0.22868552543573198}",0.395526844758151,0.2676356453097999,0.01013508053922452,0.4019437835222003,0.36104428904428904,student,0.0,
4
+ 3,15,0.1,22.0,"[0.47845312015423197, 0.36233065584123325, 0.0023601996475788446, 0.001159658464534431]","[0.5826728360901532, 0.5055378509654219, 0.0036168323423117956, 0.00028675870280224237]",53089,15,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.3793255215978283, 'uniform': 0.03080981377991152, 'top1': 0.47845312015423197, 'top2': 0.3795297534477732, 'top3': 0.37938025962169}",0.5028134313637753,0.18638684223811713,0.008429511681865535,0.6588509676155887,0.42708432425086634,student,0.53,
5
+ 4,20,0.1,22.6,"[0.43103000518725343, 0.36277141788004924, 0.005746551389353614, 0.0008508898528234805]","[0.4837028345554021, 0.49975188054577785, 0.004083124007295061, 0.00024411224105223264]",74091,20,False,,,,"[1.0, 0.0, 0.0, 0.0]",top1,"{'mixture': 0.373334630363959, 'uniform': 0.03538747088305604, 'top1': 0.43103000518725343, 'top2': 0.37340299844945096, 'top3': 0.37335681419917816}",0.6574593702393732,0.13533919737072217,0.008640088643453371,0.6492734286625866,0.3906538327265473,student,0.498,
6
+ 5,25,0.1,22.6,"[0.3717128901337308, 0.3823762412712888, 0.007664640876645464, 0.0036914687359017786]","[0.3705947151012748, 0.45955121435857227, 0.009201777039825764, 0.0009343618515797726]",90327,25,False,,,,"[0.11134689678576087, 0.8875352175350215, 0.0006398570780882527, 0.0004780286011293887]",mixture,"{'mixture': 0.3852127875716316, 'uniform': 0.054485108960520695, 'top1': 0.3823762412712888, 'top2': 0.385270066563859, 'top3': 0.38524165066760796}",0.6519417313245782,0.12718020187778287,0.010796660762073279,0.8290223463687151,0.5929518365361226,student,1.0,
7
+ 6,30,0.1,23.1,"[0.37641538950337, 0.37352917480538395, 0.008009229163548612, 0.003443806587578693]","[0.39919716938468497, 0.47226146654321266, 0.009783755993179285, 0.0012095196263971187]",102597,28,False,,,,"[0.12546358417446743, 0.8733335622071413, 0.0006902340557613062, 0.0005126195626298668]",mixture,"{'mixture': 0.37627428788395567, 'uniform': 0.04938321963255888, 'top1': 0.37641538950337, 'top2': 0.37633076172426516, 'top3': 0.376285460732609}",0.6547061788185442,0.12729252241884847,0.01092049264393179,0.7833869929169349,5.972288580984233e-05,student,0.945,
8
+ 7,30,0.0,9.9,,,,,,,,,,,,0.6747453638476713,0.11778407187789014,0.009716465947843022,,,,,True
macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/log.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [07:27:23][ 0s][START] target=kasthuri-pp variant=macs-v11-norestart-acq-laplace budget=5.0% seed=2 | {"task": "mitochondria", "target": "kasthuri-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": 5, "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
+ [07:27:23][ 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:27:23][ 0s][DATA] kasthuri-pp: train=12023 val=2376 test=2376 patches
4
+ [07:27:24][ 1s][CALIB] source-val temperatures: fly-mito=1.38, lucchi=3.80, dros-vnc=2.77, multiclass=2.60
5
+ [07:27:24][ 1s][FEATURES] 20 domain x encoder feature sets (20 cached) | n=512/domain | 0s
6
+ [07:27:25][ 2s][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:27:25][ 2s][WEIGHTS] per-source: fly-mito=0.004, lucchi=0.028, dros-vnc=0.948, multiclass=0.020 | min-MMD source (NeuroADDA rule) = dros-vnc
8
+ [07:27:38][ 15s][TEACHERS] target-val Dice: fly-mito=0.194, lucchi=0.137, dros-vnc=0.349, multiclass=0.152
9
+ [07:27:38][ 15s][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:27:38][ 15s][WEIGHTS] using mixture: fly-mito=0.055, lucchi=0.143, dros-vnc=0.678, multiclass=0.124
11
+ [07:27:38][ 15s][INIT] student initialised from teacher dros-vnc (weight 0.678)
12
+ [07:27:39][ 16s][ADABN] init: BatchNorm statistics re-estimated on 512 unlabeled target patches
13
+ [07:27:39][ 16s][KD] distilling the mixture ensemble (prob space) into the student
14
+ [07:28:14][ 51s][KD] soft labels for 6000 patches from 4 teachers in 34s
15
+ [07:29:07][ 104s][KD] epoch 1/5 | patches=6000 | loss=0.1778 | 53s
16
+ [07:30:02][ 159s][KD] epoch 2/5 | patches=6000 | loss=0.1510 | 54s
17
+ [07:30:56][ 213s][KD] epoch 3/5 | patches=6000 | loss=0.1461 | 54s
18
+ [07:31:49][ 266s][KD] epoch 4/5 | patches=6000 | loss=0.1440 | 53s
19
+ [07:32:43][ 320s][KD] epoch 5/5 | patches=6000 | loss=0.1430 | 54s
20
+ [07:32:45][ 322s][ROUND0] before any target label: val_dice=0.2118 val_vi=0.1496
21
+ [07:32:45][ 322s][AL] patches=12023 (pool 10327 after dropping blank; free blank negatives: True) | budget=601 (5.0%) | rounds=6 | per_round=100 | acquisition=laplace | first_round=stratified
22
+ [07:33:10][ 347s][AL] round-1 uncertainty quality on 8000 patches: {'spearman_uncertainty_error': -0.36017774401252334, 'auroc_top20_error': 0.360394235162642}
23
+ [07:33:22][ 359s][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
+ [07:33:28][ 365s][WEIGHTS] round 1: labeled Dice of candidate ensembles: mixture=0.221, uniform=0.011, top1=0.223, top2=0.223, top3=0.222 -> using mixture
25
+ [07:33:28][ 365s][WEIGHTS] round 1: student kept (labeled Dice 0.013 vs best teacher dros-vnc 0.223); distilling the corrected ensemble into it
26
+ [07:33:28][ 365s][WEIGHTS] round 1: teacher Dice on 100 labeled patches + 100 blank (267058 fg px): fly-mito=0.038, lucchi=0.009, dros-vnc=0.223, multiclass=0.000 | weights: fly-mito=0.012, lucchi=0.023, dros-vnc=0.946, multiclass=0.019
27
+ [07:34:03][ 400s][KD] soft labels for 6000 patches from 4 teachers in 34s
28
+ [07:34:57][ 454s][KD] epoch 1/2 | patches=6000 | loss=0.0535 | 54s
29
+ [07:35:51][ 508s][KD] epoch 2/2 | patches=6000 | loss=0.0528 | 54s
30
+ [07:36:03][ 520s][CONS] pseudo-labels for 2000 unlabeled patches from the current ensemble in 12s
31
+ [07:36:07][ 524s][FT] round 1/6 epoch 1/5 | patches=200 | loss=0.7622
32
+ [07:36:11][ 528s][FT] round 1/6 epoch 2/5 | patches=200 | loss=0.5386
33
+ [07:36:15][ 532s][FT] round 1/6 epoch 3/5 | patches=200 | loss=0.4307
34
+ [07:36:19][ 536s][FT] round 1/6 epoch 4/5 | patches=200 | loss=0.3971
35
+ [07:36:23][ 540s][FT] round 1/6 epoch 5/5 | patches=200 | loss=0.3589
36
+ [07:36:25][ 542s][AL] round 1/6 | labeled=100 | selection_seconds=37.5000 round_seconds=218.1000 restart_student_dice=0.0133 restart_teacher_dice=0.2227 val_dice=0.7285 val_vi=0.0893 val_ece=0.0073
37
+ [07:36:50][ 567s][AL] round 2: 2834/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
38
+ [07:37:00][ 577s][WEIGHTS] round 2: labeled Dice of candidate ensembles: mixture=0.130, uniform=0.008, top1=0.132, top2=0.133, top3=0.131 -> using mixture
39
+ [07:37:00][ 577s][WEIGHTS] round 2: teacher Dice on 200 labeled patches + 200 blank (1115399 fg px): fly-mito=0.084, lucchi=0.012, dros-vnc=0.132, multiclass=0.007 | weights: fly-mito=0.043, lucchi=0.054, dros-vnc=0.858, multiclass=0.045
40
+ [07:37:08][ 585s][CONS] round 2: on the 100 new patches student Dice=0.552 vs ensemble 0.100 -> pseudo-labels from the student | consistency x0.17
41
+ [07:37:15][ 592s][FT] round 2/6 epoch 1/5 | patches=400 | loss=0.2396
42
+ [07:37:23][ 600s][FT] round 2/6 epoch 2/5 | patches=400 | loss=0.2152
43
+ [07:37:30][ 607s][FT] round 2/6 epoch 3/5 | patches=400 | loss=0.2085
44
+ [07:37:37][ 614s][FT] round 2/6 epoch 4/5 | patches=400 | loss=0.1984
45
+ [07:37:44][ 621s][FT] round 2/6 epoch 5/5 | patches=400 | loss=0.2184
46
+ [07:37:46][ 623s][AL] round 2/6 | labeled=200 | selection_seconds=25.5000 round_seconds=79.6000 pseudo_student_dice=0.5515 pseudo_ensemble_dice=0.0995 consistency_scale=0.1720 val_dice=0.8179 val_vi=0.0591 val_ece=0.0027
47
+ [07:38:12][ 649s][AL] round 3: 2464/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
48
+ [07:38:44][ 681s][WEIGHTS] round 3: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.112, lucchi=0.015, dros-vnc=0.285, multiclass=0.001 | blended with labeled Dice at 0.50
49
+ [07:39:13][ 710s][WEIGHTS] round 3: labeled Dice of candidate ensembles: mixture=0.207, uniform=0.012, top1=0.208, top2=0.209, top3=0.208 -> using mixture
50
+ [07:39:13][ 710s][WEIGHTS] round 3: teacher Dice on 300 labeled patches + 300 blank (1632966 fg px): fly-mito=0.098, lucchi=0.021, dros-vnc=0.208, multiclass=0.004 | weights: fly-mito=0.025, lucchi=0.030, dros-vnc=0.923, multiclass=0.022
51
+ [07:39:21][ 718s][CONS] round 3: on the 100 new patches student Dice=0.781 vs ensemble 0.130 -> pseudo-labels from the student | consistency x0.94
52
+ [07:39:31][ 728s][FT] round 3/6 epoch 1/5 | patches=600 | loss=0.2248
53
+ [07:39:42][ 739s][FT] round 3/6 epoch 2/5 | patches=600 | loss=0.1817
54
+ [07:39:53][ 750s][FT] round 3/6 epoch 3/5 | patches=600 | loss=0.1835
55
+ [07:40:03][ 760s][FT] round 3/6 epoch 4/5 | patches=600 | loss=0.1582
56
+ [07:40:14][ 771s][FT] round 3/6 epoch 5/5 | patches=600 | loss=0.1784
57
+ [07:40:16][ 773s][AL] round 3/6 | labeled=300 | selection_seconds=25.4000 round_seconds=147.7000 pseudo_student_dice=0.7809 pseudo_ensemble_dice=0.1295 consistency_scale=0.9360 val_dice=0.8398 val_vi=0.0550 val_ece=0.0030
58
+ [07:40:41][ 798s][AL] round 4: 2492/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
59
+ [07:41:16][ 833s][WEIGHTS] round 4: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.113, lucchi=0.014, dros-vnc=0.303, multiclass=0.001 | blended with labeled Dice at 0.50
60
+ [07:41:47][ 864s][WEIGHTS] round 4: labeled Dice of candidate ensembles: mixture=0.222, uniform=0.013, top1=0.223, top2=0.224, top3=0.223 -> using mixture
61
+ [07:41:47][ 864s][WEIGHTS] round 4: teacher Dice on 400 labeled patches + 400 blank (2188516 fg px): fly-mito=0.097, lucchi=0.018, dros-vnc=0.223, multiclass=0.004 | weights: fly-mito=0.022, lucchi=0.025, dros-vnc=0.934, multiclass=0.019
62
+ [07:41:55][ 872s][CONS] round 4: on the 100 new patches student Dice=0.815 vs ensemble 0.176 -> pseudo-labels from the student | consistency x1.00
63
+ [07:42:09][ 886s][FT] round 4/6 epoch 1/5 | patches=800 | loss=0.1741
64
+ [07:42:23][ 900s][FT] round 4/6 epoch 2/5 | patches=800 | loss=0.1575
65
+ [07:42:37][ 914s][FT] round 4/6 epoch 3/5 | patches=800 | loss=0.1496
66
+ [07:42:51][ 928s][FT] round 4/6 epoch 4/5 | patches=800 | loss=0.1385
67
+ [07:43:05][ 942s][FT] round 4/6 epoch 5/5 | patches=800 | loss=0.1491
68
+ [07:43:07][ 944s][AL] round 4/6 | labeled=400 | selection_seconds=25.5000 round_seconds=169.0000 pseudo_student_dice=0.8146 pseudo_ensemble_dice=0.1760 consistency_scale=1.0000 val_dice=0.8727 val_vi=0.0459 val_ece=0.0024
69
+ [07:43:32][ 969s][AL] round 5: 2323/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
70
+ [07:44:09][ 1006s][WEIGHTS] round 5: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.113, lucchi=0.015, dros-vnc=0.264, multiclass=0.001 | blended with labeled Dice at 0.50
71
+ [07:44:42][ 1039s][WEIGHTS] round 5: labeled Dice of candidate ensembles: mixture=0.207, uniform=0.013, top1=0.209, top2=0.209, top3=0.208 -> using mixture
72
+ [07:44:42][ 1039s][WEIGHTS] round 5: teacher Dice on 500 labeled patches + 500 blank (2518881 fg px): fly-mito=0.094, lucchi=0.018, dros-vnc=0.209, multiclass=0.003 | weights: fly-mito=0.024, lucchi=0.029, dros-vnc=0.925, multiclass=0.022
73
+ [07:44:50][ 1047s][CONS] round 5: on the 100 new patches student Dice=0.794 vs ensemble 0.214 -> pseudo-labels from the student | consistency x0.98
74
+ [07:45:08][ 1065s][FT] round 5/6 epoch 1/5 | patches=1000 | loss=0.1510
75
+ [07:45:25][ 1082s][FT] round 5/6 epoch 2/5 | patches=1000 | loss=0.1710
76
+ [07:45:42][ 1099s][FT] round 5/6 epoch 3/5 | patches=1000 | loss=0.1518
77
+ [07:46:00][ 1117s][FT] round 5/6 epoch 4/5 | patches=1000 | loss=0.1546
78
+ [07:46:17][ 1134s][FT] round 5/6 epoch 5/5 | patches=1000 | loss=0.1450
79
+ [07:46:19][ 1136s][AL] round 5/6 | labeled=500 | selection_seconds=25.5000 round_seconds=190.5000 pseudo_student_dice=0.7943 pseudo_ensemble_dice=0.2140 consistency_scale=0.9810 val_dice=0.8634 val_vi=0.0461 val_ece=0.0023
80
+ [07:46:45][ 1162s][AL] round 6: 2522/8000 candidates skipped as agreed-empty (predicted prevalence < 0.005)
81
+ [07:47:21][ 1198s][WEIGHTS] round 6: teacher agreement with the student on 2000 unlabeled patches: fly-mito=0.112, lucchi=0.012, dros-vnc=0.286, multiclass=0.002 | blended with labeled Dice at 0.50
82
+ [07:47:55][ 1232s][WEIGHTS] round 6: labeled Dice of candidate ensembles: mixture=0.235, uniform=0.012, top1=0.236, top2=0.236, top3=0.235 -> using mixture
83
+ [07:47:55][ 1232s][WEIGHTS] round 6: teacher Dice on 512 labeled patches + 512 blank (2489206 fg px): fly-mito=0.093, lucchi=0.015, dros-vnc=0.236, multiclass=0.004 | weights: fly-mito=0.018, lucchi=0.022, dros-vnc=0.943, multiclass=0.017
84
+ [07:48:03][ 1240s][CONS] round 6: on the 100 new patches student Dice=0.945 vs ensemble 0.367 -> pseudo-labels from the student | consistency x1.00
85
+ [07:48:24][ 1261s][FT] round 6/6 epoch 1/5 | patches=1200 | loss=0.1372
86
+ [07:48:45][ 1282s][FT] round 6/6 epoch 2/5 | patches=1200 | loss=0.1167
87
+ [07:49:05][ 1302s][FT] round 6/6 epoch 3/5 | patches=1200 | loss=0.1188
88
+ [07:49:26][ 1323s][FT] round 6/6 epoch 4/5 | patches=1200 | loss=0.1208
89
+ [07:49:47][ 1344s][FT] round 6/6 epoch 5/5 | patches=1200 | loss=0.1142
90
+ [07:49:49][ 1346s][AL] round 6/6 | labeled=600 | selection_seconds=25.4000 round_seconds=207.8000 pseudo_student_dice=0.9455 pseudo_ensemble_dice=0.3667 consistency_scale=1.0000 val_dice=0.8758 val_vi=0.0413 val_ece=0.0024
91
+ [07:49:52][ 1349s][CONS] final consolidation: pseudo-labels refreshed from the student
92
+ [07:50:13][ 1370s][FT] final 1/10 epoch 1/1 | patches=1200 | loss=0.1081
93
+ [07:50:34][ 1391s][FT] final 2/10 epoch 1/1 | patches=1200 | loss=0.1131
94
+ [07:50:55][ 1412s][FT] final 3/10 epoch 1/1 | patches=1200 | loss=0.1010
95
+ [07:51:16][ 1433s][FT] final 4/10 epoch 1/1 | patches=1200 | loss=0.1056
96
+ [07:51:36][ 1453s][FT] final 5/10 epoch 1/1 | patches=1200 | loss=0.0999
97
+ [07:51:57][ 1474s][FT] final 6/10 epoch 1/1 | patches=1200 | loss=0.0932
98
+ [07:52:18][ 1495s][FT] final 7/10 epoch 1/1 | patches=1200 | loss=0.0827
99
+ [07:52:39][ 1516s][FT] final 8/10 epoch 1/1 | patches=1200 | loss=0.0815
100
+ [07:53:00][ 1537s][FT] final 9/10 epoch 1/1 | patches=1200 | loss=0.0790
101
+ [07:53:21][ 1558s][FT] final 10/10 epoch 1/1 | patches=1200 | loss=0.0742
102
+ [07:53:23][ 1560s][AL] final consolidation (10 epochs, cosine lr) | selection_seconds=0.0000 round_seconds=211.4000 val_dice=0.8811 val_vi=0.0406 val_ece=0.0026
103
+ [07:53:23][ 1560s][WEIGHTS] final: fly-mito=0.018, lucchi=0.022, dros-vnc=0.943, multiclass=0.017
104
+ [07:53:55][ 1592s][TEST] raw student (no EMA, no TTA): patch_dice=0.8717 patch_vi=0.0270
105
+ [07:53:59][ 1596s][TEST] final model without TTA: patch_dice=0.8717 patch_vi=0.0270
106
+ [07:53:59][ 1596s][RESOURCES] {"phases": {"setup": {"seconds": 0.59, "peak_cpu_rss_mb": 1028.3, "peak_gpu_alloc_mb": 592.4, "peak_gpu_reserved_mb": 594.0}, "features_and_weights": {"seconds": 15.46, "peak_cpu_rss_mb": 1793.0, "peak_gpu_alloc_mb": 2298.2, "peak_gpu_reserved_mb": 2640.0}, "distillation": {"seconds": 303.55, "peak_cpu_rss_mb": 3685.8, "peak_gpu_alloc_mb": 3829.8, "peak_gpu_reserved_mb": 4128.0, "kd_epochs": 5}, "active_learning": {"seconds": 1237.79, "peak_cpu_rss_mb": 3685.8, "peak_gpu_alloc_mb": 3950.0, "peak_gpu_reserved_mb": 4170.0, "rounds": 6}, "inference": {"seconds": 36.81, "peak_cpu_rss_mb": 3685.8, "peak_gpu_alloc_mb": 2149.5, "peak_gpu_reserved_mb": 4172.0, "patches": 2376, "images": 24, "patches_per_second": 64.5, "seconds_per_image": 1.534}}, "peak_gpu_alloc_mb": 3950.0, "peak_cpu_rss_mb": 3685.8, "total_seconds": 1594.2}
107
+ [07:53:59][ 1596s][TEST] patch_dice=0.8806 patch_iou=0.8521 patch_precision=0.9547 patch_recall=0.8873 patch_vi=0.0259 image_dice=0.9483 image_iou=0.9021 image_precision=0.9598 image_recall=0.9376 image_vi=0.0308 cal_ece=0.0014 cal_nll=0.0117 cal_brier=0.0024 cal_mean_confidence=0.9983 cal_accuracy=0.9969 cal_predicted_prevalence=0.0262 cal_true_prevalence=0.0268 cal_mean_probability=0.0260
108
+ [07:53:59][ 1596s][DONE] kasthuri-pp macs-v11-norestart-acq-laplace b5 s2 | test patch Dice=0.8806 VI=0.0259 | image Dice=0.9483 VI=0.0308 | 1596s
macs_v2_r26/runs/mitochondria/kasthuri-pp/macs-v11-norestart-acq-laplace/budget-5/seed-2/result.json ADDED
@@ -0,0 +1,667 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "kasthuri-pp",
3
+ "variant": "macs-v11-norestart-acq-laplace",
4
+ "budget": 5.0,
5
+ "seed": 2,
6
+ "config": {
7
+ "task": "mitochondria",
8
+ "target": "kasthuri-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": "/home/user/connectomics/MACS-2/models",
17
+ "cache_dir": "/home/user/connectomics/MACS-2/cache/macs_v2",
18
+ "output_dir": "experiments/macs_v2/outputs-r26",
19
+ "checkpoint_dir": "/home/user/connectomics/MACS-2/models/experiments/macs_v2",
20
+ "device": "cuda:0",
21
+ "num_workers": 5,
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": "pc2",
116
+ "python": "3.14.7",
117
+ "torch": "2.14.1+cu130",
118
+ "argv": [
119
+ "experiments/macs_v2/run.py",
120
+ "sweep",
121
+ "--targets",
122
+ "kasthuri-pp",
123
+ "--variants",
124
+ "macs-v11-norestart-acq-laplace",
125
+ "--budgets",
126
+ "5",
127
+ "--seeds",
128
+ "2",
129
+ "--num-workers",
130
+ "5",
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": "/home/user/connectomics/MACS-2",
139
+ "gpu": "NVIDIA GeForce RTX 4090",
140
+ "cuda": "13.0",
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.0552621669329701,
152
+ 0.14304343546870246,
153
+ 0.6777952504109969,
154
+ 0.12389914718733061
155
+ ],
156
+ "weights_all": {
157
+ "sources": [
158
+ "fly-brain-mito-benchmark",
159
+ "lucchi-pp",
160
+ "drosophila-vnc",
161
+ "multiclass"
162
+ ],
163
+ "mixture": [
164
+ 0.0552621669329701,
165
+ 0.14304343546870246,
166
+ 0.6777952504109969,
167
+ 0.12389914718733061
168
+ ],
169
+ "per_source": [
170
+ 0.00394004854372213,
171
+ 0.027549943457875075,
172
+ 0.9484681548320345,
173
+ 0.02004185316636836
174
+ ],
175
+ "uniform": [
176
+ 0.25,
177
+ 0.25,
178
+ 0.25,
179
+ 0.25
180
+ ],
181
+ "mixture_info": {
182
+ "objective": 0.1161079474391782,
183
+ "mmd2_mixture": 0.12571317215793731,
184
+ "mmd2_uniform": 0.23862471954971437,
185
+ "mmd2_single_source": [
186
+ 0.7126139881719412,
187
+ 0.4366429148044758,
188
+ 0.1798181763334552,
189
+ 0.4482686385790514
190
+ ],
191
+ "median_squared_distance": 0.1734670188179156,
192
+ "gammas": [
193
+ 1.4411961518887884,
194
+ 2.8823923037775767,
195
+ 5.764784607555153,
196
+ 11.529569215110307,
197
+ 23.059138430220614
198
+ ],
199
+ "max_weight": 0.6777952504109969,
200
+ "entropy": 0.9605224718759118,
201
+ "effective_sources": 2.6130613679073416,
202
+ "min_weight": 0.0552621669329701
203
+ },
204
+ "per_source_info": {
205
+ "mmd2_own_rkhs": [
206
+ 0.6491308049576032,
207
+ 0.5568981487675557,
208
+ 0.3890679978127308,
209
+ 0.5719877547192425
210
+ ],
211
+ "standardized": [
212
+ 1.1318865389009094,
213
+ 0.1594828192631669,
214
+ -1.6099410463963124,
215
+ 0.31857168823223964
216
+ ],
217
+ "tau": 0.5,
218
+ "max_weight": 0.9484681548320345,
219
+ "entropy": 0.24930992499892873,
220
+ "effective_sources": 1.2831396485053355,
221
+ "min_weight": 0.00394004854372213
222
+ },
223
+ "lam": 0.01,
224
+ "tau": 0.5,
225
+ "single_mmd_source": "drosophila-vnc",
226
+ "seconds": 1.0
227
+ },
228
+ "teacher_diagnostics": {
229
+ "teacher_val_dice": [
230
+ 0.19408169161460087,
231
+ 0.13693054106355262,
232
+ 0.34856214071670877,
233
+ 0.15175765833135202
234
+ ],
235
+ "ensemble_val_dice": {
236
+ "mixture": 0.3408904698785591,
237
+ "mixture@raw": 0.3461558372224687,
238
+ "mixture@logit": 0.3209424494814286,
239
+ "per_source": 0.3475944498943022,
240
+ "per_source@raw": 0.34822194749797575,
241
+ "per_source@logit": 0.3464301210911742,
242
+ "uniform": 0.18819756340126403,
243
+ "uniform@raw": 0.18329087899026675,
244
+ "uniform@logit": 0.2066047847592749
245
+ },
246
+ "val_patches": 1024
247
+ },
248
+ "temperatures": [
249
+ 1.3819772005081177,
250
+ 3.7969236373901367,
251
+ 2.767761468887329,
252
+ 2.597255229949951
253
+ ],
254
+ "top_source": "drosophila-vnc",
255
+ "weight_stats": {
256
+ "max_weight": 0.6777952504109969,
257
+ "entropy": 0.9605224718759118,
258
+ "effective_sources": 2.6130613679073416,
259
+ "min_weight": 0.0552621669329701
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": 303.6,
271
+ "round0_val": {
272
+ "val_dice": 0.2118068600167677,
273
+ "val_vi": 0.14964552136814735,
274
+ "val_ece": 0.02150047831005253
275
+ },
276
+ "rounds": [
277
+ {
278
+ "round": 1,
279
+ "n_labeled": 100,
280
+ "selection_seconds": 37.5,
281
+ "round_seconds": 218.1,
282
+ "teacher_dice_labeled": [
283
+ 0.03829273777525091,
284
+ 0.008551357968456415,
285
+ 0.22265360583181462,
286
+ 0.00019730768085296483
287
+ ],
288
+ "teacher_dice_pool": null,
289
+ "evidence_fg_pixels": 267058,
290
+ "evidence_nonempty_patches": 74,
291
+ "first_correction": true,
292
+ "restart": "kept",
293
+ "restart_student_dice": 0.013334523583695058,
294
+ "restart_teacher_dice": 0.22265360583181462,
295
+ "weights": [
296
+ 0.012200911710615017,
297
+ 0.0234567119495013,
298
+ 0.9456533644481262,
299
+ 0.018689011891757392
300
+ ],
301
+ "ensemble_choice": "mixture",
302
+ "candidate_dice": {
303
+ "mixture": 0.22146026492223692,
304
+ "uniform": 0.011353831964774486,
305
+ "top1": 0.22265360583181462,
306
+ "top2": 0.22287410068430968,
307
+ "top3": 0.2221372032521384
308
+ },
309
+ "val_dice": 0.7284880907378732,
310
+ "val_vi": 0.08925383861862662,
311
+ "val_ece": 0.007318781441033324
312
+ },
313
+ {
314
+ "round": 2,
315
+ "n_labeled": 200,
316
+ "selection_seconds": 25.5,
317
+ "round_seconds": 79.6,
318
+ "teacher_dice_labeled": [
319
+ 0.0843977025985284,
320
+ 0.012172782655249998,
321
+ 0.13224230106627227,
322
+ 0.0066752619085354665
323
+ ],
324
+ "teacher_dice_pool": null,
325
+ "evidence_fg_pixels": 1115399,
326
+ "evidence_nonempty_patches": 172,
327
+ "first_correction": false,
328
+ "restart": "",
329
+ "weights": [
330
+ 0.043330876352989676,
331
+ 0.054471414405189024,
332
+ 0.8575402913759741,
333
+ 0.04465741786584716
334
+ ],
335
+ "ensemble_choice": "mixture",
336
+ "candidate_dice": {
337
+ "mixture": 0.12992613885762752,
338
+ "uniform": 0.008046029319777243,
339
+ "top1": 0.13224230106627227,
340
+ "top2": 0.13316217464277688,
341
+ "top3": 0.13142508151376586
342
+ },
343
+ "pseudo_student_dice": 0.5515170063829185,
344
+ "pseudo_ensemble_dice": 0.09952690898409115,
345
+ "pseudo_source": "student",
346
+ "consistency_scale": 0.172,
347
+ "val_dice": 0.8179183255309906,
348
+ "val_vi": 0.05907835029705699,
349
+ "val_ece": 0.002730643722707998
350
+ },
351
+ {
352
+ "round": 3,
353
+ "n_labeled": 300,
354
+ "selection_seconds": 25.4,
355
+ "round_seconds": 147.7,
356
+ "teacher_dice_labeled": [
357
+ 0.09774431100649172,
358
+ 0.02100781303993087,
359
+ 0.20822007653296637,
360
+ 0.0037858675867297508
361
+ ],
362
+ "teacher_dice_pool": [
363
+ 0.11166637835235022,
364
+ 0.014642946673106777,
365
+ 0.28479381985635444,
366
+ 0.0009620469771313624
367
+ ],
368
+ "evidence_fg_pixels": 1632966,
369
+ "evidence_nonempty_patches": 266,
370
+ "first_correction": false,
371
+ "restart": "",
372
+ "weights": [
373
+ 0.02493772672979201,
374
+ 0.02996639548739577,
375
+ 0.9232464064547601,
376
+ 0.021849471328052025
377
+ ],
378
+ "ensemble_choice": "mixture",
379
+ "candidate_dice": {
380
+ "mixture": 0.20698885628003225,
381
+ "uniform": 0.011817528245685245,
382
+ "top1": 0.20822007653296637,
383
+ "top2": 0.2087118275421432,
384
+ "top3": 0.20773206921661225
385
+ },
386
+ "pseudo_student_dice": 0.7809243690957529,
387
+ "pseudo_ensemble_dice": 0.1295378560580478,
388
+ "pseudo_source": "student",
389
+ "consistency_scale": 0.936,
390
+ "val_dice": 0.8397631826742316,
391
+ "val_vi": 0.05498086933118604,
392
+ "val_ece": 0.00298188285613413
393
+ },
394
+ {
395
+ "round": 4,
396
+ "n_labeled": 400,
397
+ "selection_seconds": 25.5,
398
+ "round_seconds": 169.0,
399
+ "teacher_dice_labeled": [
400
+ 0.09741935827619103,
401
+ 0.018257986269871015,
402
+ 0.22313621046835663,
403
+ 0.0035449807697112965
404
+ ],
405
+ "teacher_dice_pool": [
406
+ 0.11298328490431746,
407
+ 0.013772936029469702,
408
+ 0.30295471895352916,
409
+ 0.0013155154647071317
410
+ ],
411
+ "evidence_fg_pixels": 2188516,
412
+ "evidence_nonempty_patches": 363,
413
+ "first_correction": false,
414
+ "restart": "",
415
+ "weights": [
416
+ 0.021660446784121497,
417
+ 0.025404693616115942,
418
+ 0.9339408533881395,
419
+ 0.018994006211623046
420
+ ],
421
+ "ensemble_choice": "mixture",
422
+ "candidate_dice": {
423
+ "mixture": 0.22211558136819576,
424
+ "uniform": 0.012848261537052798,
425
+ "top1": 0.22313621046835663,
426
+ "top2": 0.22353551488564827,
427
+ "top3": 0.22274276271997542
428
+ },
429
+ "pseudo_student_dice": 0.8146274749309655,
430
+ "pseudo_ensemble_dice": 0.17598222940226171,
431
+ "pseudo_source": "student",
432
+ "consistency_scale": 1.0,
433
+ "val_dice": 0.8727027758814474,
434
+ "val_vi": 0.04586085054725591,
435
+ "val_ece": 0.0023572107581083693
436
+ },
437
+ {
438
+ "round": 5,
439
+ "n_labeled": 500,
440
+ "selection_seconds": 25.5,
441
+ "round_seconds": 190.5,
442
+ "teacher_dice_labeled": [
443
+ 0.09423271841560225,
444
+ 0.01786067875926255,
445
+ 0.20863073975641946,
446
+ 0.0032668848418224545
447
+ ],
448
+ "teacher_dice_pool": [
449
+ 0.11321393596398284,
450
+ 0.015169177507659712,
451
+ 0.2639679558408339,
452
+ 0.0014020792250121128
453
+ ],
454
+ "evidence_fg_pixels": 2518881,
455
+ "evidence_nonempty_patches": 451,
456
+ "first_correction": false,
457
+ "restart": "",
458
+ "weights": [
459
+ 0.024031619475181773,
460
+ 0.028983011307454676,
461
+ 0.9252901596473508,
462
+ 0.02169520957001273
463
+ ],
464
+ "ensemble_choice": "mixture",
465
+ "candidate_dice": {
466
+ "mixture": 0.20744316954220898,
467
+ "uniform": 0.01252951462867678,
468
+ "top1": 0.20863073975641946,
469
+ "top2": 0.2090463951847489,
470
+ "top3": 0.2081601937542924
471
+ },
472
+ "pseudo_student_dice": 0.7943479375839712,
473
+ "pseudo_ensemble_dice": 0.21403595365511507,
474
+ "pseudo_source": "student",
475
+ "consistency_scale": 0.981,
476
+ "val_dice": 0.8633937643280325,
477
+ "val_vi": 0.0460846659403376,
478
+ "val_ece": 0.0023077556545834403
479
+ },
480
+ {
481
+ "round": 6,
482
+ "n_labeled": 600,
483
+ "selection_seconds": 25.4,
484
+ "round_seconds": 207.8,
485
+ "teacher_dice_labeled": [
486
+ 0.09276645918051137,
487
+ 0.014889898090616777,
488
+ 0.23552871081062293,
489
+ 0.0035663265755556104
490
+ ],
491
+ "teacher_dice_pool": [
492
+ 0.11218089728921189,
493
+ 0.011678871931780969,
494
+ 0.28592648339309323,
495
+ 0.0019156104138320128
496
+ ],
497
+ "evidence_fg_pixels": 2489206,
498
+ "evidence_nonempty_patches": 468,
499
+ "first_correction": false,
500
+ "restart": "",
501
+ "weights": [
502
+ 0.018437500364764308,
503
+ 0.021904253452186863,
504
+ 0.9427167721353997,
505
+ 0.01694147404764911
506
+ ],
507
+ "ensemble_choice": "mixture",
508
+ "candidate_dice": {
509
+ "mixture": 0.23450584653940748,
510
+ "uniform": 0.011503959466380224,
511
+ "top1": 0.23552871081062293,
512
+ "top2": 0.23586462884397835,
513
+ "top3": 0.23511377156938024
514
+ },
515
+ "pseudo_student_dice": 0.9454673857874526,
516
+ "pseudo_ensemble_dice": 0.36671536038318975,
517
+ "pseudo_source": "student",
518
+ "consistency_scale": 1.0,
519
+ "val_dice": 0.8758495345285738,
520
+ "val_vi": 0.041280698120005795,
521
+ "val_ece": 0.00239807538318637
522
+ },
523
+ {
524
+ "round": 7,
525
+ "n_labeled": 600,
526
+ "selection_seconds": 0.0,
527
+ "round_seconds": 211.4,
528
+ "final_consolidation": true,
529
+ "val_dice": 0.8810958794996602,
530
+ "val_vi": 0.04057494837156638,
531
+ "val_ece": 0.0026333786376941874
532
+ }
533
+ ],
534
+ "uncertainty_quality": {
535
+ "spearman_uncertainty_error": -0.36017774401252334,
536
+ "auroc_top20_error": 0.360394235162642
537
+ },
538
+ "al_seconds": 1237.8,
539
+ "source_archs": [
540
+ "unet",
541
+ "unet",
542
+ "unet",
543
+ "unet"
544
+ ],
545
+ "alphas_final": [
546
+ 0.018437500364764308,
547
+ 0.021904253452186863,
548
+ 0.9427167721353997,
549
+ 0.01694147404764911
550
+ ],
551
+ "weight_stats_final": {
552
+ "max_weight": 0.9427167721353997,
553
+ "entropy": 0.2820229765274581,
554
+ "effective_sources": 1.325809182127911,
555
+ "min_weight": 0.01694147404764911
556
+ },
557
+ "top_source_final": "drosophila-vnc",
558
+ "ensemble_choice_final": "",
559
+ "restart": "kept",
560
+ "test_raw_student": {
561
+ "patch_dice": 0.8716612471825786,
562
+ "patch_iou": 0.8425408245737226,
563
+ "patch_precision": 0.9459390937256462,
564
+ "patch_recall": 0.8854203269001327,
565
+ "patch_vi": 0.027044653248263214,
566
+ "n_patches": 2376,
567
+ "cal_ece": 0.0019236981596546764,
568
+ "cal_nll": 0.01505363365568678,
569
+ "cal_brier": 0.0027411552110365505,
570
+ "cal_mean_confidence": 0.9986372529786782,
571
+ "cal_accuracy": 0.9967135548190236,
572
+ "cal_predicted_prevalence": 0.026243473142887205,
573
+ "cal_true_prevalence": 0.026826286958122895,
574
+ "cal_mean_probability": 0.025931264006348577
575
+ },
576
+ "test_notta": {
577
+ "patch_dice": 0.8716612471825786,
578
+ "patch_iou": 0.8425408245737226,
579
+ "patch_precision": 0.9459390937256462,
580
+ "patch_recall": 0.8854203269001327,
581
+ "patch_vi": 0.027044653248263214,
582
+ "n_patches": 2376,
583
+ "cal_ece": 0.0019236981596546764,
584
+ "cal_nll": 0.01505363365568678,
585
+ "cal_brier": 0.0027411552110365505,
586
+ "cal_mean_confidence": 0.9986372529786782,
587
+ "cal_accuracy": 0.9967135548190236,
588
+ "cal_predicted_prevalence": 0.026243473142887205,
589
+ "cal_true_prevalence": 0.026826286958122895,
590
+ "cal_mean_probability": 0.025931264006348577
591
+ },
592
+ "test": {
593
+ "patch_dice": 0.8806073948945004,
594
+ "patch_iou": 0.8520803541413138,
595
+ "patch_precision": 0.9547011432703486,
596
+ "patch_recall": 0.887258433513542,
597
+ "patch_vi": 0.025885128225993523,
598
+ "n_patches": 2376,
599
+ "image_dice": 0.948303957395134,
600
+ "image_iou": 0.9020892014257859,
601
+ "image_precision": 0.9597966206412246,
602
+ "image_recall": 0.9375817043623197,
603
+ "image_vi": 0.03077187452953857,
604
+ "n_images": 24,
605
+ "cal_ece": 0.0014176467257451166,
606
+ "cal_nll": 0.011710549894120235,
607
+ "cal_brier": 0.0024250120921702435,
608
+ "cal_mean_confidence": 0.9983486264448106,
609
+ "cal_accuracy": 0.9969309797190656,
610
+ "cal_predicted_prevalence": 0.026230731797138047,
611
+ "cal_true_prevalence": 0.026826286958122895,
612
+ "cal_mean_probability": 0.02602820112381996
613
+ },
614
+ "eval_seconds": 36.8,
615
+ "total_seconds": 1596.3,
616
+ "resources": {
617
+ "phases": {
618
+ "setup": {
619
+ "seconds": 0.59,
620
+ "peak_cpu_rss_mb": 1028.3,
621
+ "peak_gpu_alloc_mb": 592.4,
622
+ "peak_gpu_reserved_mb": 594.0
623
+ },
624
+ "features_and_weights": {
625
+ "seconds": 15.46,
626
+ "peak_cpu_rss_mb": 1793.0,
627
+ "peak_gpu_alloc_mb": 2298.2,
628
+ "peak_gpu_reserved_mb": 2640.0
629
+ },
630
+ "distillation": {
631
+ "seconds": 303.55,
632
+ "peak_cpu_rss_mb": 3685.8,
633
+ "peak_gpu_alloc_mb": 3829.8,
634
+ "peak_gpu_reserved_mb": 4128.0,
635
+ "kd_epochs": 5
636
+ },
637
+ "active_learning": {
638
+ "seconds": 1237.79,
639
+ "peak_cpu_rss_mb": 3685.8,
640
+ "peak_gpu_alloc_mb": 3950.0,
641
+ "peak_gpu_reserved_mb": 4170.0,
642
+ "rounds": 6
643
+ },
644
+ "inference": {
645
+ "seconds": 36.81,
646
+ "peak_cpu_rss_mb": 3685.8,
647
+ "peak_gpu_alloc_mb": 2149.5,
648
+ "peak_gpu_reserved_mb": 4172.0,
649
+ "patches": 2376,
650
+ "images": 24,
651
+ "patches_per_second": 64.5,
652
+ "seconds_per_image": 1.534
653
+ }
654
+ },
655
+ "peak_gpu_alloc_mb": 3950.0,
656
+ "peak_cpu_rss_mb": 3685.8,
657
+ "total_seconds": 1594.2
658
+ },
659
+ "student_parameters": 31042369,
660
+ "teacher_parameters": [
661
+ 31042369,
662
+ 31042369,
663
+ 31042369,
664
+ 31042369
665
+ ],
666
+ "checkpoint": "/home/user/connectomics/MACS-2/models/experiments/macs_v2/kasthuri-pp/macs-v11-norestart-acq-laplace_b5_s2.pth"
667
+ }