This commit is contained in:
Nataniel Ruiz
2019-12-25 21:32:52 -04:00
parent e3bf1e8cb5
commit 513b6cde94
+1 -1
View File
@@ -42,7 +42,7 @@ class TestModel(BaseModel):
# specify the training losses you want to print out. The training/test scripts will call <BaseModel.get_current_losses>
self.loss_names = []
# specify the images you want to save/display. The training/test scripts will call <BaseModel.get_current_visuals>
self.visual_names = ['real', 'fake']
self.visual_names = ['real', 'fake', 'fake_noattack']
# specify the models you want to save to the disk. The training/test scripts will call <BaseModel.save_networks> and <BaseModel.load_networks>
self.model_names = ['G' + opt.model_suffix] # only generator is needed.
self.netG = networks.define_G(opt.input_nc, opt.output_nc, opt.ngf, opt.netG,