tf.contrib.training.wait_for_new_checkpoint
Stay organized with collections
Save and categorize content based on your preferences.
Waits until a new checkpoint file is found.
tf.contrib.training.wait_for_new_checkpoint(
checkpoint_dir, last_checkpoint=None, seconds_to_sleep=1, timeout=None
)
Args |
checkpoint_dir
|
The directory in which checkpoints are saved.
|
last_checkpoint
|
The last checkpoint path used or None if we're expecting
a checkpoint for the first time.
|
seconds_to_sleep
|
The number of seconds to sleep for before looking for a
new checkpoint.
|
timeout
|
The maximum number of seconds to wait. If left as None , then the
process will wait indefinitely.
|
Returns |
a new checkpoint path, or None if the timeout was reached.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]