We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ca67a commit 1e0adb9Copy full SHA for 1e0adb9
datalabeling/snippets/label_image.py
@@ -45,6 +45,9 @@ def label_image(
45
46
feature = datalabeling.LabelImageRequest.Feature.CLASSIFICATION
47
48
+ # annotation_spec_set_resource_name needs to be created beforehand.
49
+ # See the examples in the following:
50
+ # https://cloud.google.com/ai-platform/data-labeling/docs/label-sets
51
config = datalabeling.ImageClassificationConfig(
52
annotation_spec_set=annotation_spec_set_resource_name,
53
allow_multi_label=False,
0 commit comments