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
OpenDAS
vision
Commits
434271dc
Commit
434271dc
authored
Jan 19, 2017
by
Adam Paszke
Browse files
Remove print in MNIST dataset
parent
80b38a07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
torchvision/datasets/mnist.py
torchvision/datasets/mnist.py
+2
-3
No files found.
torchvision/datasets/mnist.py
View file @
434271dc
...
...
@@ -72,7 +72,6 @@ class MNIST(data.Dataset):
import
gzip
if
self
.
_check_exists
():
print
(
'Files already downloaded'
)
return
# download files
...
...
@@ -98,8 +97,8 @@ class MNIST(data.Dataset):
os
.
unlink
(
file_path
)
# process and save as torch files
print
(
'Processing'
)
print
(
'Processing
...
'
)
training_set
=
(
read_image_file
(
os
.
path
.
join
(
self
.
root
,
self
.
raw_folder
,
'train-images-idx3-ubyte'
)),
read_label_file
(
os
.
path
.
join
(
self
.
root
,
self
.
raw_folder
,
'train-labels-idx1-ubyte'
))
...
...
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