Skip to content

wrong evaluation on ijb 1:n test? #169

@paopjian

Description

@paopjian

deepinsight/insightface#1739

https://github.com/deepinsight/insightface/blob/master/recognition/_evaluation_/ijb/ijb_evals.py use the

 thresh = non_gallery_sims_sorted[max(int((non_gallery_sims_sorted.shape[0]) * far) - 1, 0)]

to get threshold
old code use

required_topk = [math.ceil(query_num * x) for x in Fars]
neg_sims = heapq.nlargest(max(required_topk), neg_sims)  # heap sort
for far, pos in zip(Fars, required_topk):
    th = neg_sims[pos - 1]

to get threshold

and they combine the g1 and g2, which is not ask to combine

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