summaryrefslogtreecommitdiff
path: root/data/recursive_dataset.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 04:12:00 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 04:12:00 +0200
commit1c5b42a65208672909a88d1a70819c435f900a9a (patch)
treed103bd1fba02b4f06a27e5afd640212178e37d9b /data/recursive_dataset.py
parentf634aed28a50697f2c841e716cb7861962034099 (diff)
testy
Diffstat (limited to 'data/recursive_dataset.py')
-rw-r--r--data/recursive_dataset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/recursive_dataset.py b/data/recursive_dataset.py
index b14bd66..ecbc7df 100644
--- a/data/recursive_dataset.py
+++ b/data/recursive_dataset.py
@@ -20,9 +20,9 @@ class RecursiveDataset(BaseDataset):
self.transform = get_transform(opt)
def __getitem__(self, index):
- A_path = self.opt.render_dir + "/frame_{:05d}.png".format(index)
+ A_path = os.path.join(self.opt.render_dir, "frame_{:05d}.png".format(index))
while not os.path.exists(A_path):
- # print(A_path)
+ print(A_path)
time.sleep(0.01)
A_img = Image.open(A_path).convert('RGB')
A = self.transform(A_img)