You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you
bruteForceKnn is deprecated; call bfKnn instead issue is resolved. However another issue has been occurred.
I changed the code below: faiss.bruteForceKnn(res, faiss.METRIC_INNER_PRODUCT, faiss.swig_ptr(X_gallery), True, ng, faiss.swig_ptr(X_query), True, nq, d, int(kmax + offset), faiss.swig_ptr(D), faiss.swig_ptr(I))
to: args = faiss.GpuDistanceParams() args.metric = faiss.METRIC_INNER_PRODUCT args.k = int(kmax + offset) args.dims = d args.vectors = faiss.swig_ptr(X_gallery) args.vectorsRowMajor = True args.numVectors = ng args.queries = faiss.swig_ptr(X_query) args.queriesRowMajor = True args.numQueries = nq args.outDistances = faiss.swig_ptr(D) args.outIndices = faiss.swig_ptr(I) faiss.bfKnn(res, args)
but Faiss assertion 'err == CUBLAS_STATUS_SUCCESS' failed in void faiss~~ has been occurred then the code stopped.
What I found is that the macOS might have bugs to use faiss. If I use window, the issue will be resolved?
Hello, I am studying proxy-based deep metric learning and I found the proxy synthesis methodology.
When I execute your code, I saw "bruteForceKnn is deprecated; call bfKnn instead" issue.
How can I update the evaluation.py file?
The text was updated successfully, but these errors were encountered: