Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating multiple checkpoint files #273

Open
reorder-cv opened this issue Mar 27, 2019 · 1 comment
Open

Generating multiple checkpoint files #273

reorder-cv opened this issue Mar 27, 2019 · 1 comment

Comments

@reorder-cv
Copy link

is it possible to generate multiple checkpoint files at specified intervals?
say for example, if the training iteration is 2000, can we generate separate checkpoint files for every 500 iterations or at 1000th and 2000th?
if its possible, please help me with the ways to do.

Thank you in advance.

@StephenRUK
Copy link

When a (TensorFlow) checkpoint is stored, the current weights are saved. If they aren't saved in a checkpoint, there's no way to get them back at a later time. You can only set a time interval for checkpoints in the Luminoth config file.

See base_config.yml for possible configurations (importantly the two options below):

  # The frequency, in seconds, that a checkpoint is saved.
  save_checkpoint_secs: 600
  # The maximum number of checkpoints to keep
  checkpoints_max_keep: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants