tf.contrib.learn.monitors.CheckpointSaver.__init__(checkpoint_dir, save_secs=None, save_steps=None, saver=None, checkpoint_basename='model.ckpt', scaffold=None)
Initialize CheckpointSaver monitor.
Args:
-
checkpoint_dir
:str
, base directory for the checkpoint files. -
save_secs
:int
, save every N secs. -
save_steps
:int
, save every N steps. -
saver
:Saver
object, used for saving. -
checkpoint_basename
:str
, base name for the checkpoint files. -
scaffold
:Scaffold
, use to get saver object.
Raises:
-
ValueError
: If bothsave_steps
andsave_secs
are notNone
. -
ValueError
: If bothsave_steps
andsave_secs
areNone
.
Please login to continue.