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
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
Error
Your Environment