HumanSignal / HumanSignal/label-studio

label-studio-converter

Open
#5,653 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

## Bug Description:
When executing the command **label-studio-converter import yolo -i data -o ls-tasks.json** to generate a JSON file for pre-annotated YOLO detection images, the following folder architecture is assumed:
data:
- images
- labels
- classes.txt
The images folder contains **5537** images, and the labels folder contains an equal number of txt files corresponding to annotations. However, the generated JSON file only contains **3948** images. I've confirmed that each image has a corresponding txt file, and they were generated using a trained YOLOv8 model.

## Environment:
Label Studio latest Docker image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `label-studio-converter import yolo -i data -o ls-tasks.json` with the described images, labels, and classes.txt structure, then inspect how the converter discovers and serializes YOLO inputs. Done means the generated JSON includes all 5537 images with their corresponding annotations.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
cli, computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.