insert_splits.cpp Unknown blob input label to layer 1 && questions about Deploy.prototxt

2,795 views
Skip to first unread message

Pan.H.BestSonny

unread,
Oct 23, 2014, 9:55:07 AM10/23/14
to caffe...@googlegroups.com
What causes this problem.The net just works.But when I initialize the net with python wrapper.
It just tells me this.
And also,I want to know why we use Deploy.prototxt.It only changes in the data layer,why we don't use the prototxt that trainning the model 

César Salgado

unread,
Nov 6, 2014, 2:56:10 PM11/6/14
to caffe...@googlegroups.com
Make sure you delete the datalayer and put something like that in the place:

input: "data"
input_dim: 10
input_dim: 3
input_dim: 227
input_dim: 227

Also change the SOFTMAX_LOSS layer by something like this:

layers {
  name: "prob"
  type: SOFTMAX
  bottom: "fc8"
  top: "prob"
}

You probably have "bottom: "label"" somewhere in your deploy.prototxt.
Reply all
Reply to author
Forward
0 new messages