HumanSignal / HumanSignal/label-studio

version 1.16.0 new feature "Export COCO with images" are giving wrong file_name

Open
#7,294 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 think the new export option "Export COCO with images" in the version 1.16.0 is to replace the old "Export COCO"
But the image path exported was different with the older version.

version 1.16.0:
"file_name": "..\\..\\label-studio\\label-studio\\media\\upload\\4\\cb0618f6-BitBlt_True_3840x2160_1742563473858.5857_original.png"

older version:
"file_name": "images\\cb0618f6-BitBlt_True_3840x2160_1742563473858.5857_original.png"

that make the data unusable, it should be relative to the result.json, like older version

**Environment (please complete the following information):**
- OS: [Windows 11]
- Label Studio Version [1.16.0]

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.