vec2graph
vec2graph copied to clipboard
`vec2graph` not working with Gensim 4.0
Attempt to run vec2graph
with gensim=4.0.0 produces error:
Traceback (most recent call last):
File "graphs.py", line 13, in
Quick fix is replace model.vocab
to model.index_to_key
in line 25 of genviz.py
Thanks for the report! There are many breaking changes in Gensim 4, so we still continue to use Gensim 3.8.3 in most of our servers.
However, the fix for this particular issue is even simpler, see this commit
Can you confirm it works for you in Gensim 4?
Thanks for the report! There are many breaking changes in Gensim 4, so we still continue to use Gensim 3.8.3 in most of our servers.
However, the fix for this particular issue is even simpler, see this commit
Can you confirm it works for you in Gensim 4?
I installed the vec2graph library directly from the repository, I can confirm the functionality for the last release version of Gensim 4.1.2