Spaces:
Running
Running
devjas1
commited on
Commit
Β·
4b9a18f
1
Parent(s):
218c86b
(docs): add sprint log entries for pre-flight and registry unification.
Browse files- docs/sprint_log.md +26 -0
docs/sprint_log.md
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Sprint Log
|
2 |
+
|
3 |
+
## @model-expansion-preflight-2025-08-21
|
4 |
+
**Goal:** Reinforce training script contracts and registry hook without behavior changes.
|
5 |
+
**Changes:**
|
6 |
+
- Reproducibility seeds (python/numpy/torch/cuda).
|
7 |
+
- Optional cuDNN deterministic settings.
|
8 |
+
-Typo fix: "Reseample" -> "Resample".
|
9 |
+
- Diagnostics fix: per-fold accuracy logs use correct variable.
|
10 |
+
- Explicit dtypes in TensorDataset (float32/long).
|
11 |
+
**Tests:**
|
12 |
+
- Preprocess: β
|
13 |
+
- Train (figure2, 1 epoch): β
|
14 |
+
- Inference smoke: β
|
15 |
+
**Notes:** Baseline intact; high CV variance due to class imbalance recorded for later migration.
|
16 |
+
|
17 |
+
## @model-expansion-registry-2025-08-21
|
18 |
+
**Goal:** Make model lookup a single source of truth and expose dynamic choices for CLI/infra.
|
19 |
+
**Changes:**
|
20 |
+
- Added `models/registry.py` with `choices()` and `build()` helpers.
|
21 |
+
- `scripts/train_model.py` imports registry, uses `choices()` for argparse and `build()` for contruction.
|
22 |
+
- Removed direct model selection logic from training script.
|
23 |
+
**Tests:**
|
24 |
+
- Train (figure2) via registry: β
|
25 |
+
- Inference unchanged paths: β
|
26 |
+
**Notes:** Artifacts remain `outputs/{model}_model.pth` to avoid breaking validator; inference arch flag to be added next.
|