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

Issue with Adam #13

Open
ag1805x opened this issue Oct 20, 2022 · 0 comments
Open

Issue with Adam #13

ag1805x opened this issue Oct 20, 2022 · 0 comments

Comments

@ag1805x
Copy link

ag1805x commented Oct 20, 2022

While executing the DeepConvDTI.py script, I am getting the error
ImportError: cannot import name 'Adam' from 'keras.optimizers'

I found that this could be solved by changing to:
from tensorflow.keras.optimizers import Adam

But then other errors pop-up:
AttributeError: module 'tensorflow' has no attribute 'global_variables_initializer'

Any better way to resolve the issue other than downgrading to tensorflow=1.*.

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

1 participant