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
5b75a277
Commit
5b75a277
authored
Mar 23, 2018
by
Jason Park
Committed by
Soumith Chintala
Mar 23, 2018
Browse files
Fix uninitialized instance variables (#455)
parent
73a29e02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/datasets/lsun.py
torchvision/datasets/lsun.py
+1
-1
No files found.
torchvision/datasets/lsun.py
View file @
5b75a277
...
@@ -53,7 +53,7 @@ class LSUNClass(data.Dataset):
...
@@ -53,7 +53,7 @@ class LSUNClass(data.Dataset):
return
self
.
length
return
self
.
length
def
__repr__
(
self
):
def
__repr__
(
self
):
return
self
.
__class__
.
__name__
+
' ('
+
self
.
db_path
+
')'
return
self
.
__class__
.
__name__
+
' ('
+
self
.
root
+
')'
class
LSUN
(
data
.
Dataset
):
class
LSUN
(
data
.
Dataset
):
...
...
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