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.*.
While executing the
DeepConvDTI.pyscript, 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 AdamBut 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.*.