princeton-vl / pose-hg-demo

Code to test and use the model from "Stacked Hourglass Networks for Human Pose Estimation"
BSD 3-Clause "New" or "Revised" License
316 stars 86 forks source link

about running demo #5

Closed JaHangirYin closed 5 years ago

JaHangirYin commented 7 years ago

Hi When I run qlua main.lua demo it gives some error Unable to connect X11 server (continuing with -nographics) qlua: cannot open in mode r at /home/jiahang/torch/pkg/torch/lib/TH/THDiskFile.c:668 stack traceback: [C]: at 0x7fd1a79d79c0 [C]: at 0x7fd19f92eac0 [C]: in function 'DiskFile' /home/jiahang/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load' main.lua:28: in main chunk Segmentation fault (core dumped)

I hope I can get your help. Thank you

anewell commented 7 years ago

It looks like maybe the model file isn't available in the path, did you download it and put in the right directory?

neherh commented 7 years ago

@anewell is correct, the file 'umich-stacked-hourglass.t7' must in the 'pose-hg-demo' directory (or the directory the main.lua file is in).

larklili commented 6 years ago

i have the same problem,have you solved yet?could you please tell me the solution,thanks~

neherh commented 6 years ago

Yes. To solve the problem put the .t7 into the same directory as main.lua. @larklili have you tried this?

larklili commented 6 years ago

@neherh yeah!i have solved yet.Thanks a lot:)

larklili commented 6 years ago

@neherh Do you have run th main.lua predict-[valid or test]?would you please tell me how to solve with .h5 file.I dont know how to get result from it.:)thanks!