MrHwc
MrHwc
I tested it with a GIST data set,The size of the query vector is (1000*960),Return 100 neighbors,The time I built the index is 20562.084 s,The query time is 35.082 s,recall...
# Summary I have tested indexflatl2 on cpu and gpu respectively. My dataset size is 100000. The recall of the two is very different. The cpu is 0.9998 and the...
``` faiss.normalize_L2(feature) faiss.normalize_L2(query_vector) index = faiss.IndexFlatIP(feature.shape[1]) index = faiss.IndexIDMap2(index) index.add_with_ids(feature, label) simi, ID = index.search(query_vector, k) ``` Why the result will be greater than 1? eg: ``` 1.0000001192092896, 0.4944802522659302, 0.46121683716773987...
distances = f.create_dataset('distances', (len(test), count), dtype='f'), why count=100? "count" means "the number of near neighbours to search for"?
I tested it with a GIST data set,The size of the query vector is (1000*960),Return 100 neighbors,I used the official default parameters,The time I built the index is 20562.084 s,The...
I implemented mixed precision quantization using the code AIMETRegression/features/onnx/lite_mp-runner.py, and I found that method 1 had much lower accuracy than method 2. method 1: w8a8 -> flip_layers_to_higher_precision int16; ``` providers...