deep-learning-with-python-notebooks icon indicating copy to clipboard operation
deep-learning-with-python-notebooks copied to clipboard

K.gradients (chapter -8)

Open Raghav-Bell opened this issue 4 years ago • 0 comments

I am implementing "Deep Dream" but got an error . code: grads = K.gradients(loss,dream)[0] Error : tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead. I have tried every method describe here : But nothing worked for me.

Raghav-Bell avatar Jun 29 '21 07:06 Raghav-Bell