KaiyangZhou / deep-person-reid

Torchreid: Deep learning person re-identification in PyTorch.
https://kaiyangzhou.github.io/deep-person-reid/
MIT License
4.33k stars 1.15k forks source link

Computing extracted features distance #557

Open mrsadeghi opened 1 year ago

mrsadeghi commented 1 year ago

I have some images to extract their features by simple API for feature extraction. however, I couldn't understand why _feature_extraction inside _evaluate function is different from this API. because I want to calculate the distance of the extracted features, I don't know how to use the extracted feature by simple API by metrics.compute_distance_matrix function.