ray.tune.ExperimentAnalysis.get_trial_checkpoints_paths#

ExperimentAnalysis.get_trial_checkpoints_paths(trial: ray.tune.experiment.trial.Trial, metric: Optional[str] = None) List[Tuple[str, numbers.Number]][source]#

Gets paths and metrics of all persistent checkpoints of a trial.

Parameters
  • trial – The log directory of a trial, or a trial instance.

  • metric – key for trial info to return, e.g. “mean_accuracy”. “training_iteration” is used by default if no value was passed to self.default_metric.

Returns

List of [path, metric] for all persistent checkpoints of the trial.