FaceVerification
FaceVerification copied to clipboard
About the label
Hi, I am puzzled with the "label1" of the layer "pair_data1" and "label2" of the layer "pair_data2". Are the "label1" and "label2" mean class label? Aren't the "same/different" labels need to be generated for each pair before training? Thanks.
All labels are class label, say 0-10574 for CASIA-webface.
@happynear Thank you for your reply! But when do the 0/1 (i.e. different/same) labels be generated for each pair?
By using a modified contrastive loss layer, there is no need to create the different/same label.
https://github.com/happynear/caffe-windows/blob/master/src/caffe/layers/contrastive_loss_layer.cpp