summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-Yan Zhu <junyanz@users.noreply.github.com>2017-09-19 23:50:56 -0700
committerGitHub <noreply@github.com>2017-09-19 23:50:56 -0700
commite9edc9be415374f6a4ab4ed2f5c87b3599c32be1 (patch)
tree2e938f694e971820399dfca95e44487e02c09f89
parente2138314563fbd961bc7786ab828b648596b691a (diff)
parent06b9da594bca2b4956f79c9acc1e357025dff9f1 (diff)
Merge pull request #106 from layumi/patch-1
Update test_options.py
-rw-r--r--options/test_options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/test_options.py b/options/test_options.py
index 6b79860..d73ab32 100644
--- a/options/test_options.py
+++ b/options/test_options.py
@@ -10,4 +10,5 @@ class TestOptions(BaseOptions):
self.parser.add_argument('--phase', type=str, default='test', help='train, val, test, etc')
self.parser.add_argument('--which_epoch', type=str, default='latest', help='which epoch to load? set to latest to use latest cached model')
self.parser.add_argument('--how_many', type=int, default=50, help='how many test images to run')
+ 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.isTrain = False