Skip to content

Latest commit

 

History

History
108 lines (88 loc) · 2.58 KB

KerasTrainerCheckpointOptions.md

File metadata and controls

108 lines (88 loc) · 2.58 KB

runner.KerasTrainerCheckpointOptions

View source on GitHub

Provides Keras Checkpointing related configuration options.

runner.KerasTrainerCheckpointOptions(
    checkpoint_dir: Optional[str] = None,
    best_checkpoint: str = 'best',
    latest_checkpoint: str = 'latest'
)

Attributes

checkpoint_dir Directory path to save checkpoint files.
best_checkpoint Filename for the best checkpoint.
latest_checkpoint Filename for the latest checkpoint.

Methods

best_checkpoint_filepath

View source

best_checkpoint_filepath() -> str

latest_checkpoint_filepath

View source

latest_checkpoint_filepath() -> str

__eq__

__eq__(
    other
)

Return self==value.

Class Variables

best_checkpoint 'best'
checkpoint_dir None
latest_checkpoint 'latest'