Giter Club home page Giter Club logo

Comments (4)

garyzhao avatar garyzhao commented on August 23, 2024

Hi @duckduck-sys ,

It takes 2D input poses in H36M format.

You can use an original stacked hourglass model and convert its 2d predictions to H36M format by https://github.com/garyzhao/SemGCN/blob/master/data/prepare_data_2d_h36m_sh.py#L56

Best,
Long

from semgcn.

duckduck-sys avatar duckduck-sys commented on August 23, 2024

@garyzhao Thanks for the quick response!

So just to confirm, the correct inference process is as follows:

Step 0: Use a 2D pose estimation network such as Stacked Hourglass to generate a 2D pose in MPII format.
Step 1: Convert 2D pose from MPII format to H36M format using approach described here
Step 2: Pre-process the 2D input pose in some way.
Step 3: Use the pre-processed 2D pose in H36M format as input to the ckpt_semgcn_nonlocal_sh.pth.tar model.
Step 4: Output is a 3D pose in H36M format, visualize it.

Is my understanding correct? And is there any pre-processing involved in step 2, i.e. should the 2D pose be normalized in the pose bounding-box or?

from semgcn.

garyzhao avatar garyzhao commented on August 23, 2024

Hi @duckduck-sys ,

Yep, it's correct.

2D poses are scaled according to the image resolution and normalized to [-1, 1].

See https://github.com/garyzhao/SemGCN/blob/master/common/data_utils.py#L17

Best,
Long

from semgcn.

duckduck-sys avatar duckduck-sys commented on August 23, 2024

Thank you @garyzhao for the instructions. The 3D output i get looks weird, but i think it's related to the pre-processing, so I will raise the question in a new post.

from semgcn.

Related Issues (20)

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.