You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: research/vestibular_schwannoma/notebooks/01_five_fold_cross_validation.ipynb
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,9 @@
83
83
"\n",
84
84
"Patch-loading settings depend on available hardware. More queue workers may improve training throughput, while a larger queue increases RAM usage.\n",
85
85
"\n",
86
-
"`training_seed` initializes training randomness before each independent run while retaining cuDNN performance optimizations. In an all-data run, every case remains in training and the first case by stable `case_id` order is duplicated only for fastai's validation phase. Its metric is an internal monitor, not held-out evaluation."
86
+
"`training_seed` initializes training randomness before each independent run while retaining cuDNN performance optimizations. In an all-data run, every case remains in training and the first case by stable `case_id` order is duplicated only for fastai's validation phase. Its metric is an internal monitor, not held-out evaluation.\n",
87
+
"\n",
88
+
"Every independently launched job must use a distinct, previously nonexistent `RESULTS_ROOT`. Re-run this configuration cell before starting another sweep. After parallel fold subsets finish (or one is interrupted after completing some folds), use `merge_inference_manifests.py` to validate and combine their `completed_run_ids.json` registries. The merger rejects different dataset, split, preprocessing, model, loss, or training contracts. A partial `completed_run_ids.json` registry cannot be used directly for inference."
"Preprocessing is fold-independent. `preprocess_dataset()` automatically creates a versioned preprocessing cache and a `preprocessing_manifest.json` file. On later runs, fastMONAI uses the manifest to verify that the source files and preprocessing settings are unchanged before reusing the cache. `PatchConfig(preprocessed=True)` prevents preprocessing from being applied twice during training.\n"
177
+
"Preprocessing is fold-independent. `preprocess_dataset()` automatically creates a versioned preprocessing cache and a `preprocessing_manifest.json` file. On later runs, fastMONAI uses the manifest to verify that the source files and preprocessing settings are unchanged before reusing the cache. `PatchConfig(preprocessed=True)` prevents preprocessing from being applied twice during training.\n",
178
+
"\n",
179
+
"Populate a new preprocessing cache with one process before launching parallel training jobs; concurrent first-time cache creation is not supported.\n"
176
180
]
177
181
},
178
182
{
@@ -543,7 +547,8 @@
543
547
"- `cv_results/<RESULTS_RUN>/<model>/fold_N/`: metrics and predictions.\n",
544
548
"- `cv_results/<RESULTS_RUN>/<model>/cv_summary.csv`: one complete model summary.\n",
"- `cv_results/<RESULTS_RUN>/inference_run_ids.json`: exact completed MLflow runs for notebook 02.\n",
550
+
"- `cv_results/<RESULTS_RUN>/completed_run_ids.json`: atomically updated MLflow runs for completed folds, including before a later interruption.\n",
551
+
"- `cv_results/<RESULTS_RUN>/inference_run_ids.json`: exact fully completed MLflow runs for notebook 02.\n",
547
552
"\n",
548
553
"MLflow retains final and selected weights-only checkpoints plus strict-loadable Safetensors artifacts. All-data runs produce only final artifacts.\n",
0 commit comments