Closed rlkelly closed 7 years ago
It appears that was the issue, It might be helpful to put a note about using a virtual environment in the quickstart guide.
hello all, I am also getting "ImportError: cannot import name ReduceLROnPlateau". I tried installing a new tensorflow environment through conda and the installing keras via pip in the same environment. I also referred https://github.com/basveeling/wavenet/issues/5. But the issue still persists. Can some one help? Thanks for your interest.
@R-Gaurav
from keras.callbacks import ReduceLROnPlateau
ReduceLROnPlateau is not imported from optimizers
but callbacks
.This worked for me, from tensorflow.keras.callbacks import EarlyStopping, ReduceLROnPlateau
ImportError: cannot import name ReduceLROnPlateau
It appears I am having trouble with the modified install of keras, I'm going to try again in a virtual environment and see if that's the problem.