Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
9cfb3a82
Commit
9cfb3a82
authored
Feb 20, 2017
by
Neal Wu
Browse files
Use .size() instead of .Size() in download_and_convert_mnist.py
parent
afdcf7d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slim/datasets/download_and_convert_mnist.py
slim/datasets/download_and_convert_mnist.py
+1
-1
No files found.
slim/datasets/download_and_convert_mnist.py
View file @
9cfb3a82
...
...
@@ -165,7 +165,7 @@ def _download_dataset(dataset_dir):
_progress
)
print
()
with
tf
.
gfile
.
GFile
(
filepath
)
as
f
:
size
=
f
.
S
ize
()
size
=
f
.
s
ize
()
print
(
'Successfully downloaded'
,
filename
,
size
,
'bytes.'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment