Skip to content

Commit

Permalink
Fixed use_parallel is an undefined name in test_model.py #7
Browse files Browse the repository at this point in the history
  • Loading branch information
KupynOrest committed Dec 5, 2017
1 parent 875287f commit d4ac271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize(self, opt):
self.input_A = self.Tensor(opt.batchSize, opt.input_nc, opt.fineSize, opt.fineSize)

self.netG = networks.define_G(opt.input_nc, opt.output_nc, opt.ngf,
opt.which_model_netG, opt.norm, not opt.no_dropout, self.gpu_ids, use_parallel,
opt.which_model_netG, opt.norm, not opt.no_dropout, self.gpu_ids, False,
opt.learn_residual)
which_epoch = opt.which_epoch
self.load_network(self.netG, 'G', which_epoch)
Expand Down

0 comments on commit d4ac271

Please sign in to comment.