From 5599ef54df7e27610c7b826a7d03d4eb604bcee8 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 7 Jun 2018 18:22:49 +0200 Subject: debuggin.. --- data/recursive_dataset.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'data/recursive_dataset.py') diff --git a/data/recursive_dataset.py b/data/recursive_dataset.py index 1ec5e19..16f30fd 100644 --- a/data/recursive_dataset.py +++ b/data/recursive_dataset.py @@ -19,18 +19,18 @@ class RecursiveDataset(BaseDataset): def __getitem__(self, index): A_path = os.path.join(self.opt.render_dir, "frame_{:05d}.png".format(index)) - print(A_path) + # print(A_path) if not os.path.exists(A_path): A_path2 = os.path.join(self.opt.render_dir, "frame_{:05d}.png".format(index+1)) if os.path.exists(A_path2): - print('oops: {}'.format(A_path2)) + # print('oops: {}'.format(A_path2)) A_path = A_path2 else: - print('not there yet... {}'.format(A_path)) + # print('not there yet... {}'.format(A_path)) while not os.path.exists(A_path): - print('sleeping for {}'.format(self.opt.poll_delay)) + # print('sleeping for {}'.format(self.opt.poll_delay)) time.sleep(self.opt.poll_delay) - print("got {}".format(A_path)) + # print("got {}".format(A_path)) A_img = Image.open(A_path).convert('RGB') A = self.transform(A_img) if self.opt.which_direction == 'BtoA': -- cgit v1.2.3-70-g09d2