Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

siggraph2016_colorization TORCH7 #461

Open
Dipendra7 opened this issue Jul 27, 2018 · 3 comments
Open

siggraph2016_colorization TORCH7 #461

Dipendra7 opened this issue Jul 27, 2018 · 3 comments

Comments

@Dipendra7
Copy link

when i was using the usage of ImageNet Model i got some errors and i dont know how to solve this problem

/siggraph2016_colorization$ th colorize.lua ansel_colorado_1941.png output_image.png colornet_imagenet.t7
/home/dipendra/torch/install/bin/luajit: /home/dipendra/torch/install/share/lua/5.1/image/init.lua:177: [write_png_file] File output_image.png could not be opened for writing
stack traceback:
[C]: in function 'save'
/home/dipendra/torch/install/share/lua/5.1/image/init.lua:177: in function 'saver'
/home/dipendra/torch/install/share/lua/5.1/image/init.lua:457: in function 'save'
colorize.lua:48: in main chunk
[C]: in function 'dofile'
...ndra/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x56354bc79560

@htoyryla
Copy link

Are you sure you posted to the right project. I don't find anything called colorize.lua here.

@Dipendra7
Copy link
Author

I have downloaded all the file and as well as ImageNet model when
Usage is:
th colorize.lua <input_image> <output_image> colornet_imagenet.t7
and i got this errors
dipendra@dipendra-VirtualBox:~/siggraph2016_colorization$ th colorize.lua ansel_colorado_1941.png output_image.png colornet_imagenet.t7
/home/dipendra/torch/install/bin/luajit: /home/dipendra/torch/install/share/lua/5.1/image/init.lua:177: [write_png_file] File output_image.png could not be opened for writing
stack traceback:
[C]: in function 'save'
/home/dipendra/torch/install/share/lua/5.1/image/init.lua:177: in function 'saver'
/home/dipendra/torch/install/share/lua/5.1/image/init.lua:457: in function 'save'
colorize.lua:48: in main chunk
[C]: in function 'dofile'
...ndra/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x56354bc79560

@htoyryla
Copy link

But this is not siggraph2016_colorization, this is neural_style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants