caffe Python API 之SoftmaxWithLoss

net.loss = caffe.layers.SoftmaxWithLoss(net.fc3, net.label)
输出:
layer {
  name: "loss"
  type: "SoftmaxWithLoss"
  bottom: "fc3"
  bottom: "label"
  top: "loss"
}

 

posted @ 2018-11-06 00:13  HOU_JUN  阅读(649)  评论(0编辑  收藏  举报