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

Problem with TensorFlow 2.0 #57

Closed
caleffiufsm opened this issue Sep 12, 2019 · 2 comments · May be fixed by #73
Closed

Problem with TensorFlow 2.0 #57

caleffiufsm opened this issue Sep 12, 2019 · 2 comments · May be fixed by #73

Comments

@caleffiufsm
Copy link

I am having difficulties with TensorFlow 2.0

module 'tensorflow' has no attribute 'GraphDef'

Can't figure out how to work this problem.

@myagmur01
Copy link

you should be using a downgraded version , tensorflow<=1.5.0 could solve the problem

@chekoduadarsh
Copy link

@caleffiufsm
set this in your code it will work fine

import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()

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

Successfully merging a pull request may close this issue.

4 participants