Commit 83263d85 authored by Zhou Le's avatar Zhou Le Committed by Soumith Chintala
Browse files

Fix LSUN IndexError (#177)

parent cd8c0c3c
......@@ -114,7 +114,7 @@ class LSUN(data.Dataset):
if index < ind:
break
target += 1
sub += ind
sub = ind
db = self.dbs[target]
index = index - sub
......
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