microsoft / DiskANN

Graph-structured Indices for Scalable, Fast, Fresh and Filtered Approximate Nearest Neighbor Search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Usage for filtered indices needs to be updated

asharani97 opened this issue · comments

Expected Behavior

Tell us what should happen

Actual Behavior

build/apps/build_memory_index --data_type float --dist_fn l2 --data_path siftsmall/siftsmall_base.bin --index_path_prefix siftsmall/siftsmall_R32_L50_filtered_index -R 32 --FilteredLbuild 50 --alpha 1.2 --label_file ./rand_labels_50_10K.txt --universal_label 0

above commands gives me ,

--label_file option is not available

  1. Even this : build/apps/utils/compute_groundtruth --data_type float --dist_fn l2 --base_file siftsmall/siftsmall_base.bin --query_file siftsmall/siftsmall_query.bin --gt_file siftsmall/siftsmall_gt_35.bin --K 100 --label_file ./rand_labels_50_10K.txt --filter_label 35 --universal_label 0
    is not correct compute_groundtruth is not used instead another file

## Dataset Description
Please tell us about the shape and datatype of your data, (e.g. 128 dimensions, 12.3 billion points, floats)
- Dimensions: 
- Number of Points:
- Data type: 

## Error 

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


## Your Environment
* Operating system: Ubuntu
* DiskANN version (or commit built from)

## Additional Details
Any other contextual information you might feel is important.