From f383d4f56b6c68948e0d3c6cc9d8c5fcbe42dbc7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 May 2018 01:23:03 +0200 Subject: test effects script --- options/dataset_options.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'options/dataset_options.py') diff --git a/options/dataset_options.py b/options/dataset_options.py index 057b940..5eca374 100644 --- a/options/dataset_options.py +++ b/options/dataset_options.py @@ -59,6 +59,21 @@ class DatasetOptions(BaseOptions): ## IMAGE FILTERS + ### RECURSION + + self.parser.add_argument( + '--recursive', + action='store_true', + help='recurse on previous output' + ) + + self.parser.add_argument( + '--recursive-frac', + default=0.5, + type=float, + help='amount of previous step to use in recursion' + ) + ### GRAYSCALE self.parser.add_argument( @@ -166,5 +181,5 @@ class DatasetOptions(BaseOptions): def parse(self): if not self.initialized: self.initialize() - self.opt = self.parser.parse_args() + self.opt = self.parser.parse_known_args() return self.opt \ No newline at end of file -- cgit v1.2.3-70-g09d2