nmslib / hnswlib

Header-only C++/python library for fast approximate nearest neighbors
https://github.com/nmslib/hnswlib
Apache License 2.0
4.33k stars 639 forks source link

Can it be used in windows? How it can be used in c++ #234

Open ThresholDDD opened 4 years ago

ThresholDDD commented 4 years ago

I am using windows. At beginning, I want to run sift test in python, but I cannot download bigann dataset using command line, it shows: 'wget' is not recognized as an internal or external command, operable program or batch file. Unpacking file: cat downloads\bigann_query.bvecs.gz | gzip -dc > bigann/bigann_query.bvecs 'cat' is not recognized as an internal or external command,

I searched it, it seems not a command in windows. So I was wondering if this can be used in windows, and I don't know how it can be used in c++, I compile the file and run main.cpp. I got Loading GT:err.

yurymalkov commented 4 years ago

Hi @ThresholDDD Oh. Not sure if is still relevant. You can use windows bash for downloading the files, or you can download them manually. The code should work for windows if cmake is installed.