Hi,
I am a student who is working on a course project to train CNNs on a custom image dataset I have. I am seeking some examples of doing the following operations in python (I cannot find any such examples either in codebase or the documentation):
1)Given a 4D numpy array (the dimensions of the array are # images, height, width, # channels) of image data and 1D array of associated labels, output a lmdb directory suitable for training by caffe (like the mnist_train_lmdb directory generated in the mnist tutorial).
2)In python, train the same 4D numpy array of training images and 1D array of training labels by providing a pair of network and solver configuration files (like the lenet.prototxt and lenet_solver.prototxt files in the mnist tutorial).
I would appreciate any help on this.
Thanks,
Jason Liang