For text, image, and video data, you can import labeled or unlabeled data and add labels using the Google Cloud console. You can also delete or add new labels to existing labeled datasets.
To learn how to import your data, see the Prepare data page of the data type and objective that you're working with on the Training overview page. Continue with the respective Create dataset page for your data type and objective.
After creating the dataset and importing the unlabeled data, you will be in
Browse mode.
How to add labels
Instructions for labeling objectives are provided here for each data type.
Image
The images you have just imported in the dataset are unlabeled, as expected.
Classification
When in Browse mode, and the dataset with the unlabeled images is selected, you can see your uploaded images.
- Click Add new label and enter your new label.
- Click Done.
Repeat for each label you want to add. - Select the image you want to label.
The list of labels appears. - Select the label you want to associate with the image.
- Click Save.
Classification
When in Browse mode, and the dataset with the unlabeled images is selected, you can see your uploaded images.
- Click Add new label and enter your new label.
- Click Done.
Repeat for each label you want to add. - Select the image you want to label.
The list of labels appears. - Select the label you want to associate with the image.
- Click Save.
- You can view the labels applied to each image in the Browse tab.
Object detection
When in Browse mode, and the dataset with the unlabeled images is selected, you can see your uploaded images.
- Click Add new label and enter your new label.
- Click Done.
Repeat for each label you want to add. - Select the image you want to label.
- The list of labels objects appears, if there are any.
- In the add annotation window, select the Add bounding box button to add an object
bounding box to the image.
- After drawing a bounding box, a list of labels to apply to the object will appear.
Choose the appropriate label.
- After you have added all labels and bounding boxes, click Save to update the
image's annotations.
Text
The text you have just imported in the dataset may or may not be labeled.
Single-label classification
- Click the text to label.
- To add a new label, click Add label.
- For a single-label classification dataset, select one label to associate with the text.
- Click Save.
Multi-label classification
- Click the text to label.
- To add a new label, click Add label.
- For multi-label classification datasets, select one or more labels to associate with the text.
- Click Save.
Entity extraction
- Click the text to label.
- To add a new label, click Add label.
- Select one or more words to label.
- Select a label to associate with the selected text.
- Click Save.
Sentiment analysis
- Click the text to label.
- To add a new label, click Add label.
- Select a score to associate with the text.
- Click Save.
Video
The videos you have imported in the dataset are unlabeled, as expected.
- To navigate to your new dataset, click "Datasets" in the navigation menu.
- Select the dataset you want to add labels to.
Dataset appears.
Action recognition
When in Browse mode, and the dataset with the unlabeled videos is selected, you
should see your videos.
- Add label(s).
- Select a video and start viewing.
- When the action starts appearing that you want to identify, slowly progress through till you find the center or the most representative moment of the action using "Next frame" option.
- Click Add annotation.
Your list of labels appears. - Select the label you want for this video segment.
- Click Save.
Classification
When the dataset with the unlabeled videos is selected, you
will see your videos.
- Add labels.
- Select the video you want to label. The video appears with your list of color-coded labels below.
- Navigate to starting point of segment. Click Add segment.
- Select segment. Adjust
to designate the segment to be used for training for your particular label:
- Select label. You can select multiple labels for a segment.
- Click Done, then Save.
- Repeat steps to add another label to the same video with a different time segment.
Here's an example of where two more labels were added:
- Select segment. Adjust
to designate the segment to be used for training for your particular label:
- Return to Datasets list to repeat.
Object tracking
When in BROWSE mode, and the dataset with the unlabeled videos is selected, you
should see your videos.
- Click Add Label and add the labels you plan to use (for example, "sedan", "pickup", "SUV").
- Click Save. If you need to add more labels later, click Add new label and Save.
- Select a video and start viewing.
- When an object appears that you want to track,
- Stop the video.
- Drag a bounding box from the upper left corner, down to the lower right corner.
Be sure to make the box as tight as possible around the object.
A list of labels appears to the lower right-hand side of the bounding box. - Select the appropriate label.
Note: Note: You can always add more labels during this process. Be sure to save the added label so it shows up in the list going forward. - Click Save.
What's next
- Training your AutoML model using the Google Cloud console.
Training your AutoML Edge model using the Google Cloud console. (image and video only)
Training your AutoML Edge model using the Vertex AI API. (image and video only)