-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Segmentation fault (core dumped) about PLDA #166
Comments
Hi @daidaiduoduo, |
@bab2min import sys
import tomotopy as tp
import numpy as np
import os
mdl = tp.PLDAModel(tw=tp.TermWeight.ONE, latent_topics=5)
d = ['a','b']
l = ['c','d']
mdl.add_doc(d,l)
mdl.make_doc(d,l) |
@daidaiduoduo Thank you for sharing the code. I'll examine it! |
Hello~ Have you checked? |
Hi @daidaiduoduo mdl = tp.PLDAModel(tw=tp.TermWeight.ONE, latent_topics=5)
d = ['a','b']
l = ['c','d']
mdl.add_doc(d,l)
mdl.train(0) # the model is prepared at this point
mdl.make_doc(d,l) |
@bab2min Thank you! It works!! 555 |
Hello~~
I'm trying to run PLDA. I found that when I set the value of latent_topics bigger than 1 (like 5), and then call .make_doc() function. It posts "Segmentation fault (core dumped)" bug.
When I set latent_topics==0 or 1, it's ok.
I think it is similar to issues 30 : #30
The text was updated successfully, but these errors were encountered: