Triplet training data generation and layer modification#2552
Triplet training data generation and layer modification#2552wangyida wants to merge 2 commits intoBVLC:masterfrom
Conversation
[1] http://lrs.icg.tugraz.at/pubs/wohlhart_cvpr15.pdf With Respect, |
|
@cbalint13 It seems that you are also interested on 3D information jointed pose estimation and classification using CNN, as deicribed in [1], I‘m going to combine triplet loss and pair-wise loss a last, it is indeed also necessary to arrange data properly as in paper[1]. I will modify the data generation code after the loss code is finished. It will be great for you to shows some triplet loss layer code for further improvement if there are any works~ |
|
I think that @pwohlhart that is one of the authors of the paper will also release a theano version soon. |
|
This PR is integrated to #2603 |
This triplet sample based on MNIST database is modified from siamese network, The LMDB data is generated correctly for the triplet training. But the Loss layer used in siamese is ContrastiveLoss, such function allows 2 input feature as a pair output feature.
I need to modify the loss layer in Caffe to further suit for triplet network training.