-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Word2Vec' object has no attribute 'wv' #97
Comments
The gensim version is too old -- please try the latest version of gensim and let me know if that works. Thanks! |
I tried upgrade the gensim version to the latest, but new error occur:
|
And also I got error : file not exist: karate.embeddings, although I have manually created one. |
Sorry for the late reply. For posterity, it seems that gensim is not properly installed on your machine. |
This is the embeddings file produced by DeepWalk on the Karate graph -- it should not be manually created. |
When I run main.py, an error occured:
Traceback (most recent call last):
File "main.py", line 168, in
sys.exit(main())
File "main.py", line 165, in main
process(args)
File "main.py", line 101, in process
model.wv.save_word2vec_format(args.output)
AttributeError: 'Word2Vec' object has no attribute 'wv'
My python version is 3.7.0, and gensim version 0.10.2
The text was updated successfully, but these errors were encountered: