pydens
pydens copied to clipboard
OperatorNotAllowedInGraphError: iterating over `tf.Tensor` is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function
Hi
I was just trying to run your tutorials notebook when I ran into this error. I'm running my code on colab and I can't change tf version to 1.14 as colab sets it to 1.15.
I hope someone can help me here.
Thanks
Hello!
Can you share the link to the colab notebook?
Hi! I've encountered the same problem trying to launch toy examples from tutorial. Here is the link: https://colab.research.google.com/drive/1H3-lK5AA6Y9iqfItcG-aVW5hfldIXEox?usp=sharing I read previous issues and found out that it is somehow connected to the version of Tensorflow being used. Indeed, code from the link works if tf is set to version 1.14.0