Read and write LMDBs using Caffe and Python. The methods read and write are compatible with Caffe’s LMDB format as long as the images are read using OpenCV (i.e. in BGR) format. Integer labels as well as 8-bit and float images are supported.
In the last couple of months, I had to work with Caffe on several occasions. In this article, I want to share some tools and examples for Caffe’s Python interface, called pyCaffe, and useful links and resources. The discussed tools and examples are available on GitHub