forked from mrq/DL-Art-School
Get rid of safety valve (probably being encountered in val)
This commit is contained in:
parent
0892d5fe99
commit
ebb199e884
|
@ -235,7 +235,6 @@ class SRGANModel(BaseModel):
|
|||
else:
|
||||
# If not provided, use provided LQ for anyplace where the GAN would have been used.
|
||||
self.gan_img = self.var_L
|
||||
self.gan_lq_img_use_prob = 0 # Safety valve for not goofing.
|
||||
|
||||
if not self.updated:
|
||||
self.netG.module.update_model(self.optimizer_G, self.schedulers[0])
|
||||
|
|
Loading…
Reference in New Issue
Block a user