Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 23 additions & 46 deletions packages/google-cloud-automl/google/cloud/automl_v1/types/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,9 @@ class InputConfig(proto.Message):
with non-terminal symbols defined near the end of this comment. The
formats are:

AutoML Vision
^^^^^^^^^^^^^
AutoML Vision:

Classification
''''''''''''''
Classification:

See `Preparing your training
data <https://cloud.google.com/vision/automl/docs/prepare>`__ for
Expand Down Expand Up @@ -100,8 +98,7 @@ class InputConfig(proto.Message):
UNASSIGNED,gs://folder/image3.jpg,daisy
UNASSIGNED,gs://folder/image4.jpg

Object Detection
''''''''''''''''
Object Detection:

See `Preparing your training
data <https://cloud.google.com/vision/automl/object-detection/docs/prepare>`__
Expand Down Expand Up @@ -151,11 +148,9 @@ class InputConfig(proto.Message):
</section>
</div>

AutoML Video Intelligence
^^^^^^^^^^^^^^^^^^^^^^^^^
AutoML Video Intelligence:

Classification
''''''''''''''
Classification:

See `Preparing your training
data <https://cloud.google.com/video-intelligence/automl/docs/prepare>`__
Expand Down Expand Up @@ -205,8 +200,7 @@ class InputConfig(proto.Message):
gs://folder/vid2.avi,car,0,60.5
gs://folder/vid3.avi,,,

Object Tracking
'''''''''''''''
Object Tracking:

See `Preparing your training
data </video-intelligence/automl/object-tracking/docs/prepare>`__
Expand Down Expand Up @@ -269,11 +263,9 @@ class InputConfig(proto.Message):
gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,,
gs://folder/video2.avi,,,,,,,,,,,

AutoML Natural Language
^^^^^^^^^^^^^^^^^^^^^^^
AutoML Natural Language:

Entity Extraction
'''''''''''''''''
Entity Extraction:

See `Preparing your training
data </natural-language/automl/entity-analysis/docs/prepare>`__ for
Expand Down Expand Up @@ -467,8 +459,7 @@ class InputConfig(proto.Message):
},
],

Classification
''''''''''''''
Classification:

See `Preparing your training
data <https://cloud.google.com/natural-language/automl/docs/prepare>`__
Expand Down Expand Up @@ -520,8 +511,7 @@ class InputConfig(proto.Message):
TEST,gs://folder/document.pdf
VALIDATE,gs://folder/text_files.zip,BadFood

Sentiment Analysis
''''''''''''''''''
Sentiment Analysis:

See `Preparing your training
data <https://cloud.google.com/natural-language/automl/docs/prepare>`__
Expand Down Expand Up @@ -584,8 +574,7 @@ class InputConfig(proto.Message):
TEST,gs://folder/document.pdf
VALIDATE,gs://folder/text_files.zip,2

AutoML Tables
^^^^^^^^^^^^^
AutoML Tables:

See `Preparing your training
data <https://cloud.google.com/automl-tables/docs/prepare>`__ for
Expand Down Expand Up @@ -702,8 +691,7 @@ class InputConfig(proto.Message):
semantic of the imported data, any string must be up to
25000 characters long.

AutoML Tables
^^^^^^^^^^^^^
AutoML Tables:

``schema_inference_version`` : (integer) This value must be
supplied. The version of the algorithm to use for the
Expand Down Expand Up @@ -736,11 +724,9 @@ class BatchPredictInputConfig(proto.Message):
with non-terminal symbols defined near the end of this comment. The
formats are:

AutoML Vision
^^^^^^^^^^^^^
AutoML Vision:

Classification
''''''''''''''
Classification:

One or more CSV files where each line is a single column:

Expand All @@ -760,8 +746,7 @@ class BatchPredictInputConfig(proto.Message):
gs://folder/image2.gif
gs://folder/image3.png

Object Detection
''''''''''''''''
Object Detection:

One or more CSV files where each line is a single column:

Expand All @@ -781,11 +766,9 @@ class BatchPredictInputConfig(proto.Message):
gs://folder/image2.gif
gs://folder/image3.png

AutoML Video Intelligence
^^^^^^^^^^^^^^^^^^^^^^^^^
AutoML Video Intelligence:

Classification
''''''''''''''
Classification:

One or more CSV files where each line is a single column:

Expand All @@ -808,8 +791,7 @@ class BatchPredictInputConfig(proto.Message):
gs://folder/video1.mp4,20,60
gs://folder/vid2.mov,0,inf

Object Tracking
'''''''''''''''
Object Tracking:

One or more CSV files where each line is a single column:

Expand All @@ -832,11 +814,9 @@ class BatchPredictInputConfig(proto.Message):
gs://folder/video1.mp4,20,60
gs://folder/vid2.mov,0,inf

AutoML Natural Language
^^^^^^^^^^^^^^^^^^^^^^^
AutoML Natural Language:

Classification
''''''''''''''
Classification:

One or more CSV files where each line is a single column:

Expand All @@ -857,8 +837,7 @@ class BatchPredictInputConfig(proto.Message):
gs://folder/text2.pdf
gs://folder/text3.tif

Sentiment Analysis
''''''''''''''''''
Sentiment Analysis:

One or more CSV files where each line is a single column:

Expand All @@ -879,8 +858,7 @@ class BatchPredictInputConfig(proto.Message):
gs://folder/text2.pdf
gs://folder/text3.tif

Entity Extraction
'''''''''''''''''
Entity Extraction:

One or more JSONL (JSON Lines) files that either provide inline text
or documents. You can only use one format, either inline text or
Expand Down Expand Up @@ -955,8 +933,7 @@ class BatchPredictInputConfig(proto.Message):
}
}

AutoML Tables
^^^^^^^^^^^^^
AutoML Tables:

See `Preparing your training
data <https://cloud.google.com/automl-tables/docs/predict-batch>`__
Expand Down