A distributed approximate nearest neighborhood search (ANN) library which provides a high quality vector index build, search and distributed online serving toolkits for large scale vector search scenario.
MIT License
4.79k
stars
582
forks
source link
SaveIndex failed (Segmentation Fault) after Delete. #78
Describe the bug
When I test SPTAG in python by your python test code. I find when I delete some data from Index, SaveIndex always get segmentation fault.
This is Delete and Save code:
def testDelete(index, x, out):
i = SPTAG.AnnIndex.Load(index)
ret = i.Delete(x.tobytes(), x.shape[0])
print (ret)
print("Del finished...................")
i.Save(out)
After save tree.bin finished, segmentation fault.
Thanks for your favor.
Describe the bug When I test SPTAG in python by your python test code. I find when I delete some data from Index, SaveIndex always get
segmentation fault
.This is Delete and Save code:
After save tree.bin finished, segmentation fault. Thanks for your favor.