diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-19 02:24:19 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-19 02:24:19 +0200 |
| commit | 6eda4a2485770ceb2967d1d6c8a85c3fc272cfaf (patch) | |
| tree | c2b4641f55974da039b060ccf448ea2a986738d8 | |
| parent | 9f7b4e3383c10723ecdad9ca3687d667fc4e91aa (diff) | |
sleep less
| -rw-r--r-- | data/recursive_dataset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/recursive_dataset.py b/data/recursive_dataset.py index 32b0018..156f161 100644 --- a/data/recursive_dataset.py +++ b/data/recursive_dataset.py @@ -22,7 +22,7 @@ class RecursiveDataset(BaseDataset): def __getitem__(self, index): A_path = self.opt.results_dir + self.opt.name + "/exp:" + self.opt.experiment + "/frame_{:05d}.png".format(index) while not os.path.exists(A_path): - time.sleep(0.1) + time.sleep(0.01) A_img = Image.open(A_path).convert('RGB') A = self.transform(A_img) if self.opt.which_direction == 'BtoA': |
