imatge-upc / retrieval-2016-icmr

Bags of Local Convolutional Features for Scalable Instance Search (ICMR 2016)
https://imatge-upc.github.io/retrieval-2016-icmr/
111 stars 36 forks source link

A problem of B_preprocessing_clustering #6

Open hyxlll opened 6 years ago

hyxlll commented 6 years ago

After I install the vlfeat-ctypes, I replace the kmeans.py as the operation you mentioned ( modify 'kmeans.py' file, located in the vlfeat python package: (i.e /usr/local/lib/python2.7/dist-packages/vlfeat_ctypes-0.1.4-py2.7.egg/vlfeat/kmeans.py) for lib/kmeans.py of this repo.),but when I run the B_preprocessing_clustering, it has an error :AttributeError: /usr/local/lib/python2.7/dist-packages/vlfeat_ctypes-0.1.4-py2.7.egg/vlfeat/libvl.so: undefined symbol: vl_kmeans_quantize_ann

Paul0629 commented 6 years ago

@hyxlll I meet the same error with you. In download.py, DEFAULT_VERSION = '0.9.16', however this verson lacks symbols like vl_kmeans_quantize_ann. You can change the DEFAULT_VERSION to the latest or modify the head file.