kozistr/ESRGAN-tensorflow

Error in loss

ChristofferEdlund opened this issue · 0 comments

if use_ra:
if not loss_func.__contains__("wgan"):
real = real - tf.reduce_mean(fake)
fake = fake - tf.reduce_mean(real)

            real = real - tf.reduce_mean(fake)
            fake = fake - tf.reduce_mean(real)

I presume that you want the original real variable and not the relativistic one when calculating fake?