EdinburghNLP / XSum

Topic-Aware Convolutional Neural Networks for Extreme Summarization
MIT License
354 stars 77 forks source link

The pre-trained LDA model is not working #7

Open XinnuoXu opened 5 years ago

XinnuoXu commented 5 years ago

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 commented 5 years ago

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