Giter Club home page Giter Club logo

pose-hg-demo's People

Contributors

anewell avatar anibali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pose-hg-demo's Issues

error running the demo code on nvidia-docker

I was trying to run the demo code on a nvidia-docker and I'm getting the following error

# qlua main.lua demo
Unable to connect X11 server (continuing with -nographics)
qlua: not loading module qtgui (running with -nographics)...............................]  ETA: 5s714ms | Step: 952ms  
qlua: qtwidget window functions will not be usable (running with -nographics)
qtwidget window functions will not be usable (running with -nographics)
qlua: not loading module qtuiloader (running with -nographics)
qlua: /root/torch/install/share/lua/5.1/image/init.lua:1647: attempt to index global 'qtuiloader' (a nil value)
stack traceback:
[C]: in function '__index'
/root/torch/install/share/lua/5.1/image/init.lua:1647: in function 'window'
/root/torch/install/share/lua/5.1/image/init.lua:1598: in function 'display'
main.lua:74: in main chunk
Segmentation fault (core dumped)

Can anyone help me out with this?

Thanks in Advance!!!

A question about the input image

Hey,I read your paper and implemented it using tensorflow,and after train,I have a question.That is,if I don't know the scale and center of an image(the person maybe in the center,maybe not),what if I just resize a input image to 256x256 directly without scale and center information,and then do prediction?Would the result be bad? Do you have had a try?And if so,is there anyway to get a good result without scale and center?

MPII images cropping

Hi,

You mentioned that you adjust the center and scale annotation in MPII dataset.
Would you mind to describe more details of the adjustment in addition to moving down the center?

Thanks!

A quarter of offest?

In the original paper, there goes: "the prediction is offset by a quarter of a pixel in the direction of its next highest neighbor before transforming back to the original coordinate space of the image"

Is it implemented in this project? Looking forward for replying. Thank you!

Error about the HDF5 version

Hello, I have some problems about the code ,when just ran the qlua main.lua demo,
and I think my HDF5 is new enough,which version should I use.
qlua main.lua demo qlua: /home/zakeyao/torch/install/share/lua/5.1/hdf5/ffi.lua:71: Unsupported HDF5 version: 1.10.1 stack traceback: [C]: at 0x7ff9f2856f50 [C]: in function 'error' /home/zakeyao/torch/install/share/lua/5.1/hdf5/ffi.lua:71: in function 'checkHDF5Version' /home/zakeyao/torch/install/share/lua/5.1/hdf5/ffi.lua:78: in main chunk [C]: in function 'dofile' /home/zakeyao/torch/install/share/lua/5.1/torch/init.lua:54: in function 'include' /home/zakeyao/torch/install/share/lua/5.1/hdf5/init.lua:29: in main chunk [C]: in function 'require' /home/zakeyao/pose-hg-demo-master/util.lua:7: in main chunk [C]: in function 'dofile' main.lua:2: in main chunk

Is .h5 pre-trained model available ?

Hello,
Thank you for sharing code
Is there .h5 pre-trained model of the Stacked Hourglass?
Or
Do you have any clue how should convert .t7 model to .h5 model in an easy way?
and also it will be very useful get an answer from the community.
Thanks in advance...

accuracy in paper

Hi @anewell ,
Thanks for your paper, I have seen the paper results total accuracy PCKH @0.5 as 90.9 but when I compute the accuracy from prediction you provide in valid-ours.h5 it becomes about 88.0

What could cause this difference?
Thanks,

about running demo

Hi
When I run qlua main.lua demo it gives some error
Unable to connect X11 server (continuing with -nographics)
qlua: cannot open <umich-stacked-hourglass.t7> 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

About Testing my own cropped images

Thanks for sharing your code, It's an amazing work! But I'm a little confused.
Suppose My testing images are already cropped , and there is only one person that occupies the whole image. Thus I don't have the scale and center mentioned in your code, I only have the cropped images.
It seems that the input image of the model has been cropped, and the shape of the output is 1X16X64X64. How can I get the pose point in My cropped testing images?

Torch max function update

Hi Alejandro,

I guess you updated the training code to work with the updated 'max' function which doesn't return index anymore. (with this commit)

But it doesn't seem to be updated in this demo repository. I haven't ran it myself, I just realized looking at the code.

About real-time

Issue summary

Is it possible to input videos as real-time detection? If can, how about its FPS?

discrepancy between model architecture in .t7 model and in the demo code

Hi,
I am trying to reproduce the your demo code in tensorflow using the trained .t7 model.
But I guess the model in the demo code( residual.lua & stacked-hourglass-model.lua ) and the model used to trained umich-stacked-hourglass.t7 is different.

Could you provide the model architecture details used to train umich-stacked-hourglass.t7?

Thank you!

Demo results

Hi,

I've run your demo code and got pretty weird results:

method Head Knee Ankle Shoulder Elbow Wrist Hip
valid-example 96.52 78.60 73.52 93.51 85.18 79.17 84.14
valid-ours 96.67 83.10 79.07 94.68 88.54 83.38 87.49

I downloaded your pre-trained model and MPII dataset and followed the instructions. Could you explain please why results are much worse than in #1 ? Have you updated this model since that time ?

Thanks!

some issues about running demo

when I run qlua main.lua demo
there are some errors,like:
cannot open <umich-stacked-hourglass.t7> in mode r at /home/master-grade2-1/linli/torch/torch/pkg/torch/lib/TH/THDiskFile.c:673
stack traceback:
[C]: at 0x7fca76426750
[C]: in function 'DiskFile'
...1/linli/torch/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load'
main.lua:28: in main chunk
[C]: in function 'dofile'
...orch/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670

I'm so pleasure to get your help!Thanks

Question about center & scale

HI:
in your code:
inputImg = crop(img, center, scale, rot, res)
how should i set the value of "center" and "scale" if i know the bounding box of a single person in img?
thx~

error running demo

HI there, I may have done something wrong when trying to install and run the code, but I think I followed all requirements, and am getting the following error when trying to execute the demo.

qlua main.lua demo

qlua: ...h/install/share/lua/5.1/nn/SpatialBatchNormalization.lua:83: attempt to index field 'running_std' (a nil value)

Am I missing a library? Thanks for the help!

demo error!Error: unable to locate HDF5 header file

thanks for your code!\(^o^)/~ It is so helpful!
when i run $ qlua main.lua demo
,i got errors .could you please give me some advice?

sun@sunwin:~/0newcodedown/pose-hg-demo-master$ qlua main.lua demo
qlua: /home/sun/torch/install/share/lua/5.1/hdf5/ffi.lua:42: Error: unable to locate HDF5 header file at /usr/local/HDF_Group/HDF5/1.8.18/include;/hdf5.h
stack traceback:
[C]: at 0x7fa4d28d1f50
[C]: in function 'error'
/home/sun/torch/install/share/lua/5.1/hdf5/ffi.lua:42: in function 'loadHDF5Header'
/home/sun/torch/install/share/lua/5.1/hdf5/ffi.lua:60: in main chunk
[C]: in function 'dofile'
/home/sun/torch/install/share/lua/5.1/torch/init.lua:54: in function 'include'
/home/sun/torch/install/share/lua/5.1/hdf5/init.lua:29: in main chunk
[C]: in function 'require'
/home/sun/0newcodedown/pose-hg-demo-master/util.lua:7: in main chunk
[C]: in function 'dofile'
main.lua:2: in main chunk
i have already installed hdf5 1.8.18 ,my system is ubuntu16.04 cuda8.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.