input: "pair_data"
input_dim: 1input_dim: 2input_dim: 28input_dim: 28input: "sim"input_dim: 1input_dim: 1input_dim: 1input_dim: 1
caffe.io.load_image(IMAGE_FILE)
this function only one parameter, how can I input two image file?
thank you!
Everal
Well it's easy, you just define multiple input, like this:
forward_all(pair_data=mypair, sim=mysim)
net = caffe.Classifier(.....)
prediction = net.predict([input_image])
When you use your network with forward, just provide all the inputs like named arguments:
I am trying to test my network on new data, below is the part where I define data in my deploy.prototxt file
data is the RGB file and modaldata is a modal image of the same file (such as depth). Using a python script I transform both of the image data, there is no error during transforming "data" however I get an error while transforming the "modaldata" at this line:
And the error I get is:
|