Skip to content

Commit

Permalink
Set keep_checkpoint_max
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Jan 18, 2017
1 parent 99c31e7 commit fefacb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qnd/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def saver_help(x):
help=saver_help("summary"))
adder.add_flag("save_checkpoints_steps", type=int,
help=saver_help("a model"))
adder.add_flag("keep_checkpoint_max", type=int, default=2049 * 42,
help="Max number of kept checkpoint files")

@util.func_scope
def config():
Expand Down

0 comments on commit fefacb2

Please sign in to comment.