I am trying to build a deep learning model for Saliency analysis using caffe (I am using the python wrapper). But I am unable to understand how to generate the lmdb data structure for this purpose. I have gone through the Imagenet and mnist examples and I understand that I should generate labels in the format
my_test_dir/picture-foo.jpg 0
But in my case, I will be labeling each pixel with 0 or 1 indicating whether that pixel is salient or not. That won't be a single label for an image.
How to generate lmdb files for a per pixel based labeling ?
caffe
andlmdb
supports only a single label per image (suitable for classification tasks). However, you can use HDF5 interface. See this answer. – Horseweed