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

get_session is not available when using TensorFlow 2.0 #108

Open
sufiaji opened this issue Apr 30, 2020 · 1 comment
Open

get_session is not available when using TensorFlow 2.0 #108

sufiaji opened this issue Apr 30, 2020 · 1 comment

Comments

@sufiaji
Copy link

sufiaji commented Apr 30, 2020

Hi,

I am using tensorflow 2.0 but when I try to execute the program, I have get_session not available error. Please advise.

thank you.

@Ben-Epstein
Copy link

You can use tensorflow.python.keras.backend.get_session

But be advised: This program has not worked for me with Tensorflow 2.2.0 (as stated on the README it's not tested for TF 2). It generates a pb file (after a few fixes) but the file is corrupted.

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