espnet3.bin.atlas.core.reports.sync_trials_csv
Less than 1 minute
espnet3.bin.atlas.core.reports.sync_trials_csv
espnet3.bin.atlas.core.reports.sync_trials_csv(state, study_dir: Path, study_id: str) → None
Regenerate study_dir/trials.csv from a study’s trial records.
Rewrites the whole file from the current set of trials, with one column per distinct config_patch key and one per distinct flattened metric key seen across all trials, so the sheet grows as new hyperparameters or metrics appear.
- Parameters:
- state –
StateStoreto read trial records from. - study_dir – Study directory; the CSV is written to
study_dir/trials.csv. - study_id – Study whose trials to include.
- state –
- Returns: None.
Example
>>> sync_trials_csv(state, Path("exp/atlas/my_study"), "my_study")