diff options
| author | junyanz <junyanzhu89@gmail.com> | 2018-02-09 16:12:10 -0500 |
|---|---|---|
| committer | junyanz <junyanzhu89@gmail.com> | 2018-02-09 16:12:10 -0500 |
| commit | b40e20b8d29450efb10a8e84b267d13734ae0c13 (patch) | |
| tree | 5a671015be9c6f604ebe00b52c09218edb89784e /models/pix2pix_model.py | |
| parent | 0ae4f0500e415a6a67689ef9356e8e4779ae5833 (diff) | |
remove unused variable old_lr
Diffstat (limited to 'models/pix2pix_model.py')
| -rw-r--r-- | models/pix2pix_model.py | 1 |
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() |
