RGB-to-LAB and LAB-to-RGB color-space conversion Tested on TensorFlow 1.x (Python 2.7) and TensorFlow 2.0 (Python 3.6) Original image RGB-to-LAB-to-RGB Usage Test script: test.py (use the tf_v1 = True/False for tf 1.x/2.0) Color-space conversion libraries: rgb_lab_formulation.py Acknowledgements for some functionalities https://github.com/affinelayer/pix2pix-tensorflow/blob/master/pix2pix.py https://github.com/torch/image/blob/9f65c30167b2048ecbe8b7befdc6b2d6d12baee9/generic/image.c https://github.com/cameronfabbri/Colorizing-Images-Using-Adversarial-Networks