소스 검색

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

Use .size() instead of .Size() in download_and_convert_mnist.py
Neal Wu 8 년 전
부모
커밋
f21c4278fd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      slim/datasets/download_and_convert_mnist.py

+ 1 - 1
slim/datasets/download_and_convert_mnist.py

@@ -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.')