Unverified Commit e987071c authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

[skip ci] make LSUN OS agnostic (#3455)


Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
parent 47e59b16
......@@ -83,7 +83,7 @@ class LSUN(VisionDataset):
self.dbs = []
for c in self.classes:
self.dbs.append(LSUNClass(
root=root + '/' + c + '_lmdb',
root=os.path.join(root, f"{c}_lmdb"),
transform=transform))
self.indices = []
......
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