示例#1
0
 def get_path_to_best_checkpoint(self) -> Path:
     """
     Returns full path to a checkpoint given an epoch
     :return: path to a checkpoint given an epoch
     """
     return get_best_checkpoint_path(self.checkpoint_folder)
 def get_best_checkpoint_paths(self) -> List[Path]:
     return [get_best_checkpoint_path(x) for x in self.checkpoints_roots]
示例#3
0
 def get_path_to_best_checkpoint(self) -> Path:
     """
     Returns the full path to a checkpoint file that was found to be best during training, whatever criterion
     was applied there.
     """
     return get_best_checkpoint_path(self.checkpoint_folder)