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

Using my own dataset how to define the keypoints in json file? #151

Open
esteimle opened this issue Feb 19, 2021 · 1 comment
Open

Using my own dataset how to define the keypoints in json file? #151

esteimle opened this issue Feb 19, 2021 · 1 comment

Comments

@esteimle
Copy link

Hi,
I got this running and training with the ai_challenger data and now I'd like to try some of my own data. Bu I don't quite understand the whole format for the ai_challenger_train.json file. For example in that file there are annotations, under annotations I find elements for each image. In those elements there is then a num_keypoints which seems to vary and I don't know why it isn't always 14 (some not visible maybe?). Then there is a keypoints list which is always 42 items long which looks to be 42/3 = 14 so I assume there are three items for each keypoint. For example:

keypoints->[0]
|->432
|->234
|->2

I assume it goes:
|->x
|->y
|->??

I don't know what the last one, the 2 means. Is it a category or a depth of some kind or an indicator of what is visible or not? I'm really confused here. I think if I could figure out the formatting I could start training my own data and this is the last thing holding me up. Thank you for any help you can give.

@esteimle
Copy link
Author

ah nm I think I get it after plotting points on pictures. 1 is occluded, 2 is visible and num_keypoints is the number of visible points. That's my guess anyway.

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

1 participant