Naveen lda
2015-04-24 16:37:13 UTC
the word2vec_inner.pyx/c files are in the gensim/modules directory
In word2vec.py:
try:
from gensim.models.word2vec_inner import train_sentence_sg,
train_sentence_cbow, FAST_VERSION
except ImportError as e:
print "{0}".format(str(e))
# failed... fall back to plain numpy (20-80x slower training than the
above)
FAST_VERSION = -1
"No module named word2vec_inner"
When I try to run an example program, i get FAST_VERSION = -1 because of
the import error above. I am using an unpacked version of gensim without
installing it. I have openblas installed and tested. Any ideas why this
could be happening?
numpy - 1.9.2
scipy - 0.15.1
I have seen a similar issue posted here in the
comments: http://radimrehurek.com/2013/09/word2vec-in-python-part-two-optimizing/
Thank you,
Naveen
In word2vec.py:
try:
from gensim.models.word2vec_inner import train_sentence_sg,
train_sentence_cbow, FAST_VERSION
except ImportError as e:
print "{0}".format(str(e))
# failed... fall back to plain numpy (20-80x slower training than the
above)
FAST_VERSION = -1
"No module named word2vec_inner"
When I try to run an example program, i get FAST_VERSION = -1 because of
the import error above. I am using an unpacked version of gensim without
installing it. I have openblas installed and tested. Any ideas why this
could be happening?
numpy - 1.9.2
scipy - 0.15.1
I have seen a similar issue posted here in the
comments: http://radimrehurek.com/2013/09/word2vec-in-python-part-two-optimizing/
Thank you,
Naveen
--
You received this message because you are subscribed to the Google Groups "gensim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gensim+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "gensim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gensim+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.