Closed ghost closed 4 years ago
changed cross_entropy = tf.keras.losses.BinaryCrossentropy(from_logits=True) to cross_entropy = tf.keras.losses.BinaryCrossentropy() since the discriminator already has a sigmoid activation function
cross_entropy = tf.keras.losses.BinaryCrossentropy(from_logits=True)
cross_entropy = tf.keras.losses.BinaryCrossentropy()
Thanks! Good catch
changed
cross_entropy = tf.keras.losses.BinaryCrossentropy(from_logits=True)
tocross_entropy = tf.keras.losses.BinaryCrossentropy()
since the discriminator already has a sigmoid activation function