we create a image data to train the caffe net . all the image are converted to gray jpeg format. In deploy stage , we find we should set channel =3 (inputdim :1 , 3, 100, 100) to get correct shape.
It seems that although we use gray jpg in training , the caffe net still treat the data as color image( channel =3) , is it possible to set the input data as gray image ? How?