Skip to content

Commit

Permalink
Update rotatespade_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Hangz-nju-cuhk authored May 1, 2020
1 parent d1a9232 commit a2cbd23
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions models/rotatespade_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ def __init__(self, opt):
self.criterionFeat = torch.nn.L1Loss()
if not opt.no_vgg_loss:
self.criterionVGG = networks.VGGLoss(self.opt)
if opt.use_vae:
self.KLDLoss = networks.KLDLoss()

def landmark_68_to_5(self, t68):
le = t68[36:42, :].mean(axis=0, keepdims=True)
Expand Down

0 comments on commit a2cbd23

Please sign in to comment.