本文介绍了使用Gensim显示“正在使用慢版本的gensim.models.doc2vec".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用Python的Gensim库(版本3.6)运行程序.
每当我运行程序时,我都会遇到以下语句:
I am trying to run a program using the Gensim library of the Python with the version 3.6.
Whenever I ran the program, I came across these statements:
C:\Python36\lib\site-packages\gensim-2.0.0-py3.6-win32.egg\gensim\utils.py:860: UserWarning: detected Windows; aliasing chunkize to chunkize_serial
warnings.warn("detected Windows; aliasing chunkize to chunkize_serial")
Slow version of gensim.models.doc2vec is being used
我不明白Slow version of gensim.models.doc2vec is being used
的含义是什么. gensim如何选择慢速版本,如果我想要最快的版本,那我该怎么办?
I do not understand what is the meaning behind Slow version of gensim.models.doc2vec is being used
. How the gensim is selecting the slow version and if I want the fastest version then what I need to do?
推荐答案
突出显示@ juanpa.arrivillaga的评论,因为它有助于我解决此问题.
如果您安装了anaconda:
Highlighting @juanpa.arrivillaga's comment, as it helped me resolve this issue.
If you installed anaconda :
- 卸载gensim:
pip uninstall gensim
- 使用anaconda软件包管理器进行安装:
conda install gensim
- uninstall gensim :
pip uninstall gensim
- install it with the anaconda package manager :
conda install gensim
这篇关于使用Gensim显示“正在使用慢版本的gensim.models.doc2vec".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!