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

Ubuntu 12.04 #6

Closed fyngyrz closed 8 years ago

fyngyrz commented 8 years ago

So. Any suggestions for me?

My suggestion for you is that you install this package on a fresh machine and determine what (rest of) the dependencies are, then document the full installation process.

bobbens commented 8 years ago

I would recommend at least Ubuntu 14.04. Please follow the instructions on http://torch.ch/docs/getting-started.html for getting torch installed (which should install all the required dependencies). I have simplified the README a bit to point to this resource.

fyngyrz commented 8 years ago

If you have minimum system requirements, you should state them up front. Otherwise, you may be the cause of expending people's time and effort for no worthy result.

fyngyrz commented 8 years ago

I have installed torch. It is unable to load the t7 file. I have changed the t7 file to an explicit path, and it continues to fail to load it. I have 6 gigs of main memory. Most of it is free. Hundreds of gigs of free space on the HD. I get the following (non-)results:

th colorize.lua ansel_colorado_1941.png out.png /home/ben/torch/install/bin/luajit: /home/ben/torch/install/share/lua/5.1/torch/File.lua:370: table index is nil stack traceback: /home/ben/torch/install/share/lua/5.1/torch/File.lua:370: in function 'readObject' /home/ben/torch/install/share/lua/5.1/nn/Module.lua:158: in function 'read' /home/ben/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:353: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:353: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/nngraph/gmodule.lua:461: in function 'read' /home/ben/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/ben/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load' colorize.lua:23: in main chunk [C]: in function 'dofile' .../ben/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x0804d540

bobbens commented 8 years ago

Either your colornet.t7 is corrupted or you are running out of memory. I quickly benchmarked it on one of our development systems and the peak RAM usage should be around 2 GiB for the demo in the README. Closing this now as the new error is the same as #7 , use that issue if you continue to have problems.