-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
I've cloned the repo, downloaded the pre-trained Wikipedia model, and installed Gensim via pip install git+https://github.com/jhlau/gensim.
Then I pasted the downloaded model files into the toy_data directory and changed the model line in the file to: model="toy_data/word2vec.bin".
However, when I run infer_test.py I get the following error:
Traceback (most recent call last):
File "infer_test.py", line 25, in <module>
output.write( " ".join([str(x) for x in m.infer_vector(d, alpha=start_alpha, steps=infer_epoch)]) + "\n" )
AttributeError: 'Word2Vec' object has no attribute 'infer_vector'
Metadata
Metadata
Assignees
Labels
No labels