We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While executing the DeepConvDTI.py script, I am getting the error ImportError: cannot import name 'Adam' from 'keras.optimizers'
DeepConvDTI.py
ImportError: cannot import name 'Adam' from 'keras.optimizers'
I found that this could be solved by changing to: from tensorflow.keras.optimizers import Adam
from tensorflow.keras.optimizers import Adam
But then other errors pop-up: AttributeError: module 'tensorflow' has no attribute 'global_variables_initializer'
AttributeError: module 'tensorflow' has no attribute 'global_variables_initializer'
Any better way to resolve the issue other than downgrading to tensorflow=1.*.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While executing the
DeepConvDTI.py
script, I am getting the errorImportError: 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.*.
The text was updated successfully, but these errors were encountered: