Open ghost opened 7 years ago
same problem. Is there any solutions for this?
maybe you should delete line 283
i'm running it on notebook, and i'm facing the same problem. Any fix?
Cast the constants in the loss functions to floats
e.g.
return (1 / float(4 * N**2 * M**2)) * tf.reduce_sum(tf.pow(G - A, 2))
Hi, I did the changes you recommended by @robbierolin, but now I get nan values for sum and black patches on the image.
Can anyone help?
Thank you in advance.
the initial cost is 0 so no optimization happens