id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
google_protobuf/604925_34_0.txt | * [ Community Feedback ](/gc/Community-Feedback/bd-p/cloud-community-feedback) | |
google_protobuf/tabular_9_0.txt | Set up your local development environment
If you are using Colab or Vertex AI Workbench Notebooks, your environment meets the requirements to run this notebook. You can skip this step. | |
google_protobuf/comgooglecloudvertex_248_0.txt | public final DirectRawPredictResponse directRawPredict(DirectRawPredictRequest request) | |
google_protobuf/comgooglecloudvertex_200_0.txt | [ Object.wait(long)
](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) | |
google_protobuf/tabular_126_0.txt |
export_requests_jsonl(
os.path.join(LOCAL_DIRECTORY_FULL, "requests", "requests_estimator_10_1.jsonl"),
rows=10,
batch_size=1,
wrap_values=False,
) | |
google_protobuf/comgooglecloudvertex_322_0.txt | ` contents ` | ` [ List
](https://docs.oracle.com/javase/8/docs/api/java/util/List.html) < [ Content
](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.Content) > ` | |
google_protobuf/comgooglecloudvertex_433_0.txt | The response includes the following HTTP headers: | |
google_protobuf/tabular_254_0.txt |
cleanup(tf27_cpu_endpoint, tf27_cpu_model, tf27_cpu_deployed_model)
cleanup(tf27_gpu_endpoint, tf27_gpu_model, tf27_gpu_deployed_model)
cleanup(tf_opt_gpu_endpoint, tf_opt_gpu_model, tf_opt_gpu_deployed_model)
cleanup(
tf_opt_lossy_gpu_endpoint, tf_opt_lossy_gpu_model, tf_opt_lossy_gpu_deployed_model
) | |
google_protobuf/comgooglecloudvertex_45_0.txt | * com.google.cloud.vertexai.generativeai | |
google_protobuf/comgooglecloudvertex_186_0.txt | ## Inheritance | |
google_protobuf/comgooglecloudvertex_71_0.txt | Callable method variants take no parameters and return an immutable API
callable object, which can be used to initiate calls to the service. | |
google_protobuf/tabular_14_0.txt | Install virtualenv and create a virtual environment that uses Python 3. Activate the virtual environment. | |
google_protobuf/tabular_55_0.txt | # If you are running this notebook in Colab, run this cell and follow the
# instructions to authenticate your GCP account. This provides access to your
# Cloud Storage bucket and lets you submit training jobs and prediction
# requests. | |
google_protobuf/tabular_4_0.txt | Objective
In this notebook, you learn how to deploy a trained tabular model to Vertex AI Prediction using the optimized TensorFlow runtime, then compare its performance to open source based TensorFlow container. | |
google_protobuf/604925_42_0.txt | [ Log in to ask a question
](https://www.googlecloudcommunity.com/gc/user/userloginpage?dest_url=https%3A%2F%2Fwww.googlecloudcommunity.com%2Fgc%2FAI-
ML%2FVertex-AI-Getting-a-GRPC-Exception-when-sending-a-
prediction%2Fm-p%2F604925) | |
google_protobuf/comgooglecloudvertex_483_0.txt | Sample code: | |
google_protobuf/604925_74_0.txt | I see no error when I check the logs in the Google Cloud Console. It looks
like the request has been processed without error.  | |
google_protobuf/PredictionServiceCli_114_0.txt | public final com.google.api.HttpBody rawPredict([EndpointName](https://github.com/googleapis/java-/proto-google-cloud-aiplatform-v1/apidocs/com/google/cloud/aiplatform/v1/EndpointName.html?is-external=true "class or interface in com.google.cloud.aiplatform.v1") endpoint,
com.google.api.HttpBody httpBody) | |
google_protobuf/comgooglecloudvertex_141_0.txt | Callable method variants take no parameters and return an immutable API
callable object, which can be used to initiate calls to the service. | |
google_protobuf/PredictionServiceCli_165_0.txt | Sample code: | |
google_protobuf/604925_78_0.txt | The request in Java to another endpoint is working, so the code seems correct. | |
google_protobuf/comgooglecloudvertex_380_0.txt | ### listLocationsCallable() | |
google_protobuf/PredictionServiceCli_1_0.txt | Skip navigation links | |
google_protobuf/google_protobuf_5_0.txt | # google.protobuf.duration_pb2 ¶
Generated protocol buffer code.
_class_ ` google.protobuf.duration_pb2. ` ` Duration ` ( _**kwargs_ ) ¶
` ByteSize ` ( ) ¶
` Clear ` ( ) ¶
` ClearExtension ` ( _extension_handle_ ) ¶
Clears the contents of a given extension.
Parameters :
... | |
google_protobuf/tabular_128_0.txt | For more information about SavedModel warmup, see https://www.tensorflow.org/tfx/serving/saved_model_warmup. | |
google_protobuf/PredictionServiceCli_167_0.txt |
Parameters: | |
google_protobuf/comgooglecloudvertex_446_0.txt | public final HttpBody rawPredict(RawPredictRequest request) | |
google_protobuf/PredictionServiceCli_66_0.txt | protected PredictionServiceClient([PredictionServiceSettings](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceSettings.html "class in com.google.cloud.aiplatform.v1") settings)
throws [IOException](https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true "class or interface in ... | |
google_protobuf/comgooglecloudvertex_471_0.txt | ### rawPredictCallable() | |
google_protobuf/tabular_54_0.txt |
import os
import sys | |
google_protobuf/comgooglecloudvertex_270_0.txt | Required. The instances that are the input to the explanation call. A
DeployedModel may have an upper limit on the number of instances it supports
per request, and when it is exceeded the explanation call errors in case of
AutoML Models, or, in case of customer created Models, the behaviour is as
documented by that Mod... | |
google_protobuf/google_protobuf_9_0.txt | # google.protobuf.any_pb2 ¶
Generated protocol buffer code.
_class_ ` google.protobuf.any_pb2. ` ` Any ` ( _**kwargs_ ) ¶
` ByteSize ` ( ) ¶
` Clear ` ( ) ¶
` ClearExtension ` ( _extension_handle_ ) ¶
Clears the contents of a given extension.
Parameters :
**extension_han... | |
google_protobuf/PredictionServiceCli_206_0.txt | * [ Frames ](../../../../../index.html?com/google/cloud/aiplatform/v1/PredictionServiceClient.html)
* [ No Frames ](PredictionServiceClient.html) | |
google_protobuf/comgooglecloudvertex_173_0.txt | * testIamPermissions(TestIamPermissionsRequest request) | |
google_protobuf/PredictionServiceCli_41_0.txt | Perform an online explanation. | |
google_protobuf/comgooglecloudvertex_355_0.txt | public final UnaryCallable<GetLocationRequest,Location> getLocationCallable() | |
google_protobuf/604925_154_0.txt | https://www.googlecloudcommunity.com/html/@B5A22F3583793003F868672DC13DF92B/assets/logotwitter.png) Twitter | |
google_protobuf/PredictionServiceCli_130_0.txt | Sample code: | |
google_protobuf/comgooglecloudvertex_520_0.txt | Generate content with multimodal inputs with streaming support. | |
google_protobuf/604925_11_0.txt | * [ Anthos ](/gc/Anthos/bd-p/cloud_anthos) | |
google_protobuf/comgooglecloudvertex_213_0.txt | public static final PredictionServiceClient create(PredictionServiceStub stub) | |
google_protobuf/PredictionServiceCli_34_0.txt | ` static [ PredictionServiceClient
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html
"class in com.google.cloud.aiplatform.v1") ` | ` [ create
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#create-
com.google.cloud.aiplatform.v1.PredictionServiceSettings-) ( [
P... | |
google_protobuf/comgooglecloudvertex_410_0.txt | The request object containing all of the parameters for the API call. | |
google_protobuf/comgooglecloudvertex_366_0.txt | ### isShutdown() | |
google_protobuf/604925_91_0.txt | Posted on \--/--/---- --:-- AM | |
google_protobuf/comgooglecloudvertex_487_0.txt | public final Policy setIamPolicy(SetIamPolicyRequest request) | |
google_protobuf/604925_100_0.txt |  | |
google_protobuf/google_protobuf_8_0.txt | Page Not Found
# 404
Sorry, we can't find that page.
| |
google_protobuf/PredictionServiceCli_56_0.txt | ` com.google.api.HttpBody ` | ` [ rawPredict
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#rawPredict-
com.google.cloud.aiplatform.v1.RawPredictRequest-) ( [ RawPredictRequest
](https://github.com/googleapis/java-/proto-google-cloud-
aiplatform-v1/apidocs/com/google/cloud/aiplatform/v1/R... | |
google_protobuf/tabular_171_0.txt | image_uri specifies which docker image to use. Here we upload the same model using TF2.7 GPU and Vertex AI Prediction optimized TensorFlow runtime images. | |
google_protobuf/tabular_158_0.txt | IMPORTANT: you can only setup one VPC peering to servicenetworking.googleapis.com per VPC network. | |
google_protobuf/PredictionServiceCli_110_0.txt | Perform an online prediction. | |
google_protobuf/tabular_222_0.txt |
def benchmark_grpc_private_endpoint(endpoint_name, qps_list, duration_seconds=5):
endpoint_dict = endpoint_service_client.get_endpoint(name=endpoint_name)
grpc_uri, grpc_destinaion = parse_endpoint_dict(endpoint_dict) | |
google_protobuf/comgooglecloudvertex_99_0.txt | Callable method variants take no parameters and return an immutable API
callable object, which can be used to initiate calls to the service. | |
google_protobuf/comgooglecloudvertex_357_0.txt | Sample code: | |
google_protobuf/tabular_41_0.txt |
if PROJECT_ID == "" or PROJECT_ID is None:
PROJECT_ID = "[your-project-id]" # @param {type:"string"} | |
google_protobuf/google_protobuf_23_15.txt | escriptor object> _ ¶
` DiscardUnknownFields ` ( ) ¶
_property_ ` Extensions ` ¶
` FindInitializationErrors ` ( ) ¶
Finds required fields which are not initialized.
Returns :
A list of strings. Each string is a path to an uninitialized field from the
top-level message, e.g. “foo... | |
google_protobuf/tabular_133_0.txt | To enable auto-batching for a model running on Vertex AI Prediction, put your batching configuration into the config/batching_parameters_config file in the same GCS directory as saved_model.pb. | |
google_protobuf/604925_125_0.txt |  [ Technology areas
](https://cloud.google.com/docs/tech-area-overviews) | |
google_protobuf/tabular_129_0.txt | For Vertex AI Prediction using the optimized TensorFlow runtime, when the model is precompiled the first request for each new batch size has higher latency. Precompilation is enabled when the allow_precompilation flag is set to true. | |
google_protobuf/comgooglecloudvertex_385_0.txt |
**Returns**
---
**Type** | **Description**
` [ UnaryCallable
](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html)
< com.google.cloud.location.ListLocationsRequest ,
com.google.cloud.location.ListLocationsResponse > ` | | |
google_protobuf/604925_0_0.txt | This website uses Cookies. Click Accept to agree to our website's cookie use
as described in our [ Privacy Policy
](https://policies.google.com/technologies/cookies) . Click Preferences to
customize your cookie settings. | |
google_protobuf/PredictionServiceCli_37_0.txt | Constructs an instance of PredictionServiceClient, using the given stub for
making calls. | |
google_protobuf/comgooglecloudvertex_59_0.txt | Service Description: A service for online predictions and explanations. | |
google_protobuf/comgooglecloudvertex_264_0.txt | If deployed_model_id is specified, the corresponding DeployModel must have
explanation_spec populated. If deployed_model_id is not specified, all
DeployedModels must have explanation_spec populated. | |
google_protobuf/604925_158_0.txt |  | |
google_protobuf/tabular_137_0.txt |
def export_warmup_file(
request_files, export_path, model_name="default", signature_name="serving_default"
):
with tf.io.TFRecordWriter(export_path) as writer:
for request_file_path in request_files:
with open(request_file_path) as f:
row_dict = json.loads(f.readline())
request = build_grpc_request(row_dict, model_nam... | |
google_protobuf/tabular_62_0.txt | Set the name of your Cloud Storage bucket in the following cell. It must be unique across all Cloud Storage buckets. | |
google_protobuf/comgooglecloudvertex_476_0.txt | * ` X-Vertex-AI-Deployed-Model-Id ` : ID of the Endpoint's DeployedModel that served this prediction. | |
google_protobuf/tabular_70_0.txt |
! gsutil ls -al $BUCKET_URI | |
google_protobuf/604925_16_0.txt | * [ Google Cloud's operations suite ](/gc/Google-Cloud-s-operations-suite/bd-p/cloud-operations) | |
google_protobuf/comgooglecloudvertex_150_0.txt | GetLocation | |
google_protobuf/PredictionServiceCli_106_0.txt |
Parameters: | |
google_protobuf/comgooglecloudvertex_401_0.txt | ` parameters ` | ` [ Value
](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Value.html)
` | |
google_protobuf/tabular_136_0.txt | request = predict_pb2.PredictRequest()
request.model_spec.name = model_name
request.model_spec.signature_name = signature_name
for key, value in row_dict.items():
proto = None
if "cat" in key:
proto = tf.make_tensor_proto(value, dtype=tf.string)
else:
proto = tf.make_tensor_proto(value, dtype=tf.int64)
request.inputs[k... | |
google_protobuf/comgooglecloudvertex_91_0.txt | Request object method variants only take one parameter, a request object,
which must be constructed before the call. | |
google_protobuf/tabular_8_0.txt | Vertex AI
Cloud Storage
Learn about Vertex AI pricing and Cloud Storage pricing, and use the Pricing Calculator to generate a cost estimate based on your projected usage. | |
google_protobuf/google_protobuf_23_6.txt | MergeFrom ` ( _msg_ ) ¶
` MergeFromString ` ( _serialized_ ) ¶
` ParseFromString ` ( _serialized_ ) ¶
Parse serialized protocol buffer data into this message.
Like ` MergeFromString() ` , except we clear the object first.
Raises :
**message.DecodeError if the input cannot be pars... | |
google_protobuf/comgooglecloudvertex_283_0.txt | The request object containing all of the parameters for the API call. | |
google_protobuf/tabular_34_0.txt | Enter your project ID in the following cell. Then run the cell to make sure the Cloud SDK uses the right project for all the commands in this notebook. | |
google_protobuf/comgooglecloudvertex_315_0.txt | ### generateContent(String model, List<Content> contents) | |
google_protobuf/google_protobuf_23_13.txt | **errors** – A list which, if provided, will be populated with the field paths
of all missing required fields.
Returns :
True iff the specified message has all required fields set.
` ListFields ` ( ) ¶
` MergeFrom ` ( _msg_ ) ¶
` MergeFromString ` ( _serialized_ ) ¶
` ParseFromStrin... | |
google_protobuf/comgooglecloudvertex_342_0.txt | Gets the access control policy for a resource. Returns an empty policyif the
resource exists and does not have a policy set. | |
google_protobuf/604925_58_0.txt | ](http://twitter.com/share?text=Vertex AI: Getting a GRPC Exception when
sending a prediction request in
Java&url=https://www.googlecloudcommunity.com/gc/AI-ML/Vertex-AI-Getting-a-
GRPC-Exception-when-sending-a-prediction/m-p/604925) | |
google_protobuf/comgooglecloudvertex_562_0.txt | * ### Why Google | |
google_protobuf/comgooglecloudvertex_245_0.txt | // This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://clo... | |
google_protobuf/comgooglecloudvertex_53_0.txt | Send feedback | |
google_protobuf/tabular_157_0.txt | For more information about VPC peering in Vertex AI, see https://cloud.google.com/vertex-ai/docs/general/vpc-peering. | |
google_protobuf/comgooglecloudvertex_536_0.txt | ### streamingRawPredictCallable() | |
google_protobuf/comgooglecloudvertex_240_0.txt | **Returns**
---
**Type** | **Description**
` [ DirectPredictResponse ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.DirectPredictResponse) ` | | |
google_protobuf/comgooglecloudvertex_535_0.txt |
**Returns**
---
**Type** | **Description**
` [ BidiStreamingCallable
](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.BidiStreamingCallable.html)
< [ StreamingPredictRequest ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.StreamingPredictRequest) , [
... | |
google_protobuf/google_protobuf_23_14.txt | ( _extension_handle_ ) ¶
Clears the contents of a given extension.
Parameters :
**extension_handle** – The handle for the extension to clear.
` ClearField ` ( _field_name_ ) ¶
` CopyFrom ` ( _other_msg_ ) ¶
Copies the content of the specified message into the current message.
The ... | |
google_protobuf/comgooglecloudvertex_19_1.txt | erence/google-cloud-gke-backup/latest/overview)
* [ google-cloud-gke-connect-gateway ](/java/docs/reference/google-cloud-gke-connect-gateway/latest/overview)
* [ google-cloud-gke-multi-cloud ](/java/docs/reference/google-cloud-gke-multi-cloud/latest/overview)
* [ google-cloud-gkehub ](/java/docs/reference/google-clo... | |
google_protobuf/comgooglecloudvertex_563_0.txt | * [ Choosing Google Cloud ](/why-google-cloud/)
* [ Trust and security ](/trust-center/)
* [ Open cloud ](/open-cloud/)
* [ Multicloud ](/multicloud/)
* [ Global infrastructure ](/infrastructure/)
* [ Customers and case studies ](/customers/)
* [ Analyst reports ](/analyst-reports/)
* [ Whitepapers ](/whitepapers/)
* [... | |
google_protobuf/comgooglecloudvertex_510_0.txt | // This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://clo... | |
google_protobuf/comgooglecloudvertex_548_0.txt |
**Parameter**
---
**Name** | **Description**
` request ` | ` com.google.iam.v1.TestIamPermissionsRequest ` | |
google_protobuf/tabular_93_0.txt | Train and Save Keras Model
For an overview of how to train tabular models using TensorFlow Keras APIs, see https://github.com/tensorflow/docs/blob/r2.4/site/en/tutorials/structured_data/feature_columns.ipynb | |
google_protobuf/comgooglecloudvertex_128_0.txt | * explain(String endpoint, List<Value> instances, Value parameters, String deployedModelId) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.