Skip to content
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

QALSH_PLUS error: `nb <= num_blocks_' failed #1

Closed
BIOINSu opened this issue Feb 20, 2020 · 0 comments
Closed

QALSH_PLUS error: `nb <= num_blocks_' failed #1

BIOINSu opened this issue Feb 20, 2020 · 0 comments

Comments

@BIOINSu
Copy link

BIOINSu commented Feb 20, 2020

Dear author:
This is a very great job and I try to apply your algorithm on my own dataset. My dataset consists of 3605 objects and the dimension is 100. Due to the characteristic of the task, both the dataset and the query set are the same for the top 10 nearest neighbor searches.

However, while the QALSH could run successfully, the QALSH_PLUS appears an error :

qalsh: qalsh_plus.cc:561: int QALSH_PLUS::get_block_order(int, MinK_List*, std::vector<int>&): Assertion `nb <= num_blocks_' failed.
Aborted (core dumped)

According to your article, each leaf of the KD-Tree is regarded as a block and I check the parameter num_blocks_ and find out the value is 1 but the iteration of nb is greater than 1.

Thus my question is if there is any solution to adjust the programme so that the data could be split to generate more num_blocks_ to make the script runs successfully? I have adjusted the input parameters such as leaf , B , 'c' or 'p' but none of them seems to be useful.

I would be so appreciated if you could reply. Thanks a lot!

@BIOINSu BIOINSu closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant