I got this error when I tried to modify the learning rate parameter of SGD optimizer in Keras. Did I miss something in my codes or my Keras was not installed properly?
use
from tensorflow.keras import optimizers
instead of
from keras import optimizers