diff options
| author | YurenHao0426 <Blackhao0426@gmail.com> | 2026-08-07 16:02:49 -0500 |
|---|---|---|
| committer | YurenHao0426 <Blackhao0426@gmail.com> | 2026-08-07 16:02:49 -0500 |
| commit | c1ac6dd114abc7b7428c41ee3ac54ea7efd9417b (patch) | |
| tree | b33e11cd4e52396d497816c46e90aca89fd5ed21 | |
| parent | 2e9450322e4433757628b730ac3ae68e100750e3 (diff) | |
fix: summarize Rain metric trajectories
| -rwxr-xr-x | experiments/rain_ep_centered_r3.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/experiments/rain_ep_centered_r3.sh b/experiments/rain_ep_centered_r3.sh index 2ea5acb..be44649 100755 --- a/experiments/rain_ep_centered_r3.sh +++ b/experiments/rain_ep_centered_r3.sh @@ -54,7 +54,7 @@ by_seed = {} for path in sorted(root.glob("seed_*.json")): _, seed, method = path.stem.split("_", 2) report = json.loads(path.read_text()) - trajectory = [epoch["test_accuracy"] for epoch in report["epochs"]] + trajectory = [epoch["test_accuracy"] for epoch in report["metrics"]] by_seed.setdefault(seed, {})[method] = { "trajectory": trajectory, "best_accuracy": max(trajectory), |
