Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about joint numbers #128

Open
PhysShaw opened this issue Dec 4, 2023 · 3 comments
Open

Question about joint numbers #128

PhysShaw opened this issue Dec 4, 2023 · 3 comments

Comments

@PhysShaw
Copy link

PhysShaw commented Dec 4, 2023

Hi! Mr.Gyeongsik,
Thanks for your excellent work and code!May I ask a question that in Demo.py there are 29 joint numbers,while the trained dataset Human3.6M and MSCOCO have different joint numbers.I mean,is it possible to use 17 or 18 as joint numbers(MSCOCO format) in the demo.py?

@mks0601
Copy link
Owner

mks0601 commented Dec 4, 2023

Hi, you can extract 17/18 joints out of 29 joints by checking this joints_name

joints_name = ('Pelvis', 'L_Hip', 'R_Hip', 'Torso', 'L_Knee', 'R_Knee', 'Spine', 'L_Ankle', 'R_Ankle', 'Chest', 'L_Toe', 'R_Toe', 'Neck', 'L_Thorax', 'R_Thorax', 'Head', 'L_Shoulder', 'R_Shoulder', 'L_Elbow', 'R_Elbow', 'L_Wrist', 'R_Wrist', 'L_Hand', 'R_Hand', 'Nose', 'L_Eye', 'R_Eye', 'L_Ear', 'R_Ear')

@PhysShaw
Copy link
Author

PhysShaw commented Dec 5, 2023

Thank you for your prompt answer!

  • I'm using your snapshot_7.pth as ckpt file right now,it seems that it's used for 29 joint numbers.How can I change joint numbers with snapshot_7.pth as ckpt file?
  • Or it means that I should train a new ckpt file with 17 joint numbers?

@mks0601
Copy link
Owner

mks0601 commented Dec 5, 2023

You don't have to retrain it. You can just extract your 17 out of predicted 29 joints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants