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