hnswlib
hnswlib copied to clipboard
what's the difference between sift_1b.cpp and sift_test.cpp?
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
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.