Open simobrazz opened 6 years ago
The condition should not been this(?):
dist_ap - dist_an + margin < 0
https://github.com/tyandzx/caffe/blob/4cc936ef112faebfe7e90caf6b1f78d348ef322b/src/caffe/layers/triplet_loss_layer.cpp#L65
The condition should not been this(?):
https://github.com/tyandzx/caffe/blob/4cc936ef112faebfe7e90caf6b1f78d348ef322b/src/caffe/layers/triplet_loss_layer.cpp#L65