【发布时间】:2018-06-25 06:18:24
【问题描述】:
两个问题:
1.对于MultinomialLogisticLoss,标签应该从1开始,但是caffe文档说应该从0开始。http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1SoftmaxWithLossLayer.html
2.score(bottom[0]) 的形状为 NCH*W,Label(bottom[1]) 为 MultinomialLogisticLoss 的形状为 N*1*1*1。 在segmentation task中,label shape和bottom[0]一样,也就是N*1*H*W,但是caffe在我的测试中没有报错。
虽然我已经阅读了一些文档和分段项目代码,但这两个问题让我感到困惑。
【问题讨论】:
标签: neural-network computer-vision deep-learning caffe image-segmentation