ray.train.v2.api.context.TrainContext.get_trial_dir#

TrainContext.get_trial_dir() str[source]#

[Deprecated] Log directory corresponding to the trial directory for a Tune session. This is deprecated for Ray Train and should no longer be called in Ray Train workers.

If this directory is needed, please pass it into the train_loop_config directly.

Warning

DEPRECATED: This API is deprecated and may be removed in future Ray releases.