Awesome
#Colorization By nilboy
A Tensorflow implementation of ECCV2016 paper(Colorful Image Colorization)
###Train
Download imagenet data
-
Download imagenet data and Extract to one directory named 'Imagenet'
-
link the Imagenet data directory to this project path
ln -s $Imagenet data/imagenet
convert the imagenet data to text_record file
python tools/create_imagenet_list.py
train
python tools/train.py -c conf/train.cfg
Train your customer data
-
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(<a>https://drive.google.com/file/d/0B-yiAeTLLamRWVVDQ1VmZ3BxWG8/view?usp=sharing</a>)
mv color_model.ckpt models/model.ckpt
-
Test
python demo.py