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
SIGSEGV on MulticlassLibSVM with SubsequenceStringKernel #4157
Comments
@bmurauer thnx for reporting! which version are you using? |
Sorry, forgot to mention. Latest from GIT, the NEWS file says 6.2.0. |
@bmurauer just checkd with python 2.7 + shogun and i'm getting a nicer
lemme check why do you have a sigsegv with py36 :( |
@bmurauer ok so i've managed to fix the problem in py27... currently the kernel blew up my memory :) |
btw for the record there's a bug in your code:
should be:
|
ok i've managed to reproduce the error finally... lemme see if i can get a fix for it today |
ok so it's basically because of this in the typemaps:
one of the strings fails with |
@bmurauer feature/numpy1.7 branch should have a fix for your problem.. i'll see if travis CI jobs passes in case yes i'll merge this into develop. if you could test is - as i haven't tested yet the python3 version - i would really appreciate it. |
ps: the plz don't try with on the whole dataset as that'll just take all your ram in the machine :) |
Hi, thanks for your responses!
which unfortunately yielded this error message at the end of the build:
Do I have to specify some other make flags for this branch? |
@bmurauer sorry about it i was coding blindly as i really haven't tested it on py3. i'll do it now and force push. once tested/done i'll ping u here :) |
@bmurauer ok now the HEAD of the feature branch (note i've force pushed) contains the fix that worked for me with python35. lemme know how does it work for you. |
Thank you, no more SIGSEGV :) However, i seem to have another issue with the multiclass-ity, which i will post in a separate thread since I don't think it is related. |
@bmurauer cool thnx for testing! let's keep the issue open until i merge the feature branch into develop :) |
fix merged, we can close |
Hi, i was playing around with the python API of shogun, my goal is to use SubsequenceStringKernel for multiclass text document classification. Therefore, i wrote this code:
Which causes as SIGSEGV.
The text was updated successfully, but these errors were encountered: