diff --git a/tutorial/python/4-GPU.py b/tutorial/python/4-GPU.py index 25e94c0df..6de99b110 100644 --- a/tutorial/python/4-GPU.py +++ b/tutorial/python/4-GPU.py @@ -30,9 +30,6 @@ index.add(xb) # add vectors to the index print(index.ntotal) k = 4 # we want to see 4 nearest neighbors -D, I = index.search(xb[:5], k) # sanity check -print(I) -print(D) D, I = index.search(xq, k) # actual search print(I[:5]) # neighbors of the 5 first queries print(I[-5:]) # neighbors of the 5 last queries