Skip to content

Commit

Permalink
Merge pull request junyanz#106 from layumi/patch-1
Browse files Browse the repository at this point in the history
Update test_options.py
  • Loading branch information
junyanz authored Sep 20, 2017
2 parents e213831 + 06b9da5 commit e9edc9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ def initialize(self):
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

0 comments on commit e9edc9b

Please sign in to comment.