Comments (4)
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.
@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.
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.
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)
- question
- 问题
- 问题
- 问题
- Concatenation operation in Non_local
- RuntimeError: mat1 dim 1 must match mat2 dim 0 HOT 1
- problem when running viz.py
- The correspondence between 2D joints and 3D joints
- The correspondence between 2D joints and 3D joints
- SemGCN&SemCHGCN&PG
- 3D关节点
- converting H36M to openpose
- Error value of each action HOT 1
- Questions about feature dimensions
- Different input output size
- Results about perceptual feature
- 关于输入的2D坐标的问题
- Assertion Error: assert poses_3d is not None
- 文中提到的ResGCN的pytorch代码
- Dataset deleted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semgcn.