Could you please explain why we should write data to buffer like this? I fail to see the advantage of doing so.
Thanks
My best guess is, that this is one valid approach to create PIL.Images
using the lmdb
format of the LSUN dataset.
I think you are right. Thanks!