Skip to content

Commit daae6a0

Browse files
[vision][mnist] download_and_prepare should be no op if file exist.
PiperOrigin-RevId: 365275913
1 parent af07c19 commit daae6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

official/vision/image_classification/mnist_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def define_mnist_flags():
157157
distribution_strategy=True)
158158
flags_core.define_device()
159159
flags_core.define_distribution()
160-
flags.DEFINE_bool('download', False,
160+
flags.DEFINE_bool('download', True,
161161
'Whether to download data to `--data_dir`.')
162162
flags.DEFINE_integer('profiler_port', 9012,
163163
'Port to start profiler server on.')

0 commit comments

Comments
 (0)