Reading text model trained by word2vec and ValueError: invalid vector on line

解决方法

model = KeyedVectors.load_word2vec_format('glove_400d_w2v_format.txt',binary=True)
发布了218 篇原创文章 · 获赞 110 · 访问量 22万+

猜你喜欢

转载自blog.csdn.net/zhuiyunzhugang/article/details/104144869