deep_sort_pytorch icon indicating copy to clipboard operation
deep_sort_pytorch copied to clipboard

About the indicator of reid model in evaluate.py

Open a865550942 opened this issue 3 years ago • 0 comments

why dose the top1correct indicator can get from using res = scores.topk(5, dim=1)[1][:,0] as the code below?

res = scores.topk(5, dim=1)[1][:,0]
top1correct = gl[res].eq(ql).sum().item()

why not using res = scores.topk(1, dim=1)[1][:,0]

a865550942 avatar Jul 02 '22 12:07 a865550942