"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "fefb3e77d1d5441f2cdcd2c89123c4aa3f574b09"
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): ...@@ -114,7 +114,7 @@ class LSUN(data.Dataset):
if index < ind: if index < ind:
break break
target += 1 target += 1
sub += ind sub = ind
db = self.dbs[target] db = self.dbs[target]
index = index - sub 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