Example(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An Example is a piece of data and its annotation. For example, an image with label "house".
Attributes |
|
---|---|
Name | Description |
image_payload |
The image payload, a container of the image bytes/uri. |
text_payload |
The text payload, a container of the text content. |
video_payload |
The video payload, a container of the video uri. |
name |
str
Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id} |
annotations |
Sequence[
Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations. |