deep-learning-with-python-notebooks
deep-learning-with-python-notebooks copied to clipboard
K.gradients (chapter -8)
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.