Instead of 'PNG', can we use 'hdf5' or 'LMDB' format images as input?

Hi there,

I am working with IM2LATEX v1.0.0rc1 model, OpenNMT-py. Till now, I was using “.png” as input image format. But now I am planning to move larger datasets, about 10M. I thought it would be better if I switch to “hdf5” or “LMDB” format to save images. May I request you to tell me will OpenNMT-py model be able to take these input formatted images? If yes, then do I need to modify the code or should I provide some specific argument while preprocessing?

Any help will be appreciated. I will be grateful to you!

Thank you!