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
f21c4278
Commit
f21c4278
authored
Mar 13, 2017
by
Neal Wu
Committed by
GitHub
Mar 13, 2017
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
Changes
1
Show 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 @
f21c4278
...
@@ -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
.
S
ize
()
size
=
f
.
s
ize
()
print
(
'Successfully downloaded'
,
filename
,
size
,
'bytes.'
)
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