Creating a Labeling Job¶
Model training requires a large amount of labeled data. Therefore, before training a model, label data. You can create a manual labeling job labeled by one person or by a group of persons (team labeling), or enable auto labeling to quickly label images. You can also modify existing labels, or delete them and re-label.
Labeling Job Types¶
Create a labeling job based on the dataset type. ModelArts supports the following types of labeling jobs:
Image
Image classification: identifies a class of objects in images.
Object detection: identifies the position and class of each object in an image.
Image segmentation: segments an image into different areas based on objects in the image.
Audio
Sound classification: classifies and identifies different sounds.
Speech labeling: labels speech content.
Speech paragraph labeling: segments and labels speech content.
Text
Text classification: assigns labels to text according to its content.
Named entity recognition: assigns labels to named entities in text, such as time and locations.
Text triplet: assigns labels to entity segments and entity relationships in the text.
Videos
Video labeling: identifies the position and class of each object in a video. Only the MP4 format is supported.
Prerequisites¶
Before labeling data, create a dataset.
Procedure¶
Log in to the ModelArts management console. In the navigation pane on the left, choose Data Management > Label Data.
On the Data Labeling page, click Create Labeling Job in the upper right corner. On the displayed page, create a labeling job.
Enter basic information about the labeling job, including Name and Description.
Select a labeling scene and type as required.
Set the parameters based on the labeling job type. For details, see the parameters of the following labeling job types:
Click Create in the lower right corner of the page.
After the labeling job is created, the data labeling management page is displayed. You can perform the following operations on the labeling job: start auto labeling, publish new versions, modify the labeling job, and delete the labeling job.
Images (Image Classification, Image Segmentation, and Object Detection)¶
Name | Description |
---|---|
Dataset Name | Select a dataset that supports the labeling type. |
Label Set |
|
Team Labeling | Enable or disable team labeling. Image segmentation does not support team labeling. Therefore, this parameter is unavailable when you use image segmentation. After enabling team labeling, enter the type of the team labeling job, and select the labeling team and team members. For details about the parameters, see Creating a Team Labeling Job. Before enabling team labeling, ensure that you have added a team and members on the Labeling Teams page. If no labeling team is available, click the link on the page to go to the Labeling Teams page, and add your team and members. For details, see Adding a Team. After a dataset is created with team labeling enabled, you can view the Team Labeling mark in Labeling Type. |
Audio (Sound Classification, Speech Labeling, and Speech Paragraph Labeling)¶
Parameter | Description |
---|---|
Dataset Name | Select a dataset that supports the labeling type. |
Label Set (for sound classification) | You can add a label set for labeling jobs of sound classification.
|
Label Management (for speech paragraph labeling) | Label management is available for speech paragraph labeling.
|
Speech Labeling (for speech paragraph labeling) | Only datasets for speech paragraph labeling support speech labeling. By default, speech labeling is disabled. If this function is enabled, you can label speech content. |
Team Labeling (for speech paragraph labeling) | Only datasets of speech paragraph labeling support team labeling. After enabling team labeling, enter the type of the team labeling job, and select the labeling team and team members. For details about the parameters, see Creating a Team Labeling Job. Before enabling team labeling, ensure that you have added a team and members on the Labeling Teams page. If no labeling team is available, click the link on the page to go to the Labeling Teams page, and add your team and members. For details, see Adding a Team. After a dataset is created with team labeling enabled, you can view the Team Labeling mark in Labeling Type. |
Text (Text Classification, Named Entity Recognition, and Text Triplet)¶
Parameter | Description |
---|---|
Dataset Name | Select a dataset that supports the labeling type. |
Label Set (for text classification and named entity recognition) |
|
Label Set (for text triplet) | For datasets of the text triplet type, set entity labels and relationship labels.
|
Team Labeling | Enable or disable team labeling. After enabling team labeling, enter the type of the team labeling job, and select the labeling team and team members. For details about the parameters, see Creating a Team Labeling Job. Before enabling team labeling, ensure that you have added a team and members on the Labeling Teams page. If no labeling team is available, click the link on the page to go to the Labeling Teams page, and add your team and members. For details, see Adding a Team. After a dataset is created with team labeling enabled, you can view the Team Labeling mark in Labeling Type. |
Video¶
Name | Description |
---|---|
Dataset Name | Select a dataset that supports the labeling type. |
Label Set |
|