artificial intelligence – Google explainable error at 429 The traffic rate exceeds the service capacity. Decrease your traffic or reduce the size of your template

[ad_1]

I am trying to interpret an image prediction model using Google’s explainable AI, but I get a 429 error. The model I want to interpret is a model that uses the large model of mobilenet v3 and applies transfer learning.

python code:

ig_response = remote_ig_model.explain (instances)

results:

ValueError: The target URI https://asia-northeast1-ml.googleapis.com/v1/projects/cellimaging/models/A549_4/versions/v_ig_4:explain returns HTTP 429 error. Check raw error message : {“error”: {“code”: 429, “message”: “The traffic speed exceeds the publishing capacity. Decrease the traffic or reduce the size of your model: projects / 842842301933 / models / A549_4 / versions / v_ig_4 . “,” status “:” RESOURCE_EXHAUSTED “}}

When creating a service model using ai-platform, the command is as follows.

code :

! gcloud beta ai-platform versions create $ IG_VERSION –region = ‘asia-northeast1’ –model $ MODEL –origin $ export_path –runtime-version 2.2 –framework TENSORFLOW –python-version 3.7 –machine-type n1-highcpu-32 –explanation-method Integrated-gradients –num-integral-steps 25

I got a 429 error and tried to change the machine type (n1-standard-4 -> n1-highcpu-32), but the error was not fixed.

Sources

1/ https://Google.com/

2/ https://stackoverflow.com/questions/68356127/google-explainable-ai-429-error-rate-of-traffic-exceeds-serving-capacity-decrea

The mention sources can contact us to remove/changing this article

[ad_2]

Related Posts