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

Empty annotation list when exporting dataset to COCO Keypoints 1.0 format #5831

Closed
hayawar opened this issue Mar 9, 2023 · 4 comments
Closed

Comments

@hayawar
Copy link

hayawar commented Mar 9, 2023

I have a annotated a dataset with 4 key-points using CVAT online. When I exported it in COCO Keypoints 1.0 format, the annotation details were missing from the exported json file. However, when changing the export format to CVAT for images 1.1 or Datumaro 1.0, the keypoints get successfully exported.
I still need the annotation exported in coco format. So i'm trying to figure out what went wrong or if I misunderstood something in coco annotation. I'd appreciate any help.

The empty annotation list in exported json:
image

the four labels
image

@yasakova-anastasia
Copy link
Contributor

Hi, @haya-alwarthan

This format can only export skeleton annotations. Do you have skeleton annotations?
I see that among the categories you only have labels, for this task you need skeletons.
If you want to know more about skeletons, you can watch this video.

@hayawar
Copy link
Author

hayawar commented Mar 10, 2023

@yasakova-anastasia
Thank you! I have just tried skeleton annotation and it worked. Any idea if there was a possibility to convert my current labels to skeleton without redoing it all over ?

@hayawar
Copy link
Author

hayawar commented Mar 10, 2023

Thank you! I have just tried skeleton annotation and it worked. Any idea if there was a possibility to convert my current labels to skeleton without redoing it all over ?

@bsekachev
Copy link
Member

Any idea if there was a possibility to convert my current labels to skeleton without redoing it all over ?

There is no ability to convert labels in this way.
The only option I can suggest is to dump your annotation in another format, convert it manually to keypoints format with a script and upload to a task/project where skeletons are already configured.

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

3 participants