Skip to content

Commit 3df147d

Browse files
committed
test less values
1 parent 04a3917 commit 3df147d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def run(dataset, task, k):
4848
print(f"Done training in {elapsed_build}s.")
4949
assert index.is_trained
5050

51-
for nprobe in [1, 2, 5, 10, 20, 50, 100]:
51+
for nprobe in [1, 2, 5, 10]:
5252
print(f"Starting search on {queries.shape} with nprobe={nprobe}")
5353
start = time.time()
5454
index.nprobe = nprobe

0 commit comments

Comments
 (0)