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

Tensorflow v 2.0 seems to be incompatible with standalone Keras #4

Closed
Amanda-Clark opened this issue May 2, 2019 · 1 comment
Closed

Comments

@Amanda-Clark
Copy link

I'm working my way through Ch 10, and I decided to follow along by using the standalone Keras API rather than Tensorflow's. I had TF updated to 2.0 as in the book, and when I changed the import statements to reflect that, I got this error.
keras-team/keras#12379
The solutions they have are to downgrade to 1.1 something TF, or to use TF's built in Keras support. But it looks like using the standalone Keras with TF2 won't work as of right now.

@ageron
Copy link
Owner

ageron commented May 2, 2019

Hi @Amanda-Clark ,
Thanks for your feedback. Indeed, Keras standalone has not been updated yet to support TF 2.0. I expect this will be resolved by the time the 2nd edition of my book is released, but I added a note in chapter 10 for readers of the early release. Thank you!

@ageron ageron closed this as completed Mar 30, 2020
ustchope added a commit to ustchope/handson-ml2 that referenced this issue Aug 18, 2021
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