You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd ..
wget http://panchenko.me/data/joint/corpora/wiki.txt.gz -P model
bash train.sh model/wiki.txt.gz
error:
2018-08-23 16:17:00,775 : INFO : loading projection weights from model/wiki.txt.gz.cbow1-size100-window5-iter3-mincount10-bigramsFalse.word_vectors
2018-08-23 16:17:25,271 : INFO : loaded (123754, 100) matrix from model/wiki.txt.gz.cbow1-size100-window5-iter3-mincount10-bigramsFalse.word_vectors
2018-08-23 16:17:25,271 : INFO : precomputing L2-norms of word weight vectors
Traceback (most recent call last):
File "train.py", line 114, in <module>
main()
File "train.py", line 82, in main
compute_graph_of_related_words(vectors_fpath, neighbours_fpath, neighbors=args.N)
File "/usr/software/sensegram/word_graph.py", line 10, in compute_graph_of_related_words
index, w2v = build_vector_index(vectors_fpath)
File "/usr/software/sensegram/word_graph.py", line 18, in build_vector_index
index = faiss.IndexFlatIP(w2v.vector_size)
AttributeError: module 'faiss' has no attribute 'IndexFlatIP'
The text was updated successfully, but these errors were encountered:
OS: ubuntu 16.04 (Docker)
Reproduction instructions
I install sensegram:
is fine.
Then install faiss like in Makefile:
Finished - ok, but with little warning: "unused variable"
https://pastebin.com/5qHG7Ja7
then i run train-wikipedia-sample
error:
The text was updated successfully, but these errors were encountered: