Skip to content

Import error for Adam optimizer #4

@gillesoldano

Description

@gillesoldano

Hi @jcvasquezc

While using the disvoice library I encountered this AttributeError when importing the Adam optimizer from keras:
AttributeError: module 'keras.optimizers' has no attribute 'Adam'

This occurs in the phonet.py. What worked for me was replacing all the keras imports, for example from keras import optimizers to from tensorflow.keras import optimizers.

I don't know if it's only me getting this problem, if not, could you kindly make a release with this few changes.
Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions