id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
google_protobuf/comgooglecloudvertex_420_0.txt | Required. The instances that are the input to the prediction call. A
DeployedModel may have an upper limit on the number of instances it supports
per request, and when it is exceeded the prediction call errors in case of
AutoML Models, or, in case of customer created Models, the behaviour is as
documented by that Model... | |
google_protobuf/comgooglecloudvertex_405_0.txt | public final PredictResponse predict(PredictRequest request) | |
google_protobuf/PredictionServiceCli_58_0.txt | ` com.google.api.HttpBody ` | ` [ rawPredict
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#rawPredict-
java.lang.String-com.google.api.HttpBody-) ( [ String
](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-
external=true "class or interface in java.lang") endpoint,
co... | |
google_protobuf/tabular_84_0.txt | Numerical values are normalized by subtracting their average and dividing by their standard deviation. The average values and the standard deviations are precalculated for each numerical feature. The vocabulary sizes are precalculated for each categorical feature. | |
google_protobuf/604925_112_0.txt | [ View solution in original post ](/gc/AI-ML/Vertex-AI-Getting-a-GRPC-
Exception-when-sending-a-prediction/m-p/604925#M2198) | |
google_protobuf/PredictionServiceCli_80_0.txt | ` [ IOException ](https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true "class or interface in java.io") `
* #### create | |
google_protobuf/comgooglecloudvertex_160_0.txt | * setIamPolicy(SetIamPolicyRequest request) | |
google_protobuf/google_protobuf_12_2.txt | .field_mask_pb2 ](../field_mask_pb2.html)
* google.protobuf.internal.containers
* [ google.protobuf.json_format ](../json_format.html)
* [ google.protobuf.message ](../message.html)
* [ google.protobuf.message_factory ](../message_factory.html)
* [ google.protobuf.proto_builder ](../proto_builder.html)
* [... | |
google_protobuf/PredictionServiceCli_153_0.txt |
* #### explain | |
google_protobuf/comgooglecloudvertex_533_0.txt | Sample code: | |
google_protobuf/604925_33_0.txt | * [ Using the Community ](/gc/Using-the-Community/tkb-p/cloud-using-community) | |
google_protobuf/604925_120_0.txt |   | |
google_protobuf/PredictionServiceCli_10_0.txt | * [ java.lang.Object ](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true "class or interface in java.lang")
* * com.google.cloud.aiplatform.v1.PredictionServiceClient | |
google_protobuf/comgooglecloudvertex_383_0.txt | Sample code: | |
google_protobuf/tabular_132_0.txt | If you expect the model to receive multiple batch sizes, you can use automatic server-side request batching with a set of allowed_batch_sizes. For more information, see https://www.tensorflow.org/tfx/serving/serving_config#batching_configurationß. | |
google_protobuf/comgooglecloudvertex_314_0.txt | **Returns**
---
**Type** | **Description**
` [ GenerateContentResponse ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.GenerateContentResponse) ` | | |
google_protobuf/PredictionServiceCli_95_0.txt | public final [PredictResponse](https://github.com/googleapis/java-/proto-google-cloud-aiplatform-v1/apidocs/com/google/cloud/aiplatform/v1/PredictResponse.html?is-external=true "class or interface in com.google.cloud.aiplatform.v1") predict([String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-ext... | |
google_protobuf/comgooglecloudvertex_541_0.txt |
**Returns**
---
**Type** | **Description**
` [ BidiStreamingCallable
](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.BidiStreamingCallable.html)
< [ StreamingRawPredictRequest ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.StreamingRawPredictRequest... | |
google_protobuf/comgooglecloudvertex_472_0.txt | public final UnaryCallable<RawPredictRequest,HttpBody> rawPredictCallable() | |
google_protobuf/tabular_248_0.txt |
np.max(np.abs(tf_opt_lossy_gpu_predictions - tf27_gpu_predictions)) * 100 | |
google_protobuf/tabular_89_0.txt |
def read_gcs(batch_size=64):
file_name = os.path.join(LOCAL_DIRECTORY_FULL, "data", "train.txt")
record_defaults = list(
tf.int64
if column_name == "label"
else tf.constant(0, dtype=tf.int64)
if column_name.startswith("int")
else tf.constant("", dtype=tf.string)
for column_name in COLUMN_NAMES
)
dataset = tf.data.expe... | |
google_protobuf/604925_181_0.txt | * [ AI ML ](/gc/forums/filteredbylabelpage/board-id/cloud-ai-ml/label-name/ai%20ml) 1
* [ AI ML General ](/gc/forums/filteredbylabelpage/board-id/cloud-ai-ml/label-name/ai%20ml%20general) 519
* [ AutoML ](/gc/forums/filteredbylabelpage/board-id/cloud-ai-ml/label-name/automl) 197
* [ Bison ](/gc/forums/filteredbylab... | |
google_protobuf/comgooglecloudvertex_98_0.txt | * directRawPredict(DirectRawPredictRequest request) | |
google_protobuf/comgooglecloudvertex_480_0.txt | ### serverStreamingPredictCallable() | |
google_protobuf/PredictionServiceCli_161_0.txt | ` com.google.api.gax.rpc.ApiException ` \- if the remote call fails
* #### explain | |
google_protobuf/comgooglecloudvertex_126_0.txt | "Flattened" method variants have converted the fields of the request object
into function parameters to enable multiple ways to call the same method. | |
google_protobuf/tabular_166_0.txt | To run this command with your user account, do the following: | |
google_protobuf/tabular_153_0.txt |
!ls -alh $LOCAL_DIRECTORY_FULL/requests/requests_1_512.jsonl | |
google_protobuf/google_protobuf_25_0.txt | # google.protobuf.reflection ¶
Contains a metaclass and helper functions used to create protocol message
classes from Descriptor objects at runtime.
Recall that a metaclass is the “type” of a class. (A class is to a metaclass
what an instance is to a class.)
In this case, we use the GeneratedProtocolMessageType me... | |
google_protobuf/tabular_2_0.txt | For additional information about Vertex AI Prediction optimized TensorFlow runtime containers, please refer to https://cloud.google.com/vertex-ai/docs/predictions/optimized-tensorflow-runtime. | |
google_protobuf/PredictionServiceCli_133_0.txt | ` endpoint ` \- Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
` httpBody ` \- The prediction input. Supports HTTP headers and arbitrary data payload. | |
google_protobuf/comgooglecloudvertex_154_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_45_0.txt | Authenticate your Google Cloud account
If you are using Vertex AI Workbench Notebooks, your environment is already authenticated. Skip this step. | |
google_protobuf/google_protobuf_0_0.txt | # google.protobuf.unknown_fields ¶
Contains Unknown Fields APIs.
Simple usage example:
unknown_field_set = UnknownFieldSet(message) for unknown_field in
unknown_field_set:
> wire_type = unknown_field.wire_type field_number =
> unknown_field.field_number data = unknown_field.data
_class_ ` google.protobuf.u... | |
google_protobuf/comgooglecloudvertex_198_0.txt | [ Object.toString()
](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) | |
google_protobuf/comgooglecloudvertex_417_0.txt |
**Parameters**
---
**Name** | **Description**
` endpoint ` | ` [ String
](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) ` | |
google_protobuf/comgooglecloudvertex_303_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/tabular_218_0.txt | You can also benchmark your models deployed on private endpoint using gRPC protocol. | |
google_protobuf/comgooglecloudvertex_278_0.txt | Perform an online explanation. | |
google_protobuf/comgooglecloudvertex_20_0.txt | * [ google-cloud-kms ](/java/docs/reference/google-cloud-kms/latest/overview)
* [ google-cloud-kmsinventory ](/java/docs/reference/google-cloud-kmsinventory/latest/overview)
* [ google-cloud-language ](/java/docs/reference/google-cloud-language/latest/overview)
* [ google-cloud-life-sciences ](/java/docs/reference/... | |
google_protobuf/tabular_72_0.txt | import json
import math
import os
import re
import sys
from urllib.parse import urlparse | |
google_protobuf/tabular_252_0.txt | response = endpoint_service_client.delete_endpoint(name=endpoint)
print("running delete_endpoint operation:", response.operation.name)
print(response.result()) | |
google_protobuf/604925_70_0.txt | I have deployed a custom model (from a Docker image) in a Vertex AI endpoint. | |
google_protobuf/tabular_46_0.txt | If you are using Colab, run the cell below and follow the instructions when prompted to authenticate your account via oAuth. | |
google_protobuf/comgooglecloudvertex_268_0.txt | Required. The name of the Endpoint requested to serve the explanation. Format:
` projects/{project}/locations/{location}/endpoints/{endpoint} ` | |
google_protobuf/comgooglecloudvertex_224_0.txt | **Parameter**
---
**Name** | **Description**
` stub ` | ` [ PredictionServiceStub ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.stub.PredictionServiceStub) ` | |
google_protobuf/comgooglecloudvertex_112_0.txt | * streamingPredictCallable() | |
google_protobuf/tabular_152_0.txt | Notice that a single request with a batch size of 512 takes ~200Kb. | |
google_protobuf/604925_102_0.txt |  | |
google_protobuf/604925_143_0.txt | 0 Likes | |
google_protobuf/PredictionServiceCli_2_0.txt | * [ Overview ](../../../../../overview-summary.html)
* [ Package ](package-summary.html)
* Class
* [ Use ](class-use/PredictionServiceClient.html)
* [ Tree ](package-tree.html)
* [ Deprecated ](../../../../../deprecated-list.html)
* [ Index ](../../../../../index-all.html)
* [ Help ](../../../../../help-doc.html) | |
google_protobuf/comgooglecloudvertex_256_0.txt | public final UnaryCallable<DirectRawPredictRequest,DirectRawPredictResponse> directRawPredictCallable() | |
google_protobuf/comgooglecloudvertex_478_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/PredictionServiceCli_63_0.txt | ` [ clone
](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-
external=true#clone-- "class or interface in java.lang") , [ equals
](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-
external=true#equals-java.lang.Object- "class or interface in java.lang") , [
finalize ](https://docs.... | |
google_protobuf/PredictionServiceCli_44_0.txt | ` com.google.api.gax.rpc.UnaryCallable< [ ExplainRequest
](https://github.com/googleapis/java-/proto-google-cloud-
aiplatform-v1/apidocs/com/google/cloud/aiplatform/v1/ExplainRequest.html?is-
external=true "class or interface in com.google.cloud.aiplatform.v1") , [
ExplainResponse ](https://github.com/googleapis/java-/... | |
google_protobuf/comgooglecloudvertex_512_0.txt | ### streamDirectRawPredictCallable() | |
google_protobuf/comgooglecloudvertex_412_0.txt | ### predict(String endpoint, List<Value> instances, Value parameters) | |
google_protobuf/google_protobuf_13_0.txt | # google.protobuf.empty_pb2 ¶
Generated protocol buffer code.
_class_ ` google.protobuf.empty_pb2. ` ` Empty ` ( _**kwargs_ ) ¶
` ByteSize ` ( ) ¶
` Clear ` ( ) ¶
` ClearExtension ` ( _extension_handle_ ) ¶
Clears the contents of a given extension.
Parameters :
**extensi... | |
google_protobuf/google_protobuf_19_1.txt | hat the RPC call be canceled.
The RPC system may cancel it immediately, may wait awhile and then cancel it,
or may not even cancel the call at all. If the call is canceled, the “done”
callback will still be called and the RpcController will indicate that the
call failed at that time.
_exception_ ` google.protobuf.serv... | |
google_protobuf/comgooglecloudvertex_298_0.txt | If specified, this ExplainRequest will be served by the chosen DeployedModel,
overriding Endpoint.traffic_split . | |
google_protobuf/604925_165_0.txt | * Mark as New
* Bookmark
* Subscribe
* Mute
* * [ Subscribe to RSS Feed ](https://www.googlecloudcommunity.com/rss/message?board.id=cloud-ai-ml&message.id=2198)
* * [ Permalink ](/gc/AI-ML/Vertex-AI-Getting-a-GRPC-Exception-when-sending-a-prediction/m-p/604925/highlight/true#M2198)
* [ Print ](/gc/forums/forumtopic... | |
google_protobuf/604925_65_0.txt | * Mark as New
* Bookmark
* Subscribe
* Mute
* * [ Subscribe to RSS Feed ](https://www.googlecloudcommunity.com/rss/message?board.id=cloud-ai-ml&message.id=2093)
* * [ Permalink ](/gc/AI-ML/Vertex-AI-Getting-a-GRPC-Exception-when-sending-a-prediction/m-p/600835/highlight/true#M2093)
* [ Print ](/gc/forums/forumtopic... | |
google_protobuf/604925_90_0.txt | [ ](/gc/AI-ML/Vertex-AI-Getting-a-GRPC-Exception-when-sending-a-
prediction/m-p/604925#M2198) | |
google_protobuf/604925_182_0.txt | * « Previous
* [ Next » ](https://www.googlecloudcommunity.com/gc/AI-ML/Vertex-AI-Getting-a-GRPC-Exception-when-sending-a-prediction/td-p/600835/page/2) | |
google_protobuf/PredictionServiceCli_57_0.txt | Perform an online prediction with an arbitrary HTTP payload. | |
google_protobuf/tabular_221_0.txt |
def parse_endpoint_dict(endpoint_dict):
endpoint_id = re.match(r".+/endpoints/(\d+)", endpoint_dict.name)[1]
deployed_model_id = endpoint_dict.deployed_models[0].id
grpc_destination = f"{endpoint_id}-{deployed_model_id}"
predict_uri = urlparse(
endpoint_dict.deployed_models[0].private_endpoints.predict_http_uri
)
grpc... | |
google_protobuf/604925_35_0.txt | * [ Cloud Events ](/gc/Cloud-Events/eb-p/cloud-events) | |
google_protobuf/tabular_232_0.txt |
import matplotlib
import matplotlib.pyplot as plt | |
google_protobuf/PredictionServiceCli_62_0.txt | ` void ` | ` [ shutdown
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#shutdown--)
() `
` void ` | ` [ shutdownNow
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#shutdownNow--)
() `
* ### Methods inherited from class java.lang. [ Object ](https://docs.oracl... | |
google_protobuf/comgooglecloudvertex_51_0.txt | * [ Google Cloud Home ](/)
* [ Free Trial and Free Tier ](/free)
* [ Architecture Center ](/architecture)
* [ Blog ](https://cloud.google.com/blog)
* [ Contact Sales ](/contact)
* [ Google Cloud Developer Center ](/developers)
* [ Google Developer Center ](https://developers.google.com/)
* [ Google Cloud Marketp... | |
google_protobuf/comgooglecloudvertex_261_0.txt | ### explain(EndpointName endpoint, List<Value> instances, Value parameters,
String deployedModelId) | |
google_protobuf/tabular_90_0.txt | transformed_ds = (
dataset.batch(batch_size).shuffle(500).map(transform_row).prefetch(50)
) | |
google_protobuf/comgooglecloudvertex_238_0.txt |
**Parameter**
---
**Name** | **Description**
` request ` | ` [ DirectPredictRequest ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.DirectPredictRequest) ` | |
google_protobuf/comgooglecloudvertex_253_0.txt | The request object containing all of the parameters for the API call. | |
google_protobuf/tabular_3_0.txt | Dataset
In this sample you use Criteo Kaggle dataset, which takes about 4GB. | |
google_protobuf/tabular_255_0.txt | You can now also remove model from GCS bucket as well. | |
google_protobuf/PredictionServiceCli_38_0.txt | ` [ ExplainResponse ](https://github.com/googleapis/java-/proto-google-cloud-
aiplatform-v1/apidocs/com/google/cloud/aiplatform/v1/ExplainResponse.html?is-
external=true "class or interface in com.google.cloud.aiplatform.v1") ` | ` [
explain
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#... | |
google_protobuf/comgooglecloudvertex_484_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_164_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/google_protobuf_15_0.txt | # google.protobuf.message_factory ¶
Provides a factory class for generating dynamic messages.
The easiest way to use this class is if you have access to the FileDescriptor
protos containing the messages you want to create you can just do the
following:
message_classes = message_factory.GetMessages(iterable_of_file... | |
google_protobuf/604925_41_0.txt | Did you mean: | |
google_protobuf/comgooglecloudvertex_457_0.txt | public final HttpBody rawPredict(String endpoint, HttpBody httpBody) | |
google_protobuf/comgooglecloudvertex_145_0.txt | Request object method variants only take one parameter, a request object,
which must be constructed before the call. | |
google_protobuf/comgooglecloudvertex_359_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.GetLocationRequest ,
com.google.cloud.location.Location > ` | | |
google_protobuf/PredictionServiceCli_50_0.txt | ` [ PredictResponse ](https://github.com/googleapis/java-/proto-google-cloud-
aiplatform-v1/apidocs/com/google/cloud/aiplatform/v1/PredictResponse.html?is-
external=true "class or interface in com.google.cloud.aiplatform.v1") ` | ` [
predict
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#... | |
google_protobuf/604925_22_0.txt | * [ Cloud FinOps and Cost Optimization Community ](/gc/Cloud-FinOps-and-Cost/gh-p/cloud-fin-ops) | |
google_protobuf/comgooglecloudvertex_35_1.txt | eGrpc.PredictionServiceFutureStub ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.api.PredictionServiceGrpc.PredictionServiceFutureStub)
* [ PredictionServiceGrpc.PredictionServiceImplBase ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.api.PredictionService... | |
google_protobuf/comgooglecloudvertex_230_0.txt | **Returns**
---
**Type** | **Description**
` [ boolean
](https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html) `
|
**Exceptions**
---
**Type** | **Description**
` [ InterruptedException
](https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html)
` | | |
google_protobuf/PredictionServiceCli_118_0.txt | Sample code: | |
google_protobuf/comgooglecloudvertex_522_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_374_0.txt | Lists information about the supported locations for this service. | |
google_protobuf/604925_187_0.txt | [

DamianS 
](/gc/user/viewprofilepage/user-id/374367) | |
google_protobuf/PredictionServiceCli_32_0.txt | All Methods [ Static Methods ](javascript:show\(1\);) [ Instance Methods
](javascript:show\(2\);) [ Concrete Methods ](javascript:show\(8\);) Modifier
and Type | Method and Description
---|---
` boolean ` | ` [ awaitTermination
](../../../../../com/google/cloud/aiplatform/v1/PredictionServiceClient.html#awaitTermin... | |
google_protobuf/tabular_51_0.txt | In the Grant this service account access to project section, click the Role drop-down list. Type "Vertex AI" into the filter box, and select Vertex AI Administrator. Type "Storage Object Admin" into the filter box, and select Storage Object Admin. | |
google_protobuf/comgooglecloudvertex_331_0.txt |
**Returns**
---
**Type** | **Description**
` [ UnaryCallable
](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html)
< [ GenerateContentRequest ](/java/docs/reference/google-cloud-
vertexai/latest/com.google.cloud.vertexai.api.GenerateContentRequest) , [
GenerateContentRes... | |
google_protobuf/comgooglecloudvertex_346_0.txt | ### getLocation(GetLocationRequest request) | |
google_protobuf/comgooglecloudvertex_565_0.txt | * [ Infrastructure modernization ](/solutions/infrastructure-modernization/)
* [ Databases ](/solutions/databases/)
* [ Application modernization ](/solutions/application-modernization/)
* [ Smart analytics ](/solutions/smart-analytics/)
* [ Artificial Intelligence ](/solutions/ai/)
* [ Security ](/solutions/security/)... | |
google_protobuf/comgooglecloudvertex_436_0.txt | Sample code: | |
google_protobuf/comgooglecloudvertex_226_0.txt | ### awaitTermination(long duration, TimeUnit unit) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.