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
46cc8af1
Commit
46cc8af1
authored
Dec 07, 2018
by
Toby Boyd
Browse files
add flag to turn off dist_strat.
parent
834cff94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
official/resnet/resnet_run_loop.py
official/resnet/resnet_run_loop.py
+4
-1
No files found.
official/resnet/resnet_run_loop.py
View file @
46cc8af1
...
@@ -628,7 +628,10 @@ def define_resnet_flags(resnet_size_choices=None):
...
@@ -628,7 +628,10 @@ def define_resnet_flags(resnet_size_choices=None):
'the expense of image resize/cropping being done as part of model '
'the expense of image resize/cropping being done as part of model '
'inference. Note, this flag only applies to ImageNet and cannot '
'inference. Note, this flag only applies to ImageNet and cannot '
'be used for CIFAR.'
))
'be used for CIFAR.'
))
flags
.
DEFINE_boolean
(
name
=
'dist_strat_off'
,
default
=
False
,
help
=
flags_core
.
help_wrap
(
'Set to true to not use distribution '
'strategies.'
))
choice_kwargs
=
dict
(
choice_kwargs
=
dict
(
name
=
'resnet_size'
,
short_name
=
'rs'
,
default
=
'50'
,
name
=
'resnet_size'
,
short_name
=
'rs'
,
default
=
'50'
,
help
=
flags_core
.
help_wrap
(
'The size of the ResNet model to use.'
))
help
=
flags_core
.
help_wrap
(
'The size of the ResNet model to use.'
))
...
...
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