ffi.lua:56 expected align(#) on line 579
See original GitHub issueWhen run command
th prepro_img_vgg16.lua -imageRoot ../image_root -gpuid 0
there are errors:
/home/denniswu/torch/install/bin/lua: .../denniswu/torch/install/share/lua/5.1/trepl/init.lua:389: .../denniswu/torch/install/share/lua/5.1/trepl/init.lua:389: ...me/denniswu/torch/install/share/lua/5.1/hdf5/ffi.lua:56: expected align(#) on line 579 stack traceback: [C]: in function 'error' .../denniswu/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' prepro_img_vgg16.lua:3: in main chunk [C]: in function 'dofile' .../torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
has anyone met this problem?
thanks in advance.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
ffi.lua:56: expected align(#) on line 579 #79 - GitHub
I have torch with Lua 5.2 installed on ubuntu 16.04. When I use require 'hdf5' I have got error.
Read more >A brand new website interface for an even better experience!
ffi.lua:56: expected align(#) on line 579.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
torch-hdf5 with lua 5.2 and gcc 4.8 can work. I think it has a relationship with version of gcc
torch-hdf5 with lua 5.1 and gcc 4.8 / 4.9 (instead of gcc 5.4) should work. Could you give that a shot?