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

Reproducing the plots #11

Open
ethen8181 opened this issue Jul 28, 2018 · 3 comments
Open

Reproducing the plots #11

ethen8181 opened this issue Jul 28, 2018 · 3 comments

Comments

@ethen8181
Copy link

Hi, I was trying to reproduce the plots and was confused a bit by the steps:

So I first did:

python create_ann_benchmarks_data.py

This created a file called lastfm50-10000--1-3.npz. After that, I am not sure what do you mean by copy to the 'queries' folder in your ann-benchmarks.

When I tried to ignore that and moved on to the next instruction:

# dataset is the path to the .npz file
python ann_benchmarks/main.py --dataset lastfm50-10000--1-3.npz --algo 'hnsw(nmslib)' --algo faiss --algo annoy

I get ModuleNotFoundError: No module named 'ann_benchmarks'. Some guidance will be much appreciated. Thanks

@ethen8181
Copy link
Author

@benfred ping ~

@benfred
Copy link
Owner

benfred commented Aug 5, 2018

@ethen8181 I accidentally deleted my fork of ann-benchmarks that were needed to reproduce this - so I don't think the steps there work anymore =( ann-benchmarks has changed signficantly since I first wrote that post, and the code here won't work with the newer version.

I fixed up this code to work with the newer ann-benchmarks here: erikbern/ann-benchmarks#91

Once it's merged I'll update the steps to generate - but roughly will be follow the install instructions in ann-benchmarks to get it set up, and then run

python run.py --dataset lastfm-64-als --algo 'hnsw(nmslib)' --algo faiss --algo annoy

to run the experiments

@ethen8181
Copy link
Author

ethen8181 commented Aug 6, 2018

I see, thanks for the update. Will wait for the merge & updated steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants