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
4c514dc6
Commit
4c514dc6
authored
Apr 05, 2021
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Apr 05, 2021
Browse files
Internal change
PiperOrigin-RevId: 366883391
parent
6f0b84d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
official/common/flags.py
official/common/flags.py
+9
-4
No files found.
official/common/flags.py
View file @
4c514dc6
...
...
@@ -25,10 +25,14 @@ def define_flags():
flags
.
DEFINE_enum
(
'mode'
,
default
=
None
,
enum_values
=
[
'train'
,
'eval'
,
'train_and_eval'
,
'continuous_eval'
,
'continuous_train_and_eval'
],
enum_values
=
[
'train'
,
'eval'
,
'train_and_eval'
,
'continuous_eval'
,
'continuous_train_and_eval'
,
'train_and_validate'
],
help
=
'Mode to run: `train`, `eval`, `train_and_eval`, '
'`continuous_eval`, and `continuous_train_and_eval`.'
)
'`continuous_eval`, `continuous_train_and_eval` and '
'`train_and_validate` (which is not implemented in '
'the open source version).'
)
flags
.
DEFINE_string
(
'model_dir'
,
...
...
@@ -78,7 +82,8 @@ def define_flags():
pass
flags
.
DEFINE_string
(
'tpu'
,
default
=
None
,
'tpu'
,
default
=
None
,
help
=
'The Cloud TPU to use for training. This should be either the name '
'used when creating the Cloud TPU, or a grpc://ip.address.of.tpu:8470 '
'url.'
)
...
...
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