satoshiiizuka / siggraph2016_colorization

Code for the paper 'Let there be Color!: Joint End-to-end Learning of Global and Local Image Priors for Automatic Image Colorization with Simultaneous Classification'.
http://hi.cs.waseda.ac.jp/~iizuka/projects/colorization/
Other
2.16k stars 302 forks source link

libpng: version warning #15

Closed tomkyle closed 7 years ago

tomkyle commented 7 years ago

Hi, Can't run th colorize.lua due to this warning. Anyone an idea how to get it working with newer libpng?

libpng warning: Application built with libpng-1.5.18 but running with 1.6.26
/Users/me/torch/install/bin/luajit: /Users/me/torch/install/share/lua/5.1/image/init.lua:156: [read_png] png_create_read_struct failed
stack traceback:
    [C]: in function 'load'
    /Users/me/torch/install/share/lua/5.1/image/init.lua:156: in function 'loader'
    /Users/me/torch/install/share/lua/5.1/image/init.lua:373: in function 'load'
    colorize.lua:38: in main chunk
    [C]: in function 'dofile'
    ...me/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
    [C]: at 0x0109bcad00

(OSX 10.11.6, 3.5GHz/32GB, fresh homebrew packages)

nagadomi commented 7 years ago

That is a problem of your torch env. You should recompile torch. Or, reinstalling image package might fix this error.

luarocks install image
bobbens commented 7 years ago

As @nagadomi mentions this is an issue related to your torch install and not this repository. Please try double checking your installation and if problem persist, file a bug report at the torch repository. Closing.