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

Combining all the three datasets #42

Open
Ashwin-Ramesh2607 opened this issue Jul 8, 2020 · 3 comments
Open

Combining all the three datasets #42

Ashwin-Ramesh2607 opened this issue Jul 8, 2020 · 3 comments

Comments

@Ashwin-Ramesh2607
Copy link

Hi @mks0601 , I would like to implement training on this repo, but instead of a standalone dataset. I wish to combine all the 3 datasets - COCO, MPII and PoseTrack. I want to know whether that is possible? My doubt is that COCO and PoseTrack have different keypoints. Any ideas?

@mks0601
Copy link
Owner

mks0601 commented Jul 8, 2020

You can define some reference joint set (maybe a union set of various joints sets?) and use this function (https://github.com/mks0601/3DMPPE_POSENET_RELEASE/blob/15446c408f664702b348eb5a7f75250b28d14ed6/common/utils/pose_utils.py#L86)

@Ashwin-Ramesh2607
Copy link
Author

@mks0601 Thanks for that function! So coco has 17 unique keypoints, and PoseTrack has 15 unique keypoints. 13 keypoints are common between the two. The union set will therefore contain 19 keypoints. So you're suggestion is to train a model with 19 keypoints, am I correct?

@mks0601
Copy link
Owner

mks0601 commented Jul 8, 2020

Yes. And you can make the loss of joints that are not intersection of the joint sets zero.

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