-
Notifications
You must be signed in to change notification settings - Fork 3.2k
docs: Upate Export page supported formats #8684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
caitlinwheeless
wants to merge
3
commits into
develop
Choose a base branch
from
docs/export-matrix
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+34
−3
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,33 @@ For a large labeling project with hundreds of thousands of tasks, do the followi | |
|
|
||
| Label Studio supports many common and standard formats for exporting completed labeling tasks. If you don't see a format that works for you, you can contribute one. For more information, see the [GitHub repository for the Label Studio Converter tool](https://github.com/HumanSignal/label-studio-converter). | ||
|
|
||
|
|
||
| #### Text, audio, and video tags | ||
|
|
||
| | Export Format | Text | Audio | Labels | Choices | TextArea | TimeSeries | Video | Comments | | ||
| |---------------|------|-------|--------|---------|----------|------------|-------|----------| | ||
| | **ASR_MANIFEST** | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | Audio + TextArea only | | ||
| | **CoNLL2003** | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | Text + Labels only | | ||
| | **CSV** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | All project types | | ||
| | **JSON** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | All project types | | ||
| | **JSON_MIN** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | All project types | | ||
| | **spaCy** | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | Text + Labels (via CoNLL2003) | | ||
| | **TSV** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | All project types | | ||
|
|
||
| #### Image segmentation tags | ||
|
|
||
| | Export Format | BrushLabels | RectangleLabels | KeyPointLabels | PolygonLabels | Comments | | ||
| |---------------|-------------|-----------------|----------------|---------------|----------| | ||
| | **NumPy** | ✅ | ❌ | ❌ | ❌ | | | ||
| | **COCO** | ✅ | ✅ | ✅ | ✅ | See [note](#kpl-note) on KeyPointLabels | | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| | **CSV** | ✅ | ✅ | ✅ | ✅ | All project types | | ||
| | **JSON** | ✅ | ✅ | ✅ | ✅ | All project types | | ||
| | **JSON_MIN** | ✅ | ✅ | ✅ | ✅ | All project types | | ||
| | **Pascal VOC XML** | ❌ | ✅ | ❌ | ❌ | RectangleLabels only | | ||
| | **TSV** | ✅ | ✅ | ✅ | ✅ | All project types | | ||
| | **YOLO** | ❌ | ✅ | ✅ | ✅ | See [note](#kpl-note) on KeyPointLabels | | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
|
|
||
| ### ASR_MANIFEST | ||
|
|
||
| Export audio transcription labels for automatic speech recognition as the JSON manifest format expected by [NVIDIA NeMo models](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/core/core.html). Supports audio transcription labeling projects that use the `Audio` tag with the `TextArea` tag. | ||
|
|
@@ -115,16 +142,20 @@ Export audio transcription labels for automatic speech recognition as the JSON m | |
| {“audio_filepath”: “/path/to/audio.wav”, “text”: “the transcription”, “offset”: 301.75, “duration”: 0.82, “utt”: “utterance_id”, “ctm_utt”: “en_4156”, “side”: “A”} | ||
| ``` | ||
|
|
||
| ### Brush labels to NumPy and PNG | ||
| ### BrushLabels to NumPy and PNG | ||
|
|
||
| Export your brush mask labels as NumPy 2d arrays and PNG images. Each label outputs as one image. Supports brush labeling image projects that use the `BrushLabels` tag. | ||
|
|
||
| ### COCO | ||
|
|
||
| A popular machine learning format used by the [COCO dataset](http://cocodataset.org/#home) for object detection and image segmentation tasks. Supports bounding box and polygon image labeling projects that use the `BrushLabels`, `RectangleLabels`, `KeyPointLabels` (see note below), or `PolygonLabels` tags. | ||
|
|
||
| !!! note "BrushLabels" | ||
| For annotations with BrushLabels, the BrushLabels masks are automatically converted to polygons on export. | ||
|
|
||
| <br /> | ||
|
|
||
| {% details <b>KeyPointLabels Export Support</b> %} | ||
| {% details <b id="kpl-note">KeyPointLabels Export Support</b> %} | ||
|
|
||
| If using `KeyPointLabels`, you will need to add the following to your labeling config: | ||
|
|
||
|
|
@@ -326,7 +357,7 @@ Results are stored in a tab-separated tabular file with column names specified b | |
|
|
||
| ### YOLO | ||
|
|
||
| Export object detection annotations in the YOLOv3 and YOLOv4 format. Supports object detection labeling projects that use the `RectangleLabels` and `KeyPointLabels` tags. | ||
| Export object detection annotations in the YOLOv3 and YOLOv4 format. Supports object detection labeling projects that use the `RectangleLabels`, `PolygonLabels`, and `KeyPointLabels` tags. | ||
|
|
||
| !!! note | ||
| If using KeyPointLabels, see the note under [COCO](#COCO). | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's group it by object and control tags