Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using NMSLIB code from a release rather than from an obscure branch #19

Merged
merged 3 commits into from
May 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions install/nmslib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ cd "$(dirname "$0")"
echo "Installing Python interface for the Non-Metric Space Library"
# Remove the previous version if existed
rm -rf nmslib
# Note that we use the pserv branch here:
git clone https://github.com/searchivarius/nmslib.git
cd nmslib/similarity_search
# Note that we use version 1.5 here:
#git clone https://github.com/searchivarius/nmslib.git
wget https://github.com/searchivarius/nmslib/archive/v1.5.tar.gz
tar -zxvf v1.5.tar.gz
cd nmslib-1.5/similarity_search
git checkout pserv
apt-get install -y cmake libeigen3-dev libgsl0-dev
echo "CC: $CC, CXX: $CXX"
Expand Down
2 changes: 1 addition & 1 deletion install/sift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cd "$(dirname "$0")"
wget "ftp://ftp.irisa.fr/local/texmex/corpus/sift.tar.gz"
tar -xzf sift.tar.gz
rm -rf sift.tar.gz
wget "https://raw.githubusercontent.com/searchivarius/NonMetricSpaceLib/master/data/data_conv/convert_texmex_fvec.py"
wget "https://raw.githubusercontent.com/searchivarius/nmslib/v1.5/data/data_conv/convert_texmex_fvec.py"
python convert_texmex_fvec.py sift/sift_base.fvecs >> sift.txt
rm -rf sift