ray.tune.Callback.on_checkpoint#
- Callback.on_checkpoint(iteration: int, trials: List[Trial], trial: Trial, checkpoint: Checkpoint, **info)[source]#
Called after a trial saved a checkpoint with Tune.
- Parameters:
iteration – Number of iterations of the tuning loop.
trials – List of trials.
trial – Trial that just has errored.
checkpoint – Checkpoint object that has been saved by the trial.
**info – Kwargs dict for forward compatibility.