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

The pre-trained LDA model is not working #7

Open
XinnuoXu opened this issue Feb 15, 2019 · 1 comment
Open

The pre-trained LDA model is not working #7

XinnuoXu opened this issue Feb 15, 2019 · 1 comment

Comments

@XinnuoXu
Copy link

Loading LDA model from ./lda-train-document-lemma-topic-512-iter-1000...
Start decoding in ./xsum-preprocessed/document-lemma-topic-512-iter-1000...
Traceback (most recent call last):
File "scripts/lda-gensim-decoding-document-lemma.py", line 62, in
bow = lda.id2word.doc2bow(doc)
AttributeError: 'NoneType' object has no attribute 'doc2bow'

@shashiongithub
Copy link
Collaborator

Could you give some more information? what data are you it on? What was you command?

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