diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-13 19:50:22 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-13 19:50:22 +0200 |
| commit | 4e9dd6aec7aa75129c09e66812f2de578741011f (patch) | |
| tree | c3b79c97009a7ab24148b80cc141abeec1a3942b | |
| parent | 48d8d7af96cd54fc008427acfc6921f202c72a5b (diff) | |
no_symlinkS
| -rwxr-xr-x | augment.py | 2 | ||||
| -rw-r--r-- | options/dataset_options.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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' ) |
