bnu-wangxun / Deep_Metric

Deep Metric Learning
Apache License 2.0
777 stars 148 forks source link

Distance weighted margin loss #7

Open gabrielelanaro opened 6 years ago

gabrielelanaro commented 6 years ago

Hi, I wonder if you also tried the distance weighted margin loss specified in Sampling Matters in Deep Embedding Learning.

I see you have the sampling scheme applied to deviance loss. I wonder why?

bnu-wangxun commented 6 years ago

Sorry for late response. I have tried to do this. But now I only have implemented the distance weighted sampling for negative pairs in a different way compared with the article . I have not implemented the Dynamic margin.