google-cloud-platformgoogle-cloud-vertex-aigoogle-cloud-automl

Vertex AI on G Cloud web interface : Unable to test model


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


Solution

  • 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