DmitryUlyanov / texture_nets

Code for "Texture Networks: Feed-forward Synthesis of Textures and Stylized Images" paper.
Apache License 2.0
1.22k stars 217 forks source link

test.lua "table index is nil" #42

Closed fengbin8606 closed 8 years ago

fengbin8606 commented 8 years ago

root@ubuntu:/home/fengbin/texture2# th test.lua -input_image 11.jpg -model_t7 model.t7 -cpu /usr/local/bin/luajit: /usr/local/share/lua/5.1/torch/File.lua:361: table index is nil stack traceback: /usr/local/share/lua/5.1/torch/File.lua:361: in function 'readObject' /usr/local/share/lua/5.1/nn/Module.lua:154: in function 'read' /usr/local/share/lua/5.1/torch/File.lua:342: in function 'readObject' /usr/local/share/lua/5.1/torch/File.lua:391: in function 'load' test.lua:17: in main chunk [C]: in function 'dofile' /usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x0804d6d0

fengbin8606 commented 8 years ago

It is a platform problem. It should run on X64 platform.