ray.tune.logger.CSVLoggerCallback#
- class ray.tune.logger.CSVLoggerCallback[source]#
Bases:
LoggerCallback
Logs results to progress.csv under the trial directory.
Automatically flattens nested dicts in the result dict before writing to csv:
{“a”: {“b”: 1, “c”: 2}} -> {“a/b”: 1, “a/c”: 2}
Methods
Get the state of the callback.
Handle logging when a trial restores.
Handle logging when a trial saves a checkpoint.
Handle logging when a trial starts.
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.