Skip to content

Commit 5b75a27

Browse files
jaesunysoumith
authored andcommitted
Fix uninitialized instance variables (#455)
1 parent 73a29e0 commit 5b75a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/datasets/lsun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __len__(self):
5353
return self.length
5454

5555
def __repr__(self):
56-
return self.__class__.__name__ + ' (' + self.db_path + ')'
56+
return self.__class__.__name__ + ' (' + self.root + ')'
5757

5858

5959
class LSUN(data.Dataset):

0 commit comments

Comments
 (0)