ray.tune.logger.LoggerCallback.on_trial_recover#

LoggerCallback.on_trial_recover(iteration: int, trials: List[Trial], trial: Trial, **info)#

Called after a trial instance failed (errored) but the trial is scheduled for retry.

The search algorithm and scheduler are not notified.

Parameters:
  • iteration – Number of iterations of the tuning loop.

  • trials – List of trials.

  • trial – Trial that just has errored.

  • **info – Kwargs dict for forward compatibility.