I don't have GPU so I didn't install cudnn, but when I run the example code:
th test.lua -content input/content/cornell.jpg -style input/style/woman_with_hat_matisse.jpg
It returns errors:
/Users/Bill/torch/install/bin/luajit: /Users/Bill/torch/install/share/lua/5.1/trepl/init.lua:389: module 'cudnn' not found:No LuaRocks module found for cudnn
no field package.preload['cudnn']
no file '/Users/Bill/.luarocks/share/lua/5.1/cudnn.lua'
no file '/Users/Bill/.luarocks/share/lua/5.1/cudnn/init.lua'
no file '/Users/Bill/torch/install/share/lua/5.1/cudnn.lua'
no file '/Users/Bill/torch/install/share/lua/5.1/cudnn/init.lua'
no file './cudnn.lua'
no file '/Users/Bill/torch/install/share/luajit-2.1.0-beta1/cudnn.lua'
no file '/usr/local/share/lua/5.1/cudnn.lua'
no file '/usr/local/share/lua/5.1/cudnn/init.lua'
no file '/Users/Bill/.luarocks/lib/lua/5.1/cudnn.so'
no file '/Users/Bill/torch/install/lib/lua/5.1/cudnn.so'
no file '/Users/Bill/torch/install/lib/cudnn.dylib'
no file './cudnn.so'
no file '/usr/local/lib/lua/5.1/cudnn.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/Users/Bill/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
test.lua:41: in main chunk
[C]: in function 'dofile'
...Bill/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x0108224eb0
I don't have GPU so I didn't install cudnn, but when I run the example code:
th test.lua -content input/content/cornell.jpg -style input/style/woman_with_hat_matisse.jpg
It returns errors: