Changed the default eval throttle secs from 2 min to 10 mins.

PiperOrigin-RevId: 168120323
This commit is contained in:
Jianwei Xie 2017-09-09 15:17:31 -07:00 committed by TensorFlower Gardener
parent 92bed178f3
commit 67a7cbc283
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class EvalSpec(
hooks=None,
export_strategies=None,
delay_secs=120,
throttle_secs=60):
throttle_secs=600):
"""Creates a validated `EvalSpec` instance.
Args:

View File

@ -25,7 +25,7 @@ from tensorflow.python.training import session_run_hook
_DEFAULT_EVAL_STEPS = 100
_DEFAULT_EVAL_DELAY_SECS = 120
_DEFAULT_EVAL_THROTTLE_SECS = 60
_DEFAULT_EVAL_THROTTLE_SECS = 600
_INVALID_INPUT_FN_MSG = '`input_fn` must be callable'
_INVALID_HOOK_MSG = 'All hooks must be `SessionRunHook` instances'
_INVALID_MAX_STEPS_MSG = 'Must specify max_steps > 0'