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

Why to decrease positions of positive based on the number of junk images appearing before them in 'evaluate.py'? #77

Open
liyongqing-1101 opened this issue Mar 29, 2022 · 1 comment

Comments

@liyongqing-1101
Copy link

k = 0
ij = 0
if len(junk):
    # decrease positions of positives based on the number of
    # junk images appearing before them
    ip = 0
    while ip < len(pos):
        while ij < len(junk) and pos[ip] > junk[ij]:
            k += 1
            ij += 1
        pos[ip] = pos[ip] - k
        ip += 1
@Eduard6421
Copy link

Eduard6421 commented Jan 24, 2023

@liyongqing-1101
In the evaluation protocol it is stated that images considered junk are not taken into consideration upon computing the map.
At least that is my take from the paper https://arxiv.org/pdf/1803.11285.pdf.

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