when i run bench_link_and_code.py, the above exception appear.
Traceback (most recent call last):
File "bench_link_and_code.py", line 180, in <module>
rfn, xb_full, niter=args.beta_niter)
File "/data/scripts/imageAI/yufeiImageAI/faiss/neighbor_codec.py", line 235, in train_beta_codebook
ngpus=0, niter=niter)
File "/data/scripts/imageAI/yufeiImageAI/faiss/neighbor_codec.py", line 192, in neighbors_kmeans
neighbor_table = get_neighbor_table(x_coded, Inn, pos[i])
File "/data/scripts/imageAI/yufeiImageAI/faiss/neighbor_codec.py", line 84, in get_neighbor_table
rfn.get_neighbor_table(i, faiss.swig_ptr(out))
File "/data/anaconda3/lib/python3.5/site-packages/faiss/swigfaiss.py", line 3405, in get_neighbor_table
return _swigfaiss.ReconstructFromNeighbors_get_neighbor_table(self, i, out)
TypeError: in method 'ReconstructFromNeighbors_get_neighbor_table', argument 2 of type 'faiss::ReconstructFromNeighbors::storage_idx_t'
Summary
when i run bench_link_and_code.py, the above exception appear.
Platform
OS: centos
Faiss version: 1.4.0
Faiss compilation options:
Running on:
Interface:
Reproduction instructions