Skip to content

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

@liyongqing-1101

Description

@liyongqing-1101
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions