Open hyxlll opened 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.
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