diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-12 19:25:36 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-12 19:25:36 +0100 |
| commit | 4060915f156dec87a449a10c96d166d474f2d628 (patch) | |
| tree | 048b1262449a7e4a51ec157c5d4f264ceac6c0fb /megapixels/app/processors | |
| parent | 384be7d882d1402220b10bd5b2d0037226b41785 (diff) | |
fix faiss, fix off by one
Diffstat (limited to 'megapixels/app/processors')
| -rw-r--r-- | megapixels/app/processors/faiss.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/megapixels/app/processors/faiss.py b/megapixels/app/processors/faiss.py index ab067fd0..0de8ec69 100644 --- a/megapixels/app/processors/faiss.py +++ b/megapixels/app/processors/faiss.py @@ -27,7 +27,7 @@ def build_all_faiss_databases(): build_faiss_database(name, DefaultRecipe()) def build_faiss_database(name, recipe): - vec_fn = os.path.join(cfg.DIR_FAISS_METADATA, name, "vecs.csv") + vec_fn = os.path.join(cfg.DIR_FAISS_METADATA, name, "face_vector.csv") index_fn = os.path.join(cfg.DIR_FAISS_INDEXES, name + ".index") if not os.path.exists(vec_fn): |
