basveeling / wavenet

Keras WaveNet implementation
https://soundcloud.com/basveeling/wavenet-sample
1.06k stars 218 forks source link

ImportError: cannot import name ReduceLROnPlateau #5

Closed huyouare closed 8 years ago

huyouare commented 8 years ago

ReduceLROnPlateau seems to be in https://github.com/basveeling/keras/tree/callbacks but not https://github.com/basveeling/keras/tree/wavenet

basveeling commented 8 years ago

It is there: https://github.com/basveeling/keras/blob/wavenet/keras/callbacks.py#L537 If you're running into any import error issues; have you tried creating a new virtualenv to install the requirements?

huyouare commented 8 years ago

Yep, tried it again and worked. Seem like I had issues with my pip version and an existing venv. Thanks!

MuhammadKA commented 4 years ago

@huyouare Can you please tell me the pip version which solved this problem? because I am facing the same problem with keras 1. When I use keras 2 the error disappears. Do you have any idea why this is happening?