QVPR / Patch-NetVLAD

Code for the CVPR2021 paper "Patch-NetVLAD: Multi-Scale Fusion of Locally-Global Descriptors for Place Recognition"
MIT License
531 stars 76 forks source link

Loss function #74

Closed bestwo01 closed 1 year ago

bestwo01 commented 1 year ago

Hello. Could you please tell me which loss function did you use and which part of the code shows the loss function?

Tobias-Fischer commented 1 year ago

Triplet loss, see https://github.com/QVPR/Patch-NetVLAD/blob/5597df22296124296a3691567064774e27af2e29/train.py#L192