gensim报错AttributeError: type object ‘Word2Vec‘ has no attribute ‘load_word2vec_format‘
解决gensim报错AttributeError: type object ‘Word2Vec‘ has no attribute ‘load_word2vec_format‘将import gensim# Load Google's pre-trained Word2Vec model.model = gensim.models.Word2Vec.load_word2vec_format('./model/GoogleNews-vectors-negative300.bin', binary=T
原创
2021-10-09 23:05:19 ·
1406 阅读 ·
0 评论