Monitoring Vertex AI Models Rezensionen
6374 Rezensionen
I got a bunch of errors. Here is the first one ``` --------------------------------------------------------------------------- _InactiveRpcError Traceback (most recent call last) ~/.local/lib/python3.10/site-packages/google/api_core/grpc_helpers.py in error_remapped_callable(*args, **kwargs) 75 try: ---> 76 return callable_(*args, **kwargs) 77 except grpc.RpcError as exc: ~/.local/lib/python3.10/site-packages/grpc/_channel.py in __call__(self, request, timeout, metadata, credentials, wait_for_ready, compression) 1180 ) -> 1181 return _end_unary_response_blocking(state, call, False, None) 1182 ~/.local/lib/python3.10/site-packages/grpc/_channel.py in _end_unary_response_blocking(state, call, with_call, deadline) 1005 else: -> 1006 raise _InactiveRpcError(state) # pytype: disable=not-instantiable 1007 _InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.INVALID_ARGUMENT details = "Request contains an invalid argument." debug_error_string = "UNKNOWN:Error received from peer ipv4:172.217.203.95:443 {grpc_message:"Request contains an invalid argument.", grpc_status:3, created_time:"2024-11-08T22:35:41.878314036+00:00"}" > The above exception was the direct cause of the following exception: InvalidArgument Traceback (most recent call last) /var/tmp/ipykernel_8985/2509895047.py in <cell line: 18>() 16 prediction_drift_detection_config=drift_config, 17 ) ---> 18 model_ids = get_deployed_model_ids(ENDPOINT_ID) 19 objective_template = ModelDeploymentMonitoringObjectiveConfig( 20 objective_config=objective_config /var/tmp/ipykernel_8985/1942246749.py in get_deployed_model_ids(endpoint_id) 84 client = EndpointServiceClient(client_options=client_options) 85 parent = f"projects/{PROJECT_ID}/locations/{REGION}" ---> 86 response = client.get_endpoint(name=f"{parent}/endpoints/{endpoint_id}") 87 model_ids = [] 88 for model in response.deployed_models: ~/.local/lib/python3.10/site-packages/google/cloud/aiplatform_v1beta1/services/endpoint_service/client.py in get_endpoint(self, request, name, retry, timeout, metadata) 1089 1090 # Send the request. -> 1091 response = rpc( 1092 request, 1093 retry=retry, ~/.local/lib/python3.10/site-packages/google/api_core/gapic_v1/method.py in __call__(self, timeout, retry, compression, *args, **kwargs) 129 kwargs["compression"] = compression 130 --> 131 return wrapped_func(*args, **kwargs) 132 133 ~/.local/lib/python3.10/site-packages/google/api_core/timeout.py in func_with_timeout(*args, **kwargs) 118 kwargs["timeout"] = max(0, self._timeout - time_since_first_attempt) 119 --> 120 return func(*args, **kwargs) 121 122 return func_with_timeout ~/.local/lib/python3.10/site-packages/google/api_core/grpc_helpers.py in error_remapped_callable(*args, **kwargs) 76 return callable_(*args, **kwargs) 77 except grpc.RpcError as exc: ---> 78 raise exceptions.from_grpc_error(exc) from exc 79 80 return error_remapped_callable InvalidArgument: 400 Request contains an invalid argument. ``` Here's another: ``` endpoint output: ['Using endpoint [https://us-central1-aiplatform.googleapis.com/]', 'ERROR: (gcloud.ai.endpoints.create) FAILED_PRECONDITION: The request has violated one or more Org Policies: violations {', ' description: "The project 281226243097 failed the org policy enforcement check for `constraints/gcp.resourceLocations`. Please refer to https://pantheon.corp.google.com/iam-admin/orgpolicies/gcp-resourceLocations?project=281226243097 to review the project resource location restriction."', '}', ''] Model churn//flags deployed to Endpoint churn//. ```
Michael P. · Vor mehr als ein Jahr überprüft
ERROR: (gcloud.ai.models.upload) FAILED_PRECONDITION: Service account `service-988141547119@gcp-sa-aiplatform.iam.gserviceaccount.com` does not have `[storage.objects.get]` IAM permission(s) to the directory "gs://mco-mm/churn". Please either copy the files to the Google Cloud Storage bucket owned by your project, or grant the required IAM permission(s) to the service account.']. Public permissions has been revoked from bucket gs://mco-mm/churn.
Marek N. · Vor mehr als ein Jahr überprüft
Juan Pablo H. · Vor mehr als ein Jahr überprüft
Ali A. · Vor mehr als ein Jahr überprüft
Ali A. · Vor mehr als ein Jahr überprüft
VIKRANT M. · Vor mehr als ein Jahr überprüft
FNU A. · Vor mehr als ein Jahr überprüft
Brayan T. · Vor mehr als ein Jahr überprüft
Soumik K. · Vor mehr als ein Jahr überprüft
Amit K. · Vor mehr als ein Jahr überprüft
Brayan T. · Vor mehr als ein Jahr überprüft
Xi Y. · Vor mehr als ein Jahr überprüft
When copying hte model to my project bucket I found the message: model output: ['Usi"ng endpoint [https://europe-west4-aiplatform.googleapis.com/]', 'ERROR: (gcloud.ai.models.upload) FAILED_PRECONDITION: Service account `service-97191162952@gcp-sa-aiplatform.iam.gserviceaccount.com` does not have `[storage.objects.get]` IAM permission(s) to the directory "gs://mco-mm/churn". Please either copy the files to the Google Cloud Storage bucket owned by your project, or grant the required IAM permission(s) to the service account.']" Even re-running the cell multiple times as indicated in the notebook text, I continued to get the same message. Then I could not complete the Lab.
Alessandro A. · Vor mehr als ein Jahr überprüft
Maria Laura B. · Vor mehr als ein Jahr überprüft
Noel H. · Vor mehr als ein Jahr überprüft
Gustavo G. · Vor mehr als ein Jahr überprüft
Terence S. · Vor mehr als ein Jahr überprüft
Sarah Daniela V. · Vor mehr als ein Jahr überprüft
Sini S. · Vor mehr als ein Jahr überprüft
Can't import model
Hiroyuki S. · Vor mehr als ein Jahr überprüft
Umesh I. · Vor mehr als ein Jahr überprüft
Dharshni A. · Vor mehr als ein Jahr überprüft
Vishal Deep M. · Vor mehr als ein Jahr überprüft
Archish C. · Vor mehr als ein Jahr überprüft
Andres A. · Vor mehr als ein Jahr überprüft
Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.