From 4e9dd6aec7aa75129c09e66812f2de578741011f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 13 Sep 2018 19:50:22 +0200 Subject: no_symlinkS --- augment.py | 2 +- options/dataset_options.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/augment.py b/augment.py index 1b81aef..6741f04 100755 --- a/augment.py +++ b/augment.py @@ -157,7 +157,7 @@ for m in range(data_opt.augment_take): image_pil.save(tmp_path) os.rename(tmp_path, next_path) - if data_opt.no_symlink: + if data_opt.no_symlinks: continue frame_A = os.path.join("./datasets/", data_opt.sequence_name, "train_A", "recur_{}_{:05d}_{:05d}.png".format(epoch_id, m, index+1)) diff --git a/options/dataset_options.py b/options/dataset_options.py index b499206..65c4ce3 100644 --- a/options/dataset_options.py +++ b/options/dataset_options.py @@ -316,7 +316,7 @@ class DatasetOptions(BaseOptions): ) self.parser.add_argument( - '--no-symlink', + '--no-symlinks', action='store_true', help='dont symlink the augmented frames into the dataset' ) -- cgit v1.2.3-70-g09d2