esrgan-tf2
esrgan-tf2 copied to clipboard
loss_maybe_wrong
Hi, I'm here again!becuase i maybe find the wrong code.
In the code.
def generator_loss(hr, sr): return cross_entropy(tf.ones_like(sr), sigma(sr))
I have a question that tf.one_like maybe hr, sigma(sr)