Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
colorize_image.py
colorize_video.py
get_models.sh
pexels-photo-1038935.jpeg

README.md

  1. First step is to download the models:

In linux you can download the model by running this script:

sh get_models.sh

Windows users can download the models here: https://raw.githubusercontent.com/richzhang/colorization/master/colorization/models/colorization_deploy_v2.prototxt http://eecs.berkeley.edu/~rich.zhang/projects/2016_colorization/files/demo_v2/colorization_release_v2.caffemodel https://github.com/richzhang/colorization/raw/master/colorization/resources/pts_in_hull.npy

  1. Now, you can colorize your images using this command:

    python colorize_image.py --prototxt colorization_deploy_v2.prototxt --caffemodel colorization_release_v2.caffemodel -- kernel pts_in_hull.npy --input input.png

You can’t perform that action at this time.