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
506492d5
Commit
506492d5
authored
Mar 26, 2021
by
Frederick Liu
Committed by
A. Unique TensorFlower
Mar 26, 2021
Browse files
[vision][mnist] download_and_prepare should be no op if file exist.
PiperOrigin-RevId: 365275913
parent
f7260d3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/vision/image_classification/mnist_main.py
official/vision/image_classification/mnist_main.py
+1
-1
No files found.
official/vision/image_classification/mnist_main.py
View file @
506492d5
...
@@ -157,7 +157,7 @@ def define_mnist_flags():
...
@@ -157,7 +157,7 @@ def define_mnist_flags():
distribution_strategy
=
True
)
distribution_strategy
=
True
)
flags_core
.
define_device
()
flags_core
.
define_device
()
flags_core
.
define_distribution
()
flags_core
.
define_distribution
()
flags
.
DEFINE_bool
(
'download'
,
Fals
e
,
flags
.
DEFINE_bool
(
'download'
,
Tru
e
,
'Whether to download data to `--data_dir`.'
)
'Whether to download data to `--data_dir`.'
)
flags
.
DEFINE_integer
(
'profiler_port'
,
9012
,
flags
.
DEFINE_integer
(
'profiler_port'
,
9012
,
'Port to start profiler server on.'
)
'Port to start profiler server on.'
)
...
...
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