Commit 120526af authored by Asim Shankar's avatar Asim Shankar
Browse files

[mnist]: Address review comments.

parent 73def645
...@@ -57,7 +57,7 @@ def check_labels_file_header(filename): ...@@ -57,7 +57,7 @@ def check_labels_file_header(filename):
def maybe_download(directory, filename): def maybe_download(directory, filename):
"""Download a file from the MNIST dataset, if it doesn't already exist.""" """Download (and unzip) a file from the MNIST dataset, if it doesn't already exist."""
if not tf.gfile.Exists(directory): if not tf.gfile.Exists(directory):
tf.gfile.MakeDirs(directory) tf.gfile.MakeDirs(directory)
filepath = os.path.join(directory, filename) filepath = os.path.join(directory, filename)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment