Closed AaronNZH closed 1 year ago
There are some wrong usage about F.pairwise_distance, which lead to error data shape, and then generate nan data. Finaly, the nan data will make faiss.IndexFlatL2 produce -1 in array I, which means array out of bound error in torch.gather
There are some wrong usage about F.pairwise_distance, which lead to error data shape, and then generate nan data. Finaly, the nan data will make faiss.IndexFlatL2 produce -1 in array I, which means array out of bound error in torch.gather