CheckpointFile
python
CheckpointFile(name: str)Properties
filename
python
filename: strname
python
name: strMethods
extension
python
extension() -> strextensions
python
extensions() -> tuple[str, ...]Get every file extension files of this checkpoint type can be saved with.
The first entry is the default used when saving; loaders should accept all of them.
Returns:
tuple[str, ...]– The extensions, default first.
load
python
load(file_path: str | PathLike, name: str) -> Selfsave
python
save(checkpoint_directory: str | PathLike) -> Path