Skip to content

fix #7

Created by: Maxwell-Lyu

Fixed #7 (closed)

  1. Remove code related to faiss_index_shape in load_faiss_index and build_faiss_index in
  2. Use shape from Index object in load_faiss_index in
  3. Display all pre transforms in the index object Sample output
[Start Loading Faiss Index]
  > reading index took 0.23750877380371094 s
    > 1 pre-transform is found
    > pre-transform: 1024 -> 256
  > the datastore shape is  (524374, 1024)
[Finish Loading Faiss Index Successfully ^_^]

Alongside the "How to reproduce", this fix is also tested on vanilla-knn-mt and greedy-merge-knn-mt scripts.

Merge request reports