liuziwei7 / fashion-landmarks

Fashion Landmark Detection in the Wild
http://personal.ie.cuhk.edu.hk/~lz013/projects/FashionLandmarks.html
347 stars 98 forks source link

Loss functions #6

Open ankitkumar8 opened 7 years ago

ankitkumar8 commented 7 years ago

Where are the lossfunctions of the net? I need help in setting up that weighted L2 loss for landmark localisation

yysijie commented 7 years ago

Sorry, we have not released the code for training. Thus you can't find any loss function in prototxt files. In training process, we used “EuclideanLoss” layer in caffe as loss function layer. The loss weight of visibility is 1. And the loss weight of landmark regression is 1 in the first 2000 iterations and 20 in the next 8000 iterations. The batch size is 40. I hope this is helpful.

ankitkumar8 commented 7 years ago

Thank You~ :) Also, how do you go about weighting it with visibility. The dynamic parameter for weight i.e. visibility is where I am having a problem in understanding. Also, in your paper you don't even discuss about landmark visibility having 3 labels, and here suddenly we have a separate label for truncated or cutoff from the photo. :( :( In the paper it seems like only having 2 labels.

NeverBehave commented 7 years ago

Is it possible to release the training code?

hongge831 commented 6 years ago

Is it possible to release the training code?

HarryZJ commented 6 years ago

Is it possible to release the training code?