All Projects → titu1994 → keras-mobile-colorizer

titu1994 / keras-mobile-colorizer

Licence: other
U-Net Model conditioned with MobileNet features for Grayscale -> Color mapping

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to keras-mobile-colorizer

awesome print.cr
It dreams about becoming ruby's awesome_print for crystal-lang, under light development.
Stars: ✭ 13 (-50%)
Mutual labels:  colorization
LightNet
LightNet: Light-weight Networks for Semantic Image Segmentation (Cityscapes and Mapillary Vistas Dataset)
Stars: ✭ 710 (+2630.77%)
Mutual labels:  mobilenet
yolo3 tensorflow
yolo3 implement by tensorflow, including mobilenet_v1, mobilenet_v2
Stars: ✭ 48 (+84.62%)
Mutual labels:  mobilenet
AutoLabelImg
A self automatically labeling tool
Stars: ✭ 67 (+157.69%)
Mutual labels:  mobilenet
iconcolor
Automatic icon colorization using deep convolutional neural networks. "Towards Icon Design Using Machine Learning." In Stanford CS229, Fall 2017.
Stars: ✭ 35 (+34.62%)
Mutual labels:  colorization
Awesome-Deep-Colorization
Selected Paper List of Deep Model based Image Colorization
Stars: ✭ 62 (+138.46%)
Mutual labels:  colorization
pedestrian recognition
A simple human recognition api for re-ID usage, power by paper https://arxiv.org/abs/1703.07737
Stars: ✭ 29 (+11.54%)
Mutual labels:  mobilenet
PaintsTensorFlow
line drawing colorization using TensorFlow
Stars: ✭ 47 (+80.77%)
Mutual labels:  colorization
Fast Stacked Hourglass Network OpenVino
A fast stacked hourglass network for human pose estimation on OpenVino
Stars: ✭ 52 (+100%)
Mutual labels:  mobilenet
cifar-tensorflow
No description or website provided.
Stars: ✭ 18 (-30.77%)
Mutual labels:  mobilenet
MobileNetV3-TF
Tensorflow implementation for two new MobileNetV3 models!
Stars: ✭ 25 (-3.85%)
Mutual labels:  mobilenet
MetalColor
Automatic Real Time Colorization with CNN on iOS
Stars: ✭ 69 (+165.38%)
Mutual labels:  colorization
limner
Limner colorizes and transforms CLI outputs.
Stars: ✭ 99 (+280.77%)
Mutual labels:  colorization
Dog-or-Cat-TensorflowSharp-Example
An example for TensorflowSharp - classify an image as a dog or cat.
Stars: ✭ 15 (-42.31%)
Mutual labels:  mobilenet
Deep-Exemplar-based-Video-Colorization
The source code of CVPR 2019 paper "Deep Exemplar-based Video Colorization".
Stars: ✭ 180 (+592.31%)
Mutual labels:  colorization
video-colorization
Applying the machine learning tool "DeOldify" on videos, frame by frame.
Stars: ✭ 15 (-42.31%)
Mutual labels:  colorization
zsh-ls-colors
A zsh library to use LS_COLORS
Stars: ✭ 23 (-11.54%)
Mutual labels:  colorization
video coloriser
Pytorch Convolutional Neural Net and GAN based video coloriser that converts black and white video to colorised video.
Stars: ✭ 29 (+11.54%)
Mutual labels:  colorization
YoloV3-ncnn-Raspberry-Pi-4
MobileNetV2_YOLOV3 for ncnn framework
Stars: ✭ 20 (-23.08%)
Mutual labels:  mobilenet
hand detection
A Light CNN based Method for Hand Detection and Orientation Estimation
Stars: ✭ 116 (+346.15%)
Mutual labels:  mobilenet

Keras Mobile Colorizer

Utilizes a U-Net inspired model conditioned on MobileNet class features to generate a mapping from Grayscale to Color image. Based on the work https://github.com/baldassarreFe/deep-koalarization

Uses MobileNets for memory efficiency in comparison to Inception-ResNet-V2 so that training can be done on a single GPU (of 4 GB size minimum).

Installation

Open the data_utils.py script and edit the TRAIN_IMAGE_PATH and VALIDATION_IMAGE_PATH to point to directories of images. There must be at least 1 folder pointed to by each of those paths.

Then run data_utils.py to construct the required folders and the TFRecords which will store the training data.

This is necessary to drastically improve the speed of training by extracting all the MobileNet features from each training image before training. The major bottleneck during training is the extraction of image features from MobileNet at runtime.

Training & Evaluation

  • To train the model : Use the train_mobilenet.py script. Make sure to verify the batch size and how many images are in the TF record before beginning training.

  • To evaluate the model : Use the evaluate_mobilenet.py script. Make sure that the path to the validation images is provided in data_utils.py

Evaluation

There are a lot of splotchy reddish-brown patches. This may probably be because training was done using only 60k images from MS-COCO dataset, not the full ImageNet dataset.

Requirements

  • Keras 2.0.8+
  • Numpy
  • Scikit-image
  • Tensorflow (GPU is a must for training, CPU is fine for inference)

Install via pip install -r "requirements.txt"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].