microsoft/LightLDA

Segmentation Fault reasons

koustuvsinha opened this issue · 0 comments

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!