Updates the content of the 'checkpoint' file. (deprecated)
tf.compat.v1.train.update_checkpoint_state(
save_dir, model_checkpoint_path, all_model_checkpoint_paths=None,
latest_filename=None, all_model_checkpoint_timestamps=None,
last_preserved_timestamp=None
)
This updates the checkpoint file containing a CheckpointState proto.
Args | |
---|---|
save_
|
Directory where the model was saved. |
model_
|
The checkpoint file. |
all_
|
List of strings. Paths to all not-yet-deleted checkpoints, sorted from oldest to newest. If this is a non-empty list, the last element must be equal to model_checkpoint_path. These paths are also saved in the CheckpointState proto. |
latest_
|
Optional name of the checkpoint file. Default to 'checkpoint'. |
all_
|
Optional list of timestamps (floats,
seconds since the Epoch) indicating when the checkpoints in
all_ were created.
|
last_
|
A float, indicating the number of seconds since
the Epoch when the last preserved checkpoint was written, e.g. due to a
keep_ parameter (see
tf.train.CheckpointManager for an implementation).
|
Raises | |
---|---|
RuntimeError
|
If any of the model checkpoint paths conflict with the file containing CheckpointSate. |