Skip to content

Number of visited elements in graph indexes #3050

Answered by SilvioM97
SilvioM97 asked this question in Q&A
Discussion options

You must be logged in to vote

An admin of Facebook FAISS' group gave me this answer:

ivf_stats = faiss.cvar.indexIVF_stats
ivf_stats.reset()
[query]
ivf_stats.ndis

hnsw_stats = faiss.cvar.hnsw_stats
hsnw_stats.reset()
[query]
hnsw_stats.ndis

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SilvioM97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant