phonet
phonet copied to clipboard
Import error for Adam optimizer
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.
Hi, pip uninstall keras pip install --upgrade tensorflow would be helpful.