Training a model uses a large number of labeled images. Therefore, label images before the model training. You can add labels to images by manual labeling or auto labeling. In addition, you can modify the labels of images, or remove their labels and label the images again.
Before labeling an image in object detection scenarios, pay attention to the following:
ModelArts automatically synchronizes data and labeling information from datasets to the labeling job.
To quickly obtain the latest data in a dataset, in the All statuses, Unlabeled, or Labeled tab of the labeling job details page, click Synchronize New Data.
In the All statuses, Unlabeled, or tab, click in the filter criteria area and add filter criteria to quickly filter the data you want to view.
The following filter criteria are available. You can set one or more filter criteria.
The labeling job details page displays the All statuses, Unlabeled, and Labeled tabs. The Unlabeled tab is displayed by default.
In the tool bar, multiple tools are provided for you to label images. After you select a shape to label the first image, the shape automatically applies to subsequent images. You can switch the shape as required.
Icon |
Description |
---|---|
Rectangle. You can also press 1. Click the edge of the upper left corner of the object to be labeled. A rectangle will be displayed. Drag the rectangle to cover the object and click to label the object. |
|
Polygon. You can also press 2. In the area where the object to be labeled is located, click to label a point, move the mouse and click multiple points along the edge of the object, and then click the first point again. All the points form a polygon. In this way, the object to be labeled is within the bounding box. |
|
Round. You can also press 3. Click the center point of an object, and move the mouse to draw a circle to cover the object and click to label the object. |
|
Straight. You can also press 4. Click to specify the start and end points of an object, and move the mouse to draw a straight line to cover the object and click to label the object. |
|
Dashed line. You can also press 5. Click to specify the start and end points of an object, and move the mouse to draw a dashed line to cover the object and click to label the object. |
|
Dot. You can also press 6. Click the object in an image to label a point. |
Label all objects in an image. Multiple labels can be added to an image. After labeling an image, click the right arrow (or press D) in the upper right corner of the image to switch to the next image and label the image.
The selected images are automatically moved to the Labeled tab. In the Unlabeled and All statuses tabs, the labeling information is updated along with the labeling process, including the added label names and the number of images for each label.
Icon |
Features |
---|---|
Cancel the previous operation. You can also press Ctrl+Z. |
|
Redo the previous operation. You can also press Ctrl+Shift+Z. |
|
Zoom in an image. You can also use the mouse wheel to zoom in. |
|
Zoom out an image. You can also use the mouse wheel to zoom out. |
|
Delete all bounding boxes on the current image. You can also press Shift+Delete. |
|
Show or hide a bounding box. This operation can be performed only on a labeled image. You can also press Shift+H. |
|
Drag a bounding box to another position or drag the edge of the bounding box to resize it. You can also use X + left mouse button. |
|
Reset a bounding box. After dragging a bounding box, you can click this button to quickly restore the bounding box to its original shape and position. You can also press Esc. |
On the labeling job details page, click the Labeled tab to view the list of labeled images. The labels of each image are displayed below the image.
Labeling jobs of the current object detection type cannot be reviewed in batches. If the label of a sample is modified or deleted, you need to go to the label details page to operate, which is complex. To simplify the operations, users can now review or modify labeling information in batches, improving efficiency.
Button |
Features |
---|---|
Delete the label. |
|
Undo all operations on the current page. |
|
Undo the previous operation. |
|
Redo the previous operation. |
After labeling data, you can modify labeled data in the Labeled tab.
On the labeling job details page, click the Labeled tab and then the image to be modified. The labeling page is displayed. Modify the image information in the label information area on the right.
After deleting the label, click Back to Data Labeling Preview in the upper left corner of the page to exit the labeling page. In the displayed dialog box, save the modification. After all labels of an image are deleted, the image is displayed in the Unlabeled tab.
In addition to the data automatically synchronized from datasets, you can directly add images to labeling jobs for labeling. The added data is first imported to the dataset associated with the labeling job. Then, the labeling job automatically synchronizes the latest data from the dataset.
The images you have added will be automatically displayed in the image list in the All statuses tab. You can choose Add data > View historical records to view task history.
You can quickly delete the images you want to discard.
In the All statuses, Unlabeled, or Labeled tab, select the images to be deleted or click Select Images on Current Page, and click Delete. In the displayed dialog box, select or deselect Delete the source files from OBS as required. After confirmation, click Yes to delete the images.
If a tick is displayed in the upper left corner of an image, the image is selected. If no image is selected on the page, the Delete button is unavailable.
If you select Delete the source files from OBS, images stored in the OBS directory will be deleted accordingly. This operation may affect other dataset versions or datasets using those files, for example, leading to an error in page display, training, or inference. Deleted data cannot be recovered. Exercise caution when performing this operation.
If team labeling is enabled for a labeling job, view its labeling details in the Annotator Management tab. Additionally, you can add, modify, or delete annotators.
Click Add Member, select a member name, and click OK.
Click Send Email in the Operation column to send the labeling job to the annotator by email.
Click Modify in the Operation column to modify the role of the annotator.
Click Delete in the Operation column to delete the annotator.