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
a2a8ff82
Commit
a2a8ff82
authored
Aug 16, 2019
by
Reed
Browse files
Show flags when --help is specified in resnet.
parent
ff6c3b1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
official/resnet/ctl/ctl_imagenet_main.py
official/resnet/ctl/ctl_imagenet_main.py
+2
-0
official/resnet/keras/keras_imagenet_main.py
official/resnet/keras/keras_imagenet_main.py
+1
-0
No files found.
official/resnet/ctl/ctl_imagenet_main.py
View file @
a2a8ff82
...
@@ -283,4 +283,6 @@ if __name__ == '__main__':
...
@@ -283,4 +283,6 @@ if __name__ == '__main__':
logging
.
set_verbosity
(
logging
.
INFO
)
logging
.
set_verbosity
(
logging
.
INFO
)
keras_common
.
define_keras_flags
()
keras_common
.
define_keras_flags
()
ctl_common
.
define_ctl_flags
()
ctl_common
.
define_ctl_flags
()
flags
.
adopt_module_key_flags
(
keras_common
)
flags
.
adopt_module_key_flags
(
ctl_common
)
absl_app
.
run
(
main
)
absl_app
.
run
(
main
)
official/resnet/keras/keras_imagenet_main.py
View file @
a2a8ff82
...
@@ -268,6 +268,7 @@ def run(flags_obj):
...
@@ -268,6 +268,7 @@ def run(flags_obj):
def
define_imagenet_keras_flags
():
def
define_imagenet_keras_flags
():
keras_common
.
define_keras_flags
()
keras_common
.
define_keras_flags
()
flags_core
.
set_defaults
(
train_epochs
=
90
)
flags_core
.
set_defaults
(
train_epochs
=
90
)
flags
.
adopt_module_key_flags
(
keras_common
)
def
main
(
_
):
def
main
(
_
):
...
...
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