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
77eb7ea7
Commit
77eb7ea7
authored
Aug 21, 2017
by
Mikhail Korobov
Committed by
Francisco Massa
Aug 21, 2017
Browse files
make flake8 happy (#228)
parent
3ccc1dfd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
torchvision/datasets/mnist.py
torchvision/datasets/mnist.py
+2
-1
No files found.
torchvision/datasets/mnist.py
View file @
77eb7ea7
...
...
@@ -52,7 +52,8 @@ class MNIST(data.Dataset):
self
.
train_data
,
self
.
train_labels
=
torch
.
load
(
os
.
path
.
join
(
self
.
root
,
self
.
processed_folder
,
self
.
training_file
))
else
:
self
.
test_data
,
self
.
test_labels
=
torch
.
load
(
os
.
path
.
join
(
self
.
root
,
self
.
processed_folder
,
self
.
test_file
))
self
.
test_data
,
self
.
test_labels
=
torch
.
load
(
os
.
path
.
join
(
self
.
root
,
self
.
processed_folder
,
self
.
test_file
))
def
__getitem__
(
self
,
index
):
"""
...
...
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