HumanSignal / HumanSignal/label-studio

Exporting COCO format only exports some tasks

Open
#5,544 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
I've imported a large number of tasks with annotations using the JSON format to import.

I've then clicked through every annotation and checked it for quality.

When I export YOLO format it works fine, but exporting coco the results.json only includes 80 or so images and their annotations. I need Coco format for MMdetection training.

**To Reproduce**
Steps to reproduce the behavior:
1. Create project
2. import JSON with roughly 1200 images and annotations
3. spend the best part of a day clicking through each one and adjusting the annotations
4. click export
5. select COCO
6. check result.json
7. cry.

**Expected behavior**
A full dataset with all the annotated tasks included

**Screenshots**

![Screenshot 2024-03-06 165003](https://github.com/HumanSignal/label-studio/assets/368394/69ed795c-1579-48ac-a702-27d983c640c4)

**Environment (please complete the following information):**
- OS: unbuntu unders wsl
- Label Studio Version (latsest, installed to day with pip install)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.