hnswlib icon indicating copy to clipboard operation
hnswlib copied to clipboard

what's the difference between sift_1b.cpp and sift_test.cpp?

Open qxzhou1010 opened this issue 4 years ago • 1 comments

what's the difference between sift_1b.cpp and sift_test.cpp?If I want to test with my own data set, which one should I imitate?

qxzhou1010 avatar Jul 09 '20 08:07 qxzhou1010

@qxzhou1010 The cpp files are using different datasets and distance functions. sift_1b.cpp uses on the 1 billion SIFT dataset and uses uint8-based distance. sift_test.cpp uses 1m sift dataset with float based distance.

I would recommend using sift_1b.cpp , as it was updated.

yurymalkov avatar Jul 13 '20 06:07 yurymalkov