Skip to content
Snippets Groups Projects
Commit 50558178 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 72e8a7b3
Branches
No related tags found
No related merge requests found
...@@ -205,6 +205,7 @@ def RelativisticAverageLoss(non_transformed_disc, type_="G"): ...@@ -205,6 +205,7 @@ def RelativisticAverageLoss(non_transformed_disc, type_="G"):
fake_loss = tf.nn.sigmoid_cross_entropy_with_logits( fake_loss = tf.nn.sigmoid_cross_entropy_with_logits(
labels=tf.ones_like(fake_logits), logits=fake_logits) labels=tf.ones_like(fake_logits), logits=fake_logits)
return real_loss + fake_loss return real_loss + fake_loss
if type_ == "G": if type_ == "G":
loss = loss_G loss = loss_G
elif type_ == "D": elif type_ == "D":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment