matsui528 / nanopq

Pure python implementation of product quantization for nearest neighbor search
MIT License
323 stars 43 forks source link

convert to/from faiss #2

Closed matsui528 closed 5 years ago

matsui528 commented 5 years ago

Functions to convert a PQ instance of nanopq (nanopq.PQ) to/from that of faiss (faiss.IndexPQ): nanopq.nanopq_to_faiss and nanopq.faiss_to_nanopq