summaryrefslogtreecommitdiff
path: root/options/base_options.py
diff options
context:
space:
mode:
authorSsnL <tongzhou.wang.1994@gmail.com>2017-07-06 22:19:53 -0500
committerSsnL <tongzhou.wang.1994@gmail.com>2017-07-06 22:31:24 -0500
commit25124b8389f80d7a509b2d98ef69589cab597c9a (patch)
tree185d876bb0fed0e681f163e79ad810e597c8dd8c /options/base_options.py
parentee0a8292e2b87449c325bdb9439f90f911a0c0a1 (diff)
resize_or_crop and better display single image
Diffstat (limited to 'options/base_options.py')
-rw-r--r--options/base_options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/base_options.py b/options/base_options.py
index 909136f..b5b92fb 100644
--- a/options/base_options.py
+++ b/options/base_options.py
@@ -37,7 +37,7 @@ class BaseOptions():
self.parser.add_argument('--identity', type=float, default=0.0, help='use identity mapping. Setting identity other than 1 has an effect of scaling the weight of the identity mapping loss. For example, if the weight of the identity loss should be 10 times smaller than the weight of the reconstruction loss, please set optidentity = 0.1')
self.parser.add_argument('--use_dropout', action='store_true', help='use dropout for the generator')
self.parser.add_argument('--max_dataset_size', type=int, default=float("inf"), help='Maximum number of samples allowed per dataset. If the dataset directory contains more than max_dataset_size, only a subset is loaded.')
- self.parser.add_argument('--resize_or_crop', type=str, default='resize_and_crop', help='scaling and cropping of images at load time [resize_and_crop|crop|scale_width]')
+ self.parser.add_argument('--resize_or_crop', type=str, default='resize_and_crop', help='scaling and cropping of images at load time [resize_and_crop|crop|scale_width|scale_width_and_crop]')
self.parser.add_argument('--no_flip', action='store_true', help='if specified, do not flip the images for data argumentation')
self.initialized = True