How to use SigmoidCrossEntropyLoss in caffe for binary class problem? Can you give me a prototxt example?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You need your label
input to be either zero or one per training sample. other than that
layer {
name: "loss"
type: "SigmoidCrossEntropyLoss"
bottom: "predict1d"
bottom: "label"
top: "loss"
}