cnnimageretrieval-pytorch
cnnimageretrieval-pytorch copied to clipboard
Why to decrease positions of positive based on the number of junk images appearing before them in 'evaluate.py'?
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
@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.