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

IndexError: list index out of range #19

Open
lixinru77 opened this issue Mar 25, 2024 · 1 comment
Open

IndexError: list index out of range #19

lixinru77 opened this issue Mar 25, 2024 · 1 comment

Comments

@lixinru77
Copy link

I run th infer.py
get error:
Using cache..., config=histogram_cache-region-n_bin12-n_slice3, distance=d1, depth=3
Traceback (most recent call last):
File "D:\Vir_env\CBIR-master\src\infer.py", line 26, in
query = samples[query_idx]
IndexError: list index out of range

@lixinru77
Copy link
Author

找到原因了,是我的数据没有读取进来。然后sample=0

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

1 participant