richzhang / colorization

Automatic colorization using deep neural networks. "Colorful Image Colorization." In ECCV, 2016.
http://richzhang.github.io/colorization/
BSD 2-Clause "Simplified" License
3.35k stars 928 forks source link

This division returns an array of 1s in my case. Is this to be expected? #46

Open preslavrachev opened 6 years ago

preslavrachev commented 6 years ago

https://github.com/richzhang/colorization/blob/ab397292a1c9f141f118ce815d2598082ffeba3f/interactive-deep-colorization/caffe_files/color_quantization.py#L30

richzhang commented 6 years ago

Hmm, that doesn't seem right. Was the image all the same color?