Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OperatorNotAllowedInGraphError: iterating over tf.Tensor is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function #29

Open
tgautam03 opened this issue Oct 26, 2020 · 2 comments
Assignees

Comments

@tgautam03
Copy link

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

@SergeyTsimfer
Copy link
Member

Hello!

Can you share the link to the colab notebook?

@ArturGoldman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants