Skip to content

COCO annotation export is missing the annotations #4475

@coelho-k

Description

@coelho-k

Describe the bug
I have uploaded a few images from a local source to test the labeling tool. I finish labeling and can see them visually as well as in the task source. However, when exporting to COCO format, the annotations are missing entirely. What could be the reason for this?

Expected behavior
I fully expect there to be the same annotations as in the task source.

Screenshots
{
"images": [
{
"width": 2448,
"height": 2048,
"id": 0,
"file_name": "images/23082be9-0A9LCRZ1DR.jpg"
},
{
"width": 2448,
"height": 2048,
"id": 1,
"file_name": "images/bc267355-0A9ZTH01Q3.jpg"
},
{
"width": 2448,
"height": 2048,
"id": 2,
"file_name": "images/826e681f-0A0WG84517.jpg"
}
],
"categories": [
{
"id": 0,
"name": "Test1"
},
{
"id": 1,
"name": Test2
},
{
"id": 2,
"name": Test3 Test3"
}
],
"annotations": [],
"info": {
"year": 2023,
"version": "1.0",
"description": "",
"contributor": "Label Studio",
"url": "",
"date_created": "2023-07-05 15:31:46.280794"
}
}

Environment (please complete the following information):

  • OS: Ubuntu 20
  • Label Studio Version 1.8

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

community:needs-informationEvaluated by community team, needs informationcommunity:reviewedIssue has been reviewed by the Label Studio Community Team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions