Antonio,
To generate your own data, I suggest:
https://github.com/BVLC/caffe/issues/747Basically, the steps are: get all your images, label them and split them up into train/testing (e.g., using Python scripts you create), then use Caffe's tool to convert it to lmbd format. Sadly there isn't much documentation about this, but the code itself, convert_imageset.cpp has comments in it and some sample usage.
-Daniel