"vscode:/vscode.git/clone" did not exist on "49b01e3a7d9d248e2218c2c57d55346743bfb89d"
Commit 4b4795f9 authored by soumith's avatar soumith
Browse files

bugfix for lsun

parent 17cebddd
......@@ -115,7 +115,8 @@ class LSUN(data.Dataset):
if self.target_transform is not None:
target = self.target_transform(target)
return db[index], target
img, _ = db[index]
return img, target
def __len__(self):
return self.length
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment