caffe编译prototxt文件时出现错误(SIGMOID CROSS) 5

I032115:34:28.46763318044layer_factory.hpp:77]CreatinglayercropI032115:34:28.46763318... I0321 15:34:28.467633 18044 layer_factory.hpp:77] Creating layer cropI0321 15:34:28.467633 18044 net.cpp:100] Creating Layer cropI0321 15:34:28.467633 18044 net.cpp:444] crop <- score-dsn6-upI0321 15:34:28.467633 18044 net.cpp:444] crop <- data_data_0_split_1I0321 15:34:28.467633 18044 net.cpp:418] crop -> upscore-dsn6I0321 15:34:28.467633 18044 net.cpp:150] Setting up cropI0321 15:34:28.467633 18044 net.cpp:157] Top shape: 1 1 300 400 (120000)I0321 15:34:28.467633 18044 net.cpp:165] Memory required for data: 424776080I0321 15:34:28.467633 18044 layer_factory.hpp:77] Creating layer upscore-dsn6_crop_0_splitI0321 15:34:28.467633 18044 net.cpp:100] Creating Layer upscore-dsn6_crop_0_splitI0321 15:34:28.483258 18044 net.cpp:444] upscore-dsn6_crop_0_split <- upscore-dsn6I0321 15:34:28.483258 18044 net.cpp:418] upscore-dsn6_crop_0_split -> upscore-dsn6_crop_0_split_0I0321 15:34:28.483258 18044 net.cpp:418] upscore-dsn6_crop_0_split -> upscore-dsn6_crop_0_split_1I0321 15:34:28.483258 18044 net.cpp:150] Setting up upscore-dsn6_crop_0_splitI0321 15:34:28.483258 18044 net.cpp:157] Top shape: 1 1 300 400 (120000)I0321 15:34:28.483258 18044 net.cpp:157] Top shape: 1 1 300 400 (120000)I0321 15:34:28.483258 18044 net.cpp:165] Memory required for data: 425736080I0321 15:34:28.483258 18044 layer_factory.hpp:77] Creating layer loss-dsn6I0321 15:34:28.483258 18044 net.cpp:100] Creating Layer loss-dsn6I0321 15:34:28.483258 18044 net.cpp:444] loss-dsn6 <- upscore-dsn6_crop_0_split_0I0321 15:34:28.483258 18044 net.cpp:444] loss-dsn6 <- label_data_1_split_0I0321 15:34:28.483258 18044 net.cpp:418] loss-dsn6 -> loss-dsn6F0321 15:34:28.483258 18044 sigmoid_cross_entropy_loss_layer.cpp:23] Check failed: bottom[0]->count() == bottom[1]->count() (120000 vs. 1) SIGMOID_CROSS_ENTROPY_LOSS layer inputs must have the same count.*** Check failure stack trace: ***这个不算太懂sigmoid这个函数还有这个错误究竟该如何去掉? 展开
 我来答
千坝唱地机0a
2019-03-21 · TA获得超过5941个赞
知道大有可为答主
回答量:5666
采纳率:83%
帮助的人:255万
展开全部
你确定你的caffe编译和test都过了?
估计是libprotobuf或者glog,或者gflag之类的库的问题。可能属于caffe的安装问题。
追问

我用的是DSS的源代码(网页链接

本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式