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
3ed24a68
Commit
3ed24a68
authored
Jun 23, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Jun 23, 2020
Browse files
Internal change
PiperOrigin-RevId: 317958778
parent
6d0cf372
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
official/modeling/hyperparams/config_definitions.py
official/modeling/hyperparams/config_definitions.py
+6
-6
No files found.
official/modeling/hyperparams/config_definitions.py
View file @
3ed24a68
...
...
@@ -178,14 +178,17 @@ class TrainerConfig(base_config.Config):
checkpoints, if set to None, continuous eval will wait indefinetely.
"""
optimizer_config
:
OptimizationConfig
=
OptimizationConfig
()
train_
tf_while_loop
:
bool
=
True
train_tf_function
:
bool
=
Tru
e
e
val
_tf_function
:
bool
=
True
train_
steps
:
int
=
0
validation_steps
:
Optional
[
int
]
=
Non
e
val
idation_interval
:
int
=
100
steps_per_loop
:
int
=
1000
summary_interval
:
int
=
1000
checkpoint_interval
:
int
=
1000
max_to_keep
:
int
=
5
continuous_eval_timeout
:
Optional
[
int
]
=
None
train_tf_while_loop
:
bool
=
True
train_tf_function
:
bool
=
True
eval_tf_function
:
bool
=
True
@
dataclasses
.
dataclass
...
...
@@ -201,9 +204,6 @@ class ExperimentConfig(base_config.Config):
task
:
TaskConfig
=
TaskConfig
()
trainer
:
TrainerConfig
=
TrainerConfig
()
runtime
:
RuntimeConfig
=
RuntimeConfig
()
train_steps
:
int
=
0
validation_steps
:
Optional
[
int
]
=
None
validation_interval
:
int
=
100
_REGISTERED_CONFIGS
=
{}
...
...
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