3

Following the starter tutorial "Train a Tabular Model" I get the following error at the step of testing the model with the deployed endpoint. (As you can see in the image).

enter image description here

The dataset used for training the model is provided by google tutorial at this cloud location : cloud-ml-tables-data/bank-marketing.csv

Error message :

The prediction did not succeed due to the following error: Deployed model xxxxx does not support explanation.

Official Vertex tutorial (Tabular data)

What I belive is the old version of the tutorial (not on vertex) but almost the same

BorisD
  • 1,611
  • 17
  • 22
  • you could try *list* , *describe* to drill down on endpoints and model-state ( deployed or undeployed) using the cli gcloud ai endpoints list --region=us-central1 gcloud ai endpoints describe $ENDPT --region=us-central1 https://stackoverflow.com/questions/67622282/how-to-undeploy-a-model-or-specifically-how-to-get-deployed-models-id-from-she – Robert Rowntree Feb 12 '23 at 16:53
  • @BorisD Is it possible to share the article you are following? – kiran mathew Feb 13 '23 at 11:20
  • @kiranmathew sure, I have updated the question, links are on the bottom of the question – BorisD Feb 13 '23 at 13:54

1 Answers1

5

When you deploy your model, you should mark the option for enable feature attributions for this model in Explainability options as you can see here. As default the option is not enabled. I know that in the tutorial it is not specified and should be. This is the same error if the model does not have this 'feature attributions' enabled and you run gcloud ai endpoints explain ENDPOINT_ID