esrgan-tf2 icon indicating copy to clipboard operation
esrgan-tf2 copied to clipboard

loss_maybe_wrong

Open weizhiliang0520 opened this issue 3 years ago • 0 comments

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)

weizhiliang0520 avatar Apr 06 '21 09:04 weizhiliang0520