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

TrainAndEvaluateModel instance throws error when the method train_and_evaluate is called [tutorial_tf2.ipynb] #2

Open
Senejohnny opened this issue Aug 11, 2021 · 2 comments

Comments

@Senejohnny
Copy link

Hi Sebastian,

I get the below error when I run the notebook tutorial_tf2.ipynb. Could you please help me with this error?
image

@Senejohnny
Copy link
Author

Senejohnny commented Aug 11, 2021

Apparently the graph method is updated so changing graph to graph_v1 should solve the error.
This solved the error for me

@sebp
Copy link
Owner

sebp commented Aug 14, 2021

Yes, they changed graph to graph_v1 in this commit, which is included in TF2.5 and later.

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

2 participants