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

Solve the compatibility issue with higher version of Gensim #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GTmac
Copy link
Collaborator

@GTmac GTmac commented May 5, 2016

In Deepwalk, each random walk is represented by a list of integers. These random walks are treated as sentences in the Gensim Word2Vec model.

However, the higher version of Gensim requires that each sentence must be a list of strings, instead of integers. This pull request fix the compatibility issue with Gensim by converting each random walk to a list of strings.

@ymt123
Copy link

ymt123 commented Aug 9, 2016

I needed this patch to successfully run the code.

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

Successfully merging this pull request may close these issues.

2 participants