summaryrefslogtreecommitdiff
path: root/options/base_options.py
diff options
context:
space:
mode:
authorjunyanz <junyanz@berkeley.edu>2017-04-22 08:15:48 -0700
committerjunyanz <junyanz@berkeley.edu>2017-04-22 08:15:48 -0700
commit6c347282993d2e2db91b376d3113efa3774c3a22 (patch)
tree75ede706fde3f61e73fbb9e7ea9ed6e97aff2a56 /options/base_options.py
parenta7917caaeaefe51db959b8f3ae50a20e726fbd93 (diff)
add dropout option for G
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 ec0f439..4074746 100644
--- a/options/base_options.py
+++ b/options/base_options.py
@@ -34,7 +34,7 @@ class BaseOptions():
self.parser.add_argument('--display_winsize', type=int, default=256, help='display window size')
self.parser.add_argument('--display_id', type=int, default=1, help='window id of the web display')
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.initialized = True
def parse(self):