cvat: Skeleton annotation task: can't export dataset
My actions before raising this issue
- Read/searched the docs
- Searched past issues
Without skeletal annotation (or only bbox), I can’t succesfully export the data.
Once I annotated the task, upon export as ‘COCO Keypoints 1.1’ I have the following error:

Expected Behaviour
The annotation and images are exported.
Current Behaviour
Can’t export dataset with skeletal anntotation
Steps to Reproduce (for bugs)
- Upload data to create a task
- Annotate a skeletal track
- Export the dataset
Your Environment
- Git hash commit (
git log -1): 46b88c11ab2bbb4989365899196bf4157ee94b90 - Docker version
docker version(e.g. Docker 17.0.05): 20.10.21 - Are you using Docker Swarm or Kubernetes? No
- Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 22.04
- Other diagnostic information / logs: The way I defined the annotations in the project:
[
{
"name": "person",
"id": 22,
"color": "#c06060",
"type": "any",
"attributes": []
},
{
"name": "pose",
"id": 66,
"color": "#1446c2",
"type": "skeleton",
"sublabels": [
{
"name": "head",
"attributes": [],
"type": "points",
"color": "#d12345",
"id": 67
},
{
"name": "l_shoulder",
"attributes": [],
"type": "points",
"color": "#350dea",
"id": 68
},
{
"name": "l_elbow",
"attributes": [],
"type": "points",
"color": "#479ffe",
"id": 69
},
{
"name": "l_hand",
"attributes": [],
"type": "points",
"color": "#4a649f",
"id": 70
},
{
"name": "r_shoulder",
"attributes": [],
"type": "points",
"color": "#478144",
"id": 71
},
{
"name": "r_elbow",
"attributes": [],
"type": "points",
"color": "#57236b",
"id": 72
},
{
"name": "r_hand",
"attributes": [],
"type": "points",
"color": "#1cdda5",
"id": 73
}
],
"svg": "<line x1="68.81401824951172" y1="26.254180908203125" x2="46.40599060058594" y2="12.374582290649414" stroke="black" data-type="edge" data-node-from="5" stroke-width="0.5" data-node-to="1"></line><line x1="77.8441162109375" y1="43.4782600402832" x2="66.138427734375" y2="65.0501708984375" stroke="black" data-type="edge" data-node-from="6" stroke-width="0.5" data-node-to="7"></line><line x1="68.81401824951172" y1="26.254180908203125" x2="77.8441162109375" y2="43.4782600402832" stroke="black" data-type="edge" data-node-from="5" stroke-width="0.5" data-node-to="6"></line><line x1="23.997961044311523" y1="28.595317840576172" x2="68.81401824951172" y2="26.254180908203125" stroke="black" data-type="edge" data-node-from="2" stroke-width="0.5" data-node-to="5"></line><line x1="23.997961044311523" y1="28.595317840576172" x2="46.40599060058594" y2="12.374582290649414" stroke="black" data-type="edge" data-node-from="2" stroke-width="0.5" data-node-to="1"></line><line x1="12.292276382446289" y1="47.15719223022461" x2="24.666858673095703" y2="65.88628387451172" stroke="black" data-type="edge" data-node-from="3" stroke-width="0.5" data-node-to="4"></line><line x1="23.997961044311523" y1="28.595317840576172" x2="12.292276382446289" y2="47.15719223022461" stroke="black" data-type="edge" data-node-from="2" stroke-width="0.5" data-node-to="3"></line><circle r="1.5" stroke="black" fill="#b3b3b3" cx="46.40599060058594" cy="12.374582290649414" stroke-width="0.1" data-type="element node" data-element-id="1" data-node-id="1" data-label-id="67"></circle><circle r="1.5" stroke="black" fill="#b3b3b3" cx="23.997961044311523" cy="28.595317840576172" stroke-width="0.1" data-type="element node" data-element-id="2" data-node-id="2" data-label-id="68"></circle><circle r="1.5" stroke="black" fill="#b3b3b3" cx="12.292276382446289" cy="47.15719223022461" stroke-width="0.1" data-type="element node" data-element-id="3" data-node-id="3" data-label-id="69"></circle><circle r="1.5" stroke="black" fill="#b3b3b3" cx="24.666858673095703" cy="65.88628387451172" stroke-width="0.1" data-type="element node" data-element-id="4" data-node-id="4" data-label-id="70"></circle><circle r="1.5" stroke="black" fill="#b3b3b3" cx="68.81401824951172" cy="26.254180908203125" stroke-width="0.1" data-type="element node" data-element-id="5" data-node-id="5" data-label-id="71"></circle><circle r="1.5" stroke="black" fill="#b3b3b3" cx="77.8441162109375" cy="43.4782600402832" stroke-width="0.1" data-type="element node" data-element-id="6" data-node-id="6" data-label-id="72"></circle><circle r="1.5" stroke="black" fill="#b3b3b3" cx="66.138427734375" cy="65.0501708984375" stroke-width="0.1" data-type="element node" data-element-id="7" data-node-id="7" data-label-id="73"></circle>",
"attributes": [
{
"id": 3,
"name": "track_id",
"input_type": "select",
"mutable": false,
"values": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10"
],
"default_value": "1"
}
]
}
]

About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 16 (7 by maintainers)
Commits related to this issue
- Fix export annotations to COCO keypoints (#5794) Fixed #5600, #5257 Co-authored-by: Roman Donchenko <roman@cvat.ai> — committed to cvat-ai/cvat by yasakova-anastasia a year ago
- Fix export annotations to COCO keypoints (#5794) Fixed #5600, #5257 Co-authored-by: Roman Donchenko <roman@cvat.ai> — committed to retailnext/cvat by yasakova-anastasia a year ago
I am also not able to export the annotation file for keypoint annotation from CVAT,
The issue that I am getting is.
Please help me solve this issue.
I am having the same problem while exporting the data for Skeleton Keypoints