-
Notifications
You must be signed in to change notification settings - Fork 703
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
AttributeError: dense
is not available with Keras 3.
#1682
Comments
I was running into this issue when I created a new Python 3.12 virtual environment. When I downgraded back to 3.11 and installed the necessary packages and dependencies it solved itself. |
I had the same issue. It was solved when I use tensorflow as the supported backend, not tensorflow.compat.v1. Some necessary packages should be installed. |
What is the recommended TensorFlow environment to run DeepXDE? TensorFlow 2.7.0 is very old now... |
I was able to fix the issue by downgrading
|
I have a working requirements.txt as of 4.16.2024 for anyone using apple silicon; please send a message. |
AttributeError:
dense
is not available with Keras 3.I'm getting an error when running an example file in PyCharm. How can I resolve it?
The text was updated successfully, but these errors were encountered: