Hello,
My input images have 3 channels RGB however I want to process only two channels R and G. I do not need B.
I use Slice layer to separate the data blob into three blobs: red, green, blue
layer {
name: "sliceIm"
type: "Slice"
bottom: "data"
top:
"red"
top: "green"
top: "blue"
slice_param {
slice_point: 1
slice_point: 2
axis: 1
}
}
Only red and green blobs are input to the next layers.
When I trained the network it only returned a series of: Test net output #(iteration number): blue = -1.58751 and finally run out of memory.
Can you please advice how I can handle this situation: How to make the network not use the redundant blob "blue"?
Do I have to come back and reprocess the input data so that it has only 2 channels before creating LMDB file? Is there any faster way to handle this situation?
Thank you/