Commit f21c4278 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #1044 from tensorflow/easy-slim-fix

Use .size() instead of .Size() in download_and_convert_mnist.py
parents b0ee52c8 9cfb3a82
...@@ -165,7 +165,7 @@ def _download_dataset(dataset_dir): ...@@ -165,7 +165,7 @@ def _download_dataset(dataset_dir):
_progress) _progress)
print() print()
with tf.gfile.GFile(filepath) as f: with tf.gfile.GFile(filepath) as f:
size = f.Size() size = f.size()
print('Successfully downloaded', filename, size, 'bytes.') 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