Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

feat: Adds additional_experiments field to AutoMlTablesInputs #170

Merged
merged 3 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instan

// Prediction input format for Image Classification.
message ImageClassificationPredictionInstance {
// The image bytes or GCS URI to make the prediction on.
// The image bytes or Cloud Storage URI to make the prediction on.
string content = 1;

// The MIME type of the content of the image. Only the images in below listed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instan

// Prediction input format for Image Object Detection.
message ImageObjectDetectionPredictionInstance {
// The image bytes or GCS URI to make the prediction on.
// The image bytes or Cloud Storage URI to make the prediction on.
string content = 1;

// The MIME type of the content of the image. Only the images in below listed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ message TextExtractionPredictionInstance {

// 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.
string key = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ message VideoClassificationPredictionParams {
// fewer predictions. Default value is 10,000.
int32 max_predictions = 2;

// 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
bool segment_classification = 3;

// 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 @@ -52,7 +52,7 @@ message VideoClassificationPredictionParams {
bool shot_classification = 4;

// 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 @@ -25,8 +25,7 @@ option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.predic

// Prediction output format for Image and Text Classification.
message ClassificationPredictionResult {
// 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.
repeated int64 ids = 1;

// The display names of the AnnotationSpecs that had been identified, order
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Google LLC
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ message AutoMlTablesInputs {
// Configuration for exporting test set predictions to a BigQuery table. If
// this configuration is absent, then the export is not performed.
ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10;

// Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;
}

// Model metadata specific to AutoML Tables.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ message AutoMlForecastingInputs {
//
// * "ignore-validation" - ignore the results of the validation and continue
string validation_options = 17;

// Additional experiment flags for the time series forcasting training.
repeated string additional_experiments = 25;
}

// Model metadata specific to AutoML Forecasting.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ message AutoMlVideoActionRecognitionInputs {
// also be exported (see ModelService.ExportModel) as a TensorFlow or
// TensorFlow Lite model and used on a mobile or edge device afterwards.
MOBILE_VERSATILE_1 = 2;

// A model that, in addition to being available within Google Cloud, can
// also be exported (see ModelService.ExportModel) to a Jetson device
// afterwards.
MOBILE_JETSON_VERSATILE_1 = 3;

// 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.
MOBILE_CORAL_VERSATILE_1 = 4;
}

ModelType model_type = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ message ExportEvaluatedDataItemsConfig {
//
// If not specified, then results are exported to the following auto-created
// BigQuery table:
//
// <project_id>:export_evaluated_examples_<model_name>_<yyyy_MM_dd'T'HH_mm_ss_SSS'Z'>.evaluated_examples
string destination_bigquery_uri = 1;

Expand Down
16 changes: 15 additions & 1 deletion protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading