--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/7794c373-6d0d-4c6e-8df4-1130d121ceef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can use the Hinge layer:Some of the documentation is hidden in the Doxygen generated documentation:Best,Jonathan
On Tue, Jul 18, 2017 at 2:43 PM, Atena Nguyen <ngct...@gmail.com> wrote:
Hi all,I have a question regarding loss function.Currently, I use softmax with Loss as my loss function for training. However, my problem requires calculating the L2 distance between predicted value and the labels.Is there any way to calculate this?Best regards,Atena
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
layer { name: "softmax" type: "Softmax" bottom: "score" top: "softmax"}layer { name: "hingleloss" type: "HingleLoss" bottom: "softmax" bottom: "label" top: "hingleloss" loss_weight: 0}layer { name: "loss" type: "SoftmaxWithLoss" bottom: "score" bottom: "label" top: "loss" loss_param { normalize: false }}
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/9945f03d-2576-4dbf-8c64-13bd9e4abb62%40googlegroups.com.
I0719 18:37:12.834614 9724 net.cpp:137] Memory required for data: 35389440I0719 18:37:12.83*** Check failure stack trace: ***
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/b9a66d68-eb2c-4342-b80f-00a5badafa05%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.