Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewzh112 committed Dec 14, 2020
1 parent cd3b55e commit c7d4a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sagan/loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def forward(self, fake_logits, mode, real_logits=None):
def _generator_loss(self, fake_logits):
return - fake_logits.mean()

def __discriminator_loss(self, real_logits, fake_logits):
def _discriminator_loss(self, real_logits, fake_logits):
return - real_logits.mean() + fake_logits.mean()

def get_interpolates(self, reals, fakes):
Expand Down

0 comments on commit c7d4a19

Please sign in to comment.