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

'Doc2Vec' object has no attribute 'neg_labels' #23

Open
Ghaliamus opened this issue Jun 13, 2018 · 4 comments
Open

'Doc2Vec' object has no attribute 'neg_labels' #23

Ghaliamus opened this issue Jun 13, 2018 · 4 comments

Comments

@Ghaliamus
Copy link

Hello, thank you for sharing such models, many thanks. I'm getting this error when I run the infer_text.py code even though I'm using your forked version of gensim. Do you have any suggestion, please?

@jhlau
Copy link
Owner

jhlau commented Jun 14, 2018

Looks like there's another (closed) issue on this. Are you using the given pre-trained models? Or it's a model you've trained up yourself.

@Ghaliamus
Copy link
Author

Hello Jhlau, many thanks for your kind prompt response. Yes, I'm using the pre-trained models.

@cstenkamp
Copy link

same issue. Using the pre-trained model (both pretrained doc2vec as specified in your readme don't work). Issue #22 is closed, but taking your version doesn't solve the problem - as also many people commented after the issue was closed. Somebody said that an older version of gensim works, but I went down as far as the oldest gensim-version that has doc2vec, without any success. Could you maybe elaborate what needs to be done?

@Youngchichi
Copy link

hey,friends,my environment is python 2.7.0,gensim is 2.0.0,it‘s ok,you can try

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

4 participants