From ebb199e884832fcf7f0b222d577fca52031f98cf Mon Sep 17 00:00:00 2001 From: James Betker Date: Sun, 26 Jul 2020 22:51:59 -0600 Subject: [PATCH] Get rid of safety valve (probably being encountered in val) --- codes/models/SRGAN_model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/codes/models/SRGAN_model.py b/codes/models/SRGAN_model.py index 67eea696..317ec659 100644 --- a/codes/models/SRGAN_model.py +++ b/codes/models/SRGAN_model.py @@ -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])