Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
a94e2737
Commit
a94e2737
authored
Aug 28, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Aug 28, 2020
Browse files
Internal change
PiperOrigin-RevId: 328980837
parent
e8698f12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
official/modeling/hyperparams/config_definitions.py
official/modeling/hyperparams/config_definitions.py
+3
-2
No files found.
official/modeling/hyperparams/config_definitions.py
View file @
a94e2737
...
...
@@ -193,7 +193,8 @@ class TrainerConfig(base_config.Config):
max_to_keep: max checkpoints to keep.
continuous_eval_timeout: maximum number of seconds to wait between
checkpoints, if set to None, continuous eval will wait indefinitely. This
is only used continuous_train_and_eval and continuous_eval modes.
is only used continuous_train_and_eval and continuous_eval modes. Default
value is 24 hrs.
train_steps: number of train steps.
validation_steps: number of eval steps. If `None`, the entire eval dataset
is used.
...
...
@@ -222,7 +223,7 @@ class TrainerConfig(base_config.Config):
checkpoint_interval
:
int
=
1000
# Checkpoint manager.
max_to_keep
:
int
=
5
continuous_eval_timeout
:
Optional
[
int
]
=
None
continuous_eval_timeout
:
int
=
24
*
60
*
60
# Train/Eval routines.
train_steps
:
int
=
0
validation_steps
:
Optional
[
int
]
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment