Commit b0581d0a authored by Hongkun Yu's avatar Hongkun Yu Committed by saberkun
Browse files

Internal change

PiperOrigin-RevId: 275393975
parent 2791e600
......@@ -65,7 +65,7 @@ def download(directory, filename):
if tf.io.gfile.exists(filepath):
return filepath
if not tf.io.gfile.exists(directory):
tf.io.gfile.mkdir(directory)
tf.io.gfile.makedirs(directory)
# CVDF mirror of http://yann.lecun.com/exdb/mnist/
url = 'https://storage.googleapis.com/cvdf-datasets/mnist/' + filename + '.gz'
_, zipped_filepath = tempfile.mkstemp(suffix='.gz')
......
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