Commit 9cfb3a82 authored by Neal Wu's avatar Neal Wu
Browse files

Use .size() instead of .Size() in download_and_convert_mnist.py

parent afdcf7d4
......@@ -165,7 +165,7 @@ def _download_dataset(dataset_dir):
_progress)
print()
with tf.gfile.GFile(filepath) as f:
size = f.Size()
size = f.size()
print('Successfully downloaded', filename, size, 'bytes.')
......
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