def initialize(self, opt):
    assert (not opt.isTrain)
    BaseModel.initialize(self, opt)
    self.loss_names = []
    self.visual_names = ['real_A', 'fake_B']
    self.model_names = [('G' + opt.model_suffix)]
    self.netG = networks.define_G(opt.input_nc, opt.output_nc, opt.ngf, opt.netG, opt.norm, (not opt.no_dropout), opt.init_type, opt.init_gain, self.gpu_ids)
    setattr(self, ('netG' + opt.model_suffix), self.netG)
def initialize(self, opt):
    assert (not opt.isTrain)
    BaseModel.initialize(self, opt)
    self.loss_names = []
    self.visual_names = ['real_A', 'fake_B']
    self.model_names = [('G' + opt.model_suffix)]
    self.netG = networks.define_G(opt.input_nc, opt.output_nc, opt.ngf, opt.netG, opt.norm, (not opt.no_dropout), opt.init_type, opt.init_gain, self.gpu_ids)
    setattr(self, ('netG' + opt.model_suffix), self.netG)