Skip to content

Commit

Permalink
feat: Adds additional_experiments field to AutoMlTablesInputs feat: A…
Browse files Browse the repository at this point in the history
…dds two new ModelType constants for Video Action Recognition training jobs

PiperOrigin-RevId: 384483418

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jul 13 09:35:55 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 369fd2ade113e707ee29794fe558d7d25955032c
Source-Link: googleapis/googleapis@369fd2a
  • Loading branch information
yoshi-automation authored and jskeet committed Jul 14, 2021
1 parent b1d0ebe commit b123458
Show file tree
Hide file tree
Showing 9 changed files with 132 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public sealed partial class ImageClassificationPredictionInstance : pb::IMessage
public const int ContentFieldNumber = 1;
private string content_ = "";
/// <summary>
/// The image bytes or GCS URI to make the prediction on.
/// The image bytes or Cloud Storage URI to make the prediction on.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Content {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public sealed partial class ImageObjectDetectionPredictionInstance : pb::IMessag
public const int ContentFieldNumber = 1;
private string content_ = "";
/// <summary>
/// The image bytes or GCS URI to make the prediction on.
/// The image bytes or Cloud Storage URI to make the prediction on.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Content {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public sealed partial class TextExtractionPredictionInstance : pb::IMessage<Text
/// <summary>
/// This field is only used for batch prediction. If a key is provided, the
/// batch prediction result will by mapped to this key. If omitted, then the
/// batch prediction result will contain the entire input instance. AI Platform
/// batch prediction result will contain the entire input instance. Vertex AI
/// will not check if keys in the request are duplicates, so it is up to the
/// caller to ensure the keys are unique.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public sealed partial class VideoClassificationPredictionParams : pb::IMessage<V
public const int SegmentClassificationFieldNumber = 3;
private bool segmentClassification_;
/// <summary>
/// Set to true to request segment-level classification. AI Platform returns
/// Set to true to request segment-level classification. Vertex AI returns
/// labels and their confidence scores for the entire time segment of the
/// video that user specified in the input instance.
/// Default value is true
Expand All @@ -147,9 +147,9 @@ public sealed partial class VideoClassificationPredictionParams : pb::IMessage<V
public const int ShotClassificationFieldNumber = 4;
private bool shotClassification_;
/// <summary>
/// Set to true to request shot-level classification. AI Platform determines
/// Set to true to request shot-level classification. Vertex AI determines
/// the boundaries for each camera shot in the entire time segment of the
/// video that user specified in the input instance. AI Platform then
/// video that user specified in the input instance. Vertex AI then
/// returns labels and their confidence scores for each detected shot, along
/// with the start and end time of the shot.
/// WARNING: Model evaluation is not done for this classification type,
Expand All @@ -170,7 +170,7 @@ public sealed partial class VideoClassificationPredictionParams : pb::IMessage<V
private bool oneSecIntervalClassification_;
/// <summary>
/// Set to true to request classification for a video at one-second intervals.
/// AI Platform returns labels and their confidence scores for each second of
/// Vertex AI returns labels and their confidence scores for each second of
/// the entire time segment of the video that user specified in the input
/// WARNING: Model evaluation is not done for this classification type, the
/// quality of it depends on the training data, but there are no metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ public sealed partial class ClassificationPredictionResult : pb::IMessage<Classi
= pb::FieldCodec.ForInt64(10);
private readonly pbc::RepeatedField<long> ids_ = new pbc::RepeatedField<long>();
/// <summary>
/// The resource IDs of the AnnotationSpecs that had been identified, ordered
/// by the confidence score descendingly.
/// The resource IDs of the AnnotationSpecs that had been identified.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<long> Ids {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,22 @@ public static partial class AutomlVideoActionRecognitionReflection {
"cm90byKMAQocQXV0b01sVmlkZW9BY3Rpb25SZWNvZ25pdGlvbhJsCgZpbnB1",
"dHMYASABKAsyXC5nb29nbGUuY2xvdWQuYWlwbGF0Z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xWaWRlb0FjdGlvblJlY29nbml0aW9uSW5wdXRzLk1vZGVsVHlwZSKHAQoJ",
"TW9kZWxUeXBlEhoKFk1PREVMX1RZUEVfVU5TUEVDSUZJRUQQABIJCgVDTE9V",
"RBABEhYKEk1PQklMRV9WRVJTQVRJTEVfMRACEh0KGU1PQklMRV9KRVRTT05f",
"VkVSU0FUSUxFXzEQAxIcChhNT0JJTEVfQ09SQUxfVkVSU0FUSUxFXzEQBEL+",
"Ago8Y29tLmdvb2dsZS5jbG91ZC5haXBsYXRmb3JtLnYxLnNjaGVtYS50cmFp",
"bmluZ2pvYi5kZWZpbml0aW9uQiFBdXRvTUxWaWRlb0FjdGlvblJlY29nbml0",
"aW9uUHJvdG9QAVpiZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xl",
"YXBpcy9jbG91ZC9haXBsYXRmb3JtL3YxL3NjaGVtYS90cmFpbmluZ2pvYi9k",
"ZWZpbml0aW9uO2RlZmluaXRpb26qAjhHb29nbGUuQ2xvdWQuQUlQbGF0Zm9y",
"bS5WMS5TY2hlbWEuVHJhaW5pbmdKb2IuRGVmaW5pdGlvbsoCOEdvb2dsZVxD",
"bG91ZFxBSVBsYXRmb3JtXFYxXFNjaGVtYVxUcmFpbmluZ0pvYlxEZWZpbml0",
"aW9u6gI+R29vZ2xlOjpDbG91ZDo6QUlQbGF0Zm9ybTo6VjE6OlNjaGVtYTo6",
"VHJhaW5pbmdKb2I6OkRlZmluaXRpb25iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down Expand Up @@ -435,6 +436,18 @@ public enum ModelType {
/// TensorFlow Lite model and used on a mobile or edge device afterwards.
/// </summary>
[pbr::OriginalName("MOBILE_VERSATILE_1")] MobileVersatile1 = 2,
/// <summary>
/// A model that, in addition to being available within Google Cloud, can
/// also be exported (see ModelService.ExportModel) to a Jetson device
/// afterwards.
/// </summary>
[pbr::OriginalName("MOBILE_JETSON_VERSATILE_1")] MobileJetsonVersatile1 = 3,
/// <summary>
/// A model that, in addition to being available within Google Cloud, can
/// also be exported (see ModelService.ExportModel) as a TensorFlow or
/// TensorFlow Lite model and used on a Coral device afterwards.
/// </summary>
[pbr::OriginalName("MOBILE_CORAL_VERSATILE_1")] MobileCoralVersatile1 = 4,
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ public sealed partial class ExportEvaluatedDataItemsConfig : pb::IMessage<Export
///
/// If not specified, then results are exported to the following auto-created
/// BigQuery table:
///
/// &lt;project_id>:export_evaluated_examples_&lt;model_name>_&lt;yyyy_MM_dd'T'HH_mm_ss_SSS'Z'>.evaluated_examples
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Expand Down
2 changes: 1 addition & 1 deletion apis/Google.Cloud.AIPlatform.V1/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "478169f2acb0e0c28d9ee2ccee95071d710052bb"
"sha": "369fd2ade113e707ee29794fe558d7d25955032c"
}
}
]
Expand Down

0 comments on commit b123458

Please sign in to comment.