A simple Conditional GAN to color black and white images
A simple Conditional GAN implementation to colour black and white images using deep learning and pytorch. In the paper Image-to-Image Translation with Conditional Adversarial Networks, many image to image translation tasks were proposed with colourising black and white images one of them. Some of the key concepts used in the paper were:
The results shown here the outputs of the generator after the whole training process:
| |
| |
| |
| |
| |
make sure python == 3.6 or above is installed in your system
download and unzip the repository
open command line and change the directory to Colorizer
pip install -r requirements.txt
streamlit run streamlitApp.py
Install docker from here
download and unzip the repository
open command line and change the directory to Colorizer
build the image using:
docker build -t bwtocolor:api -f Dockerfile .
run the containerized app using:
docker run -p 8501:8501 bwtocolor:api