NetVLAD-pytorch
NetVLAD-pytorch copied to clipboard
PyTorch implementation of NetVLAD & Online Hardest Triplet Loss.
Coud you help me how to create the images labels? And the labels what it represent thank you very much
Could you please tell me why it shows "RuntimeError: result type Long can't be cast to the desired output type Bool" when running this code?
In file hard_triplet_loss.py line 139: valid_labels = i_equal_j * (i_equal_k^ 1), why is there a '^1'?
I use triple loss between data of two modalities to reduce the distance between different modalities of the same class and increase the distance between different modalities of different class....