ray.tune.logger.JsonLoggerCallback#
- class ray.tune.logger.JsonLoggerCallback[source]#
Bases:
LoggerCallback
Logs trial results in json format.
Also writes to a results file and param.json file when results or configurations are updated. Experiments must be executed with the JsonLoggerCallback to be compatible with the ExperimentAnalysis tool.
Methods
Get the state of the callback.
Handle logging when a trial restores.
Handle logging when a trial saves a checkpoint.
Called after a trial saved a checkpoint with Tune.
Called after experiment is over and all trials have concluded.
Called at the start of each tuning loop step.
Called at the end of each tuning loop step.
Called after a trial instance failed (errored) but the trial is scheduled for retry.
Set the state of the callback.
Called once at the very beginning of training.