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

Issues about evaluators.py #21

Closed
ArminLee opened this issue Jan 20, 2022 · 2 comments
Closed

Issues about evaluators.py #21

ArminLee opened this issue Jan 20, 2022 · 2 comments

Comments

@ArminLee
Copy link

I use Market as the training dataset and Duke as the test dataset, when I use --do_tlift, it shows that the size of tensor are not match.
image

In the evaluators.py document, line 212, the original dist size is 222817661 in Market dataset, and the size of dist_rerank is 2228253 because the num_gal is not the same. The value of num_gal is the length of gallery images in the definition of line 189. However, it is redefined in line 204 as the size of gallery feature.

@ShengcaiLiao
Copy link
Owner

Hi, thanks for the report. This was a bug in the previous development. The code is now updated. Please see if your issue is resolved.

@ArminLee
Copy link
Author

Thanks for your update, the issue has been solved!

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