tyandzx / caffe

Other
29 stars 16 forks source link

Changing condition #13

Open simobrazz opened 6 years ago

simobrazz commented 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