ray.tune.logger.JsonLoggerCallback
ray.tune.logger.JsonLoggerCallback#
- class ray.tune.logger.JsonLoggerCallback[source]#
Bases:
ray.tune.logger.logger.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.
PublicAPI: This API is stable across Ray releases.
- log_trial_start(trial: Trial)[source]#
Handle logging when a trial starts.
- Parameters
trial – Trial object.