diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 04:03:42 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 04:03:42 +0200 |
| commit | 6df653a1e0926fc487f7946ac1fc952ae7126c2a (patch) | |
| tree | 2185b0dc131e6c421674a2061343ef79eee249d1 /data | |
| parent | 027ba64b5ea4c5ab5c0b1a40ea69c06eb8cc84f0 (diff) | |
un rato
Diffstat (limited to 'data')
| -rw-r--r-- | data/recursive_dataset.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/recursive_dataset.py b/data/recursive_dataset.py index ee8e5df..1d78877 100644 --- a/data/recursive_dataset.py +++ b/data/recursive_dataset.py @@ -21,8 +21,8 @@ class RecursiveDataset(BaseDataset): A_path = os.path.join(self.opt.render_dir, "frame_{:05d}.png".format(index)) print(A_path) while not os.path.exists(A_path): - print('geevent sleep?') - gevent.sleep(self.opt.poll_delay) + print("geevent sleep? {}".format(self.opt.poll_delay)) + time.sleep(self.opt.poll_delay) A_img = Image.open(A_path).convert('RGB') A = self.transform(A_img) if self.opt.which_direction == 'BtoA': |
