summaryrefslogtreecommitdiff
path: root/models/pix2pix_model.py
diff options
context:
space:
mode:
Diffstat (limited to 'models/pix2pix_model.py')
-rw-r--r--models/pix2pix_model.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/pix2pix_model.py b/models/pix2pix_model.py
index 9c46a19..78f8d69 100644
--- a/models/pix2pix_model.py
+++ b/models/pix2pix_model.py
@@ -30,7 +30,6 @@ class Pix2PixModel(BaseModel):
if self.isTrain:
self.fake_AB_pool = ImagePool(opt.pool_size)
- self.old_lr = opt.lr
# define loss functions
self.criterionGAN = networks.GANLoss(use_lsgan=not opt.no_lsgan, tensor=self.Tensor)
self.criterionL1 = torch.nn.L1Loss()