We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04a3917 commit 3df147dCopy full SHA for 3df147d
1 file changed
search.py
@@ -48,7 +48,7 @@ def run(dataset, task, k):
48
print(f"Done training in {elapsed_build}s.")
49
assert index.is_trained
50
51
- for nprobe in [1, 2, 5, 10, 20, 50, 100]:
+ for nprobe in [1, 2, 5, 10]:
52
print(f"Starting search on {queries.shape} with nprobe={nprobe}")
53
start = time.time()
54
index.nprobe = nprobe
0 commit comments