Adding 48-bit support for pix2pix

I’ve been experimenting with pix2pix and I’m literally loving it. This is such a great tool to create various image to image mappings.

I’ve currently made some modifications to get it to support 48-bit PNG support. This allows to represent 65536 values instead of the usual 256 values allowing for a higher resolution of data to be stored in an image. The network doesn’t really care because it all gets converted to float values anyway.

Hope this helps someone. I’ve forked the repo at: https://github.com/tharindu-mathew/pytorch-CycleGAN-and-pix2pix