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

由于gensim更新,调用gensim word2vec API时出错 #360

Closed
Saltsmart opened this issue Jul 21, 2022 · 1 comment
Closed

由于gensim更新,调用gensim word2vec API时出错 #360

Saltsmart opened this issue Jul 21, 2022 · 1 comment

Comments

@Saltsmart
Copy link
Contributor

https://github.com/THUDM/cogdl/blob/438f5a9fecc1ae727394b135d2b94714cf35d776/cogdl/models/emb/deepwalk.py#L60-L68

参照gensim的API reference,4.2.0版本gensim.models.word2vec已经不使用 size(应为 vector_size )和 iter (应为 epochs )。

@cenyk1230
Copy link
Member

感谢指出这个问题。我们暂时限制了gensim的版本为<4.0。

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