get_checkpoint_info

get_checkpoint_info(checkpoint_path)[source]

Get information about a checkpoint.

Parameters:

checkpoint_path (Path) – Path to the checkpoint subdirectory.

Returns:

Information about the checkpoint.

Return type:

CheckpointInfo

Raises:

CheckpointNotFoundError – If the checkpoint directory does not exist.