ray.tune.Callback.on_trial_error#

Callback.on_trial_error(iteration: int, trials: List[Trial], trial: Trial, **info)[source]#

Called after a trial instance failed (errored).

The search algorithm and scheduler are notified before this hook is called.

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.