-
Notifications
You must be signed in to change notification settings - Fork 33
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
Server crash with bad descriptor data #92
Comments
I have added an extra test for Issue 1 and the it seems the server will correctly catch when the dimension of the blob mismatches. I was not able to reproduce Issue 1. Can you provide more info? This is the test I am using to try to replicate.
Also, can you provide more detail on Issue 2? Thanks! |
This should produce Issue 1:
(I'll try to re-produce it tomorrow and update this) Issue 2 was happening after data with the Issue 1 was added into the server. |
I tried that way as well, and get an error:
I was not able to reproduce this error, even with a couple of different wrong sizes. I will add more testcases for this issues in #101 for the future, and close this issues unless/until we find a way to reproduce it. Thanks! |
* Unify ports for unit tests * Fic gcov error
Some bug in my code added descriptor blobs which had gone through the following transformations:
After this
blob
becomes a 32 dimnp.float
array.Issue 1 - AddDescriptor for a 64 dim set worked fine with this blob
Issue 2 - A FindDescriptor query with k_neighbors crashes the server:
Server log
The text was updated successfully, but these errors were encountered: