Open gabecano4308 opened 2 years ago
I am in the same situation and have the Attribute Error: module 'keras' has no attribute 'preprocessing'
Is it perhaps a versioning issue? What version of Keras was used in this project?
I got it to work with tensorflow==2.8.4, keras==2.8.0
I fixed it by replacing Keras with tf.compat.v1.keras in all instances
Hello,
I am using keras ==2.9.0 and tensorflow ==2.9.1. I'm using pretrained eng_50 model like so --
c2v_model = chars2vec.load_model('eng_50')
However, when I use the vectorize_words method on my list of strings, I get the following AttributeError:
c2v_model.vectorize_words(std_job_list)
AttributeError Traceback (most recent call last)