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

[BUG] Value of query_result_dist is 0 / 0.0000 #525

Open
asharani97 opened this issue Mar 7, 2024 · 1 comment
Open

[BUG] Value of query_result_dist is 0 / 0.0000 #525

asharani97 opened this issue Mar 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@asharani97
Copy link

Expected Behavior

There should be approximate distance .

Actual Behavior

Getting value of query_result_dists as 0

Example Code

for (uint64_t i = 0; i < query_num; ++i) {
for (uint64_t j = 0; j < recall_at; ++j) {
dists_file << std::fixed << std::setprecision(6) << query_result_dists[test_id][i * recall_at + j]<< " ";
}
dists_file << std::endl;
}

Dataset Description

Dataset : Eurlex -4k

  • Dimensions: 1000
  • Number of Points: around 3900
  • Data type: float

Error

Paste the full error, with any sensitive information minimally redacted and marked $$REDACTED$$

Your Environment

  • Operating system Ubuntu
  • DiskANN version latest
    I am trying to save the values I am able to save knn but problem is with distances ,
    when using search_memory_indices this problem comes, using disk search it works fine
@asharani97 asharani97 added the bug Something isn't working label Mar 7, 2024
@asharani97 asharani97 reopened this Mar 13, 2024
@asharani97
Copy link
Author

asharani97 commented Mar 13, 2024

This is solved by #528

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant