Closed lucheng07082221 closed 6 years ago
Hi, can you paste the command and screen shot of the result?
Hi,my error is:
/home/lc/torch/install/bin/luajit: /home/lc/torch/install/share/lua/5.1/trepl/init.lua:389: module 'hdf5' not found:No LuaRocks module found for hdf5
no field package.preload['hdf5']
no file '/home/lc/.luarocks/share/lua/5.1/hdf5.lua'
no file '/home/lc/.luarocks/share/lua/5.1/hdf5/init.lua'
no file '/home/lc/torch/install/share/lua/5.1/hdf5.lua'
no file '/home/lc/torch/install/share/lua/5.1/hdf5/init.lua'
no file './hdf5.lua'
no file '/home/lc/torch/install/share/luajit-2.1.0-beta1/hdf5.lua'
no file '/usr/local/share/lua/5.1/hdf5.lua'
no file '/usr/local/share/lua/5.1/hdf5/init.lua'
no file '/home/lc/.luarocks/lib/lua/5.1/hdf5.so'
no file '/home/lc/torch/install/lib/lua/5.1/hdf5.so'
no file '/home/lc/torch/install/lib/hdf5.so'
no file './hdf5.so'
no file '/usr/local/lib/lua/5.1/hdf5.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/lc/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
/home/lc/Downloads/AlphaPose/predict/util.lua:7: in main chunk
[C]: in function 'dofile'
main-alpha-pose.lua:7: in main chunk
[C]: in function 'dofile'
...e/lc/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
Traceback (most recent call last):
File "parametric-pose-nms-MPII.py", line 256, in
@Fang-Haoshu thank you for your reply. I have solved this problem, because i forgot to install hdf5
I see. Great!
hdf5 installation steps:
sudo apt-get install libhdf5-serial-dev hdf5-tools
luarocks install hdf5
how to install hdf5, when i use "luarocks install hdf5",
Installing https://luarocks.org/hdf5-2.0.0-1.src.rock Warning: variable CFLAGS was not passed in build_variables make[1]: Entering directory '/tmp/luarocks_hdf5-2.0.0-1-U02nm7/lua-hdf5/gcc-lua' make[2]: Entering directory '/tmp/luarocks_hdf5-2.0.0-1-U02nm7/lua-hdf5/gcc-lua/gcc' gcclua-config.h:1:24: fatal error: gcc-plugin.h: No such file or directory compilation terminated. gcc -c -o gcclua.o -I/usr/lib/gcc/x86_64-linux-gnu/5/plugin/include -fPIC -O2 -Wall -Wformat-security -I/usr/include/lua5.2 gcclua.c gcclua.c:7:24: fatal error: gcc-plugin.h: No such file or directory compilation terminated. Makefile:29: recipe for target 'gcclua.o' failed make[2]: [gcclua.o] Error 1 make[2]: Leaving directory '/tmp/luarocks_hdf5-2.0.0-1-U02nm7/lua-hdf5/gcc-lua/gcc' Makefile:38: recipe for target 'gcc' failed make[1]: [gcc] Error 2 make[1]: Leaving directory '/tmp/luarocks_hdf5-2.0.0-1-U02nm7/lua-hdf5/gcc-lua' Makefile:44: recipe for target 'gcc-lua' failed make: *** [gcc-lua] Error 2
Error: Build error: Failed building.
@Fang-Haoshu @lucheng07082221
this file(alpha-pose-results-forvis.json) can not find