Skip to content
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

Problem with underlying Word2vec #50

Open
MarekMath opened this issue Jun 10, 2022 · 1 comment
Open

Problem with underlying Word2vec #50

MarekMath opened this issue Jun 10, 2022 · 1 comment

Comments

@MarekMath
Copy link

Hello,

I just tryied to fit Node2Vec object and got error

129         # Train gensim word2vec model on random walks
130         self.model = gensim.models.Word2Vec(
131             sentences=self.walks,
132             size=self.n_components,

I found out some advise that curretly to use word2vec from gensim parametr must be named vector_size instead of size

https://stackoverflow.com/questions/53195906/getting-init-got-an-unexpected-keyword-argument-document-this-error-in

@garyhsu29
Copy link

You could try to reinstall the previous version of gensim and the it solved my problem:
$ pip install gensim==3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants