fix #7
Created by: Maxwell-Lyu
Fixed #7 (closed)
- Remove code related to
faiss_index_shape
inload_faiss_index
andbuild_faiss_index
indatastore.py
- Use shape from Index object in
load_faiss_index
inutils.py
- 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.