ray.air.checkpoint.Checkpoint.from_directory#

classmethod Checkpoint.from_directory(path: Union[str, os.PathLike]) ray.air.checkpoint.Checkpoint[source]#

Create checkpoint object from directory.

Parameters

path – Directory containing checkpoint data. The caller promises to not delete the directory (gifts ownership of the directory to this Checkpoint).

Returns

checkpoint object.

Return type

Checkpoint