microsoft / LightLDA

Scalable, fast, and lightweight system for large-scale topic modeling
http://www.dmtk.io
MIT License
842 stars 235 forks source link

Segmentation Fault reasons #53

Closed koustuvsinha closed 7 years ago

koustuvsinha commented 7 years ago

I just wasted 4 hours trying to figure out why my inference is always hitting Segmentation Fault when inferencing on a held out dataset of 3000 documents. So I am noting down the reason here for others who may stumble into it in future : max_num_document value should always be > than number of documents. Hope it helps!