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

About ranker.py #15

Open
dahwang22 opened this issue Mar 29, 2018 · 1 comment
Open

About ranker.py #15

dahwang22 opened this issue Mar 29, 2018 · 1 comment

Comments

@dahwang22
Copy link

Hi, when I run the .py file, there show the error meessage about that where set params['dataset'] = 'oxford' in my params.py, How can I fix it? Thx :
Traceback (most recent call last):
File "ranker.py", line 169, in
R.rank()
File "ranker.py", line 149, in rank
self.get_query_vectors()
File "ranker.py", line 74, in get_query_vectors
self.query_feats[i,:] = self.db_feats[np.where(np.array(self.database_list) == query_file)]
ValueError: could not broadcast input array from shape (0,512) into shape (512)

@iWeisskohl
Copy link

hi, @hbfreedow I meet the same question in ranker.py, have u find any way to solve it ?

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