Skip to content

Commit c7d4a19

Browse files
committed
bugfix
1 parent cd3b55e commit c7d4a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sagan/loss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def forward(self, fake_logits, mode, real_logits=None):
4646
def _generator_loss(self, fake_logits):
4747
return - fake_logits.mean()
4848

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

5252
def get_interpolates(self, reals, fakes):

0 commit comments

Comments
 (0)