resolve_checkpoint_path¶
- resolve_checkpoint_path(main_dir, subdirectory=None)[source]¶
Resolve the path to a checkpoint subdirectory.
- Parameters:
- Returns:
Path to the checkpoint subdirectory.
- Return type:
- Raises:
CheckpointNotFoundError – If the main directory or specified subdirectory does not exist.