nntoolbox.callbacks.checkpoint module¶
-
class
nntoolbox.callbacks.checkpoint.ModelCheckpoint(learner, filepath: str, monitor: str = 'loss', save_best_only: bool = True, mode: str = 'min', period: int = 1)[source]¶
-
class
nntoolbox.callbacks.checkpoint.OptimizerCheckPoint(filepath: str, monitor: str = 'loss', save_best_only: bool = True, mode: str = 'min', period: int = 1)[source]¶
-
class
nntoolbox.callbacks.checkpoint.ResumeFromCheckpoint(model_path: Optional[str] = None, optimizer_path: Optional[str] = None)[source]¶ Bases:
nntoolbox.callbacks.callbacks.CallbackResume from previous checkpoint