faiss/demos
Lucas Hosseini a17a631dc3
Sync 20200323. (#1157)
* Sync 20200323.

* Bump version.

* Remove warning filter.
2020-03-24 14:06:48 +01:00
..
Makefile
README.md
demo_auto_tune.py Facebook sync (2020-03-10) (#1136) 2020-03-10 14:24:07 +01:00
demo_imi_flat.cpp
demo_imi_pq.cpp
demo_ivfpq_indexing.cpp Facebook sync (2019-09-10) (#943) 2019-09-20 18:59:10 +02:00
demo_ondisk_ivf.py
demo_sift1M.cpp Update demo_sift1M.cpp 2019-11-19 11:18:47 +01:00
demo_weighted_kmeans.cpp Sync 20200323. (#1157) 2020-03-24 14:06:48 +01:00

README.md

Demos for a few Faiss functionalities

demo_auto_tune.py

Demonstrates the auto-tuning functionality of Faiss

demo_ondisk_ivf.py

Shows how to construct a Faiss index that stores the inverted file data on disk, eg. when it does not fit in RAM. The script works on a small dataset (sift1M) for demonstration and proceeds in stages:

0: train on the dataset

1-4: build 4 indexes, each containing 1/4 of the dataset. This can be done in parallel on several machines

5: merge the 4 indexes into one that is written directly to disk (needs not to fit in RAM)

6: load and test the index