Changed the default eval throttle secs from 2 min to 10 mins.
PiperOrigin-RevId: 168120323
This commit is contained in:
parent
92bed178f3
commit
67a7cbc283
@ -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:
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user