runner.KerasTrainerCheckpointOptions
December 14, 2023 ยท View on GitHub
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
best_checkpoint_filepath() -> str
latest_checkpoint_filepath
latest_checkpoint_filepath() -> str
__eq__
__eq__(
other
)
Return self==value.
Class Variables | |
|---|---|
| best_checkpoint |
'best'
|
| checkpoint_dir |
None
|
| latest_checkpoint |
'latest'
|