Skip to content

Issue with Adam #13

@ag1805x

Description

@ag1805x

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.*.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions