From 881e909dc5ca72117785146bcda2a5b46987c5de Mon Sep 17 00:00:00 2001 From: "Alex J. Champandard" Date: Fri, 11 Nov 2016 10:06:59 +0100 Subject: [PATCH] Fix default parameters to zoom=2 so it works without arguments. Closes #71. --- enhance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enhance.py b/enhance.py index 66fd1fe..163850d 100755 --- a/enhance.py +++ b/enhance.py @@ -36,7 +36,7 @@ parser = argparse.ArgumentParser(description='Generate a new image by applying s formatter_class=argparse.ArgumentDefaultsHelpFormatter) add_arg = parser.add_argument add_arg('files', nargs='*', default=[]) -add_arg('--zoom', default=1, type=int, help='Resolution increase factor for inference.') +add_arg('--zoom', default=2, type=int, help='Resolution increase factor for inference.') add_arg('--rendering-tile', default=128, type=int, help='Size of tiles used for rendering images.') add_arg('--rendering-overlap', default=32, type=int, help='Number of pixels padding around each tile.') add_arg('--rendering-histogram',default=False, action='store_true', help='Match color histogram of output to input.')