This repository includes the utilities needed to create and deploy a Convolutional Neural Network that is able to colorize black and white images. This task is being carried out as part of a study in CNNs and should be treated as such.
The objective of this project is to train a model that given the l channel of an image to predict its a and b channels and create a demo - proof of consept web app.
- Clone repo
$ git clone [email protected]:DimitrisPatiniotis/Image-Colorization.git
- Create a virtual environment and install all requirements listed in requirements.txt
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
To train and deploy the estimator localy you have to follow these steps:
- Run Processes/main.py and save your model (you can modify the code to give the saved model a name)
$ cd Processes
$ python3 main.py
- Deploy your model using the following code
$ cd ../
$ python3 -m streamlit run deployment.py
Make sure that the model names given in deployment.py are the same you gave in step 1 of this section.
You can test our deployment and final model (details can be found in our final report) by visiting www.colo-rize.eu