fast-reid
fast-reid copied to clipboard
No normalization in demo/visualize_result.py
In demo/visualie_result.py file there is following code snippet at line 125~126
# compute cosine distance
distmat = 1 - torch.mm(q_feat, g_feat.t())
I think there should be a nomalization before torch.mm like "postprocess" function in demo/demo.py
The resulting jpg outputs also show the similarities over 1, which is weird behavior.