Trial io
Utility functions for loading trials from a file.
load_trials_from_pickle
#
load_trials_from_pickle(
root_dir: Path | str,
) -> Sequence[tuple[Mapping[str, Any], UserResultDict]]
Load trials from a pickle-based TrialRepo.
| PARAMETER | DESCRIPTION |
|---|---|
root_dir
|
The root directory containing the 'configs' folder. |
| RETURNS | DESCRIPTION |
|---|---|
Sequence[tuple[Mapping[str, Any], UserResultDict]]
|
Sequence[tuple[Mapping[str, Any], UserResultDict]]: A sequence of tuples, each containing the trial configuration and its corresponding report as a dictionary. |