-
Notifications
You must be signed in to change notification settings - Fork 167
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 #7
Comments
i encounter the same issue, samples 14416, dimensions 369,but when running the example MNIST, it is OK, i guess this problem is caused by the special samples value, but i am not good at debugging c++ code, thanks for any help |
Please, could you post your input data? I can do some debugging of this. BTW you can do debugging using gdb |
As far I remember, I have similar issue for MNIST when I've changed n_neihbours from 150 to 10. |
I get a similar issue with 46838 samples with 10 dimensions each. These samples are feature vectors normalized between 0 and 1, not similarities. When I run the algorithm with the default parameters, I get a
So well, any idea on what could be happening here? I am running this algorithm in a Intel i7 8-core computer with 32gb of RAM, so I guess it is not a matter of lack of computing resources considering the size of my data. Please, could you kindly provide a description of what ANNOY does? Or perhaps to explain a bit more the phases this algorithm goes through? It could be helpful for debugging. Thanks for your support! :-) |
@Irene-GM try running with GDB to see more details: Also, have a look to the issue "Potential bug in LargeVis::search_reverse_thread". You should fix the method sample_an_edge as proposed by Sonja and recompile:
|
Running on my network, get following error.
Total vertices : 639 Dimension : 256
Normalizing ...... Done.
Running ANNOY ...... Done.
Running propagation 3/3
Test knn accuracy : 53.93%
Computing similarities ...... Done.
Fitting model Alpha: 0.905441 Progress: 9.456%Segmentation fault
Running it several times, and this is the best result. I don't know what cause the segmentation fault. Could you help me solve this?
Thanks in advance
The text was updated successfully, but these errors were encountered: