#Colorization By nilboy
A Tensorflow implementation of ECCV2016 paper(Colorful Image Colorization)
###Train
-
Download imagenet data and Extract to one directory named 'Imagenet'
-
link the Imagenet data directory to this project path
ln -s $Imagenet data/imagenet
python tools/create_imagenet_list.py
python tools/train.py -c conf/train.cfg
-
transform your training data to text_record file
-
calculate the training data prior-probs(reference to tools/create_prior_probs.py)
-
write your own train-configure file
-
train (python tools/train.py -c $your_configure_file)
###test demo
-
Download pretrained model(https://drive.google.com/file/d/0B-yiAeTLLamRWVVDQ1VmZ3BxWG8/view?usp=sharing)
mv color_model.ckpt models/model.ckpt
-
Test
python demo.py