We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 263fa28 commit 82d4aebCopy full SHA for 82d4aeb
benchmark/sift1m-ivf.py
@@ -77,7 +77,7 @@ def main(args):
77
t0 = time.time()
78
all_results = index.search_batch(queries.tolist(), K)
79
t_search = time.time() - t0
80
- qps = len(queries[0]) / t_search
+ qps = len(queries) / t_search
81
82
# collect indices into numpy array
83
results = np.zeros((len(all_results), K), dtype=np.int64)
0 commit comments