idio / wiki2vec

Generating Vectors for DBpedia Entities via Word2Vec and Wikipedia Dumps. Questions? https://gitter.im/idio-opensource/Lobby
601 stars 137 forks source link

AttributeError: 'Word2Vec' object has no attribute 'vector_size' #39

Open jianq1994 opened 6 years ago

jianq1994 commented 6 years ago

I used python 2.7 and codes:

model = Word2Vec.load("path/to/word2vec/en.model")

returns an error:

AttributeError: 'Word2Vec' object has no attribute 'vector_size'

I guess might be the version of gensim, but I am not sure.

gilgtc commented 6 years ago

I have the same issue. Any advice?

dav009 commented 6 years ago

https://github.com/RaRe-Technologies/gensim/issues/2015