Skip to content

Commit f21c427

Browse files
authoredMar 14, 2017
Merge pull request tensorflow#1044 from tensorflow/easy-slim-fix
Use .size() instead of .Size() in download_and_convert_mnist.py
2 parents b0ee52c + 9cfb3a8 commit f21c427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎slim/datasets/download_and_convert_mnist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def _progress(count, block_size, total_size):
165165
_progress)
166166
print()
167167
with tf.gfile.GFile(filepath) as f:
168-
size = f.Size()
168+
size = f.size()
169169
print('Successfully downloaded', filename, size, 'bytes.')
170170

171171

0 commit comments

Comments
 (0)
Please sign in to comment.