824 MB
30 files
Updated about 1 month ago
Name
Size
example_outputs
LICENSE1.33 kB
xet
README.md1.3 kB
xet
colorization_deploy_v2_2026april.onnx129 MB
xet
demo.py1.73 kB
xet
model_conversion.py1.4 kB
xet
README.md

Colorization

Automatic colorization of grayscale images using a CNN trained on ImageNet. Based on the paper: Colorful Image Colorization by Richard Zhang, Phillip Isola, Alexei A. Efros (ECCV 2016).

The network takes the L channel of a LAB image as input and predicts the ab channels, which are then merged back with L to produce a full-color output.

Model Details

Usage

Python

python demo.py --model colorization_deploy_v2_2026april.onnx --image example_outputs/input_image.jpg --output example_outputs/output_image.png

Or import directly:

import cv2

net = cv2.dnn.readNet("colorization_deploy_v2_2026apr.onnx")
# see demo.py for full inference pipeline

License

See LICENSE — original model is released under BSD license by Richard Zhang.

References

Total size
824 MB
Files
30
Last updated
Jul 3
Pre-warmed CDN
US EU US EU

Contributors