Permalink
Browse files

minor change

  • Loading branch information...
Hantian Zhang
Hantian Zhang committed Jul 25, 2017
1 parent 8f79d6b commit 9149b5685ec6fe0082936fbbbae839e9975aa7ca
Showing with 1 addition and 1 deletion.
  1. +1 −1 model.py
View
@@ -16,7 +16,7 @@ def __init__(self):
neg_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits=neg, labels=tf.zeros_like(neg)))
self.d_loss = pos_loss + neg_loss
self.g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(neg, tf.ones_like(neg))) + \
self.g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits=neg, labels=tf.ones_like(neg))) + \
conf.L1_lambda * tf.reduce_mean(tf.abs(self.image - self.gen_img))
t_vars = tf.trainable_variables()

0 comments on commit 9149b56

Please sign in to comment.