Cannot Import Keras.initializers
I have imported all necessary modules from keras into jupyter notebook from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences from k
Solution 1:
Use
from keras import initializations
for Keras 1.x.y.
The initializations
package was renamed to initializers
in Keras 2.0.0.
Solution 2:
Use:
from keras import initializers
for Keras 2.x
Post a Comment for "Cannot Import Keras.initializers"