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

Failed to parse JSON data from ./testing_data/sift_attr.json #6

Open
gaurav16gupta opened this issue Sep 30, 2024 · 3 comments
Open

Comments

@gaurav16gupta
Copy link

I am running run_simple_test.sh. Do we need to additionally download the respective index embedding and attributes or the script take care of it?
Can you please provide the download link (fvecs, attribute files etc.) for the datasets used in the paper?

@Enrico-De-Santis-AI-research

I have the same issue

@JonahYi
Copy link

JonahYi commented Nov 16, 2024

I am getting a similar issue when running run_simple_test.sh as well. I believe it occurs when run_simple_test.sh is running test_acorn in demos. The specific error I received from the summary_sift_n=1000000_gamma=12.txt file was:

N: 1000000
gamma: 12
dataset: sift1M_test
M: 32
M_beta: 64
Failed to open JSON file
Failed to parse JSON data from ./testing_data/sift_attr.json: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
terminate called after throwing an instance of 'nlohmann::detail::type_error'
what(): [json.exception.type_error.302] type must be array, but is null

Is there any way to resolve this without creating our own sift_attr.json file?

@Saint-Diana
Copy link

Excuse me. Where did you get the sift_attr.json file? I'm not sure about the format of the json file used during runtime. Could you please tell me where I can obtain these contents? Thank you very much!

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

4 participants