Please view the Caffe: Things to know to train your network file for more info. Data is as important as the algorithm and the model and is to be preprocessed to one of the formats recognized by Caffe.