A deep learning project to colorize grayscale comic images using a U-Net architecture.
├── API Key here/ # API key. You can borrow mine
├── Data/ # Data directory
│ ├── comic_dataset/ # Raw comic images
│ └── prepared_data/ # Preprocessed numpy arrays
├── Results/ # Generated result-images from the model
├── Src/ # the model architecture and generate results
└── Notebooks/ # Jupyter notebooks (both loading data and training)
git clone https://github.com/Sebastianrix/CNN_U-Net_Project
cd CNN_U-Net_Projectpython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtTo enable GPU training with TensorFlow:
- CUDA 11.8
- cuDNN 8.6
- Install CUDA 11.8: https://developer.nvidia.com/cuda-11-8-0-download-archive
- Download cuDNN 8.6: https://developer.nvidia.com/rdp/cudnn-download
- Copy the contents of cuDNN's
bin/,include/, andlib/folders into your CUDA installation. - Add the CUDA
bin/andlibnvvp/paths to your Windows System EnvironmentPATHvariable. - Download
zlibwapi.libif missing, and place it in your CUDAlib/directory.
jupyter notebook Notebooks/LoadComicData_rgb.ipynbjupyter notebook Notebooks/train_unet_rgb_v2.ipynbYou can swap to LAB or HSV versions by running other notebooks, but are correctly broken / partcially unfucntional.