From 0ae4f0500e415a6a67689ef9356e8e4779ae5833 Mon Sep 17 00:00:00 2001 From: junyanz Date: Fri, 9 Feb 2018 11:39:35 -0500 Subject: code reformatting --- options/train_options.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'options/train_options.py') diff --git a/options/train_options.py b/options/train_options.py index 603d76a..f4627ce 100644 --- a/options/train_options.py +++ b/options/train_options.py @@ -25,6 +25,8 @@ class TrainOptions(BaseOptions): self.parser.add_argument('--no_html', action='store_true', help='do not save intermediate training results to [opt.checkpoints_dir]/[opt.name]/web/') self.parser.add_argument('--lr_policy', type=str, default='lambda', help='learning rate policy: lambda|step|plateau') self.parser.add_argument('--lr_decay_iters', type=int, default=50, help='multiply by a gamma every lr_decay_iters iterations') - self.parser.add_argument('--identity', type=float, default=0.5, 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('--identity', type=float, default=0.5, + 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.isTrain = True -- cgit v1.2.3-70-g09d2