You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Google Cloud Vertex AI表格模型测试报错:Deployed model不支持解释

解决Vertex AI表格模型测试时的解释不支持错误

问题背景

按照《Train a Tabular Model》入门教程操作,使用谷歌提供的云存储数据集cloud-ml-tables-data/bank-marketing.csv完成模型训练后,测试已部署的endpoint时触发错误:

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

解决方案

  • 检查部署配置:AutoML表格模型默认不启用解释功能,若测试请求包含解释相关需求,需重新部署模型并开启解释支持——部署时在界面勾选“启用解释”,或通过API部署时添加enable_explainability=True参数。
  • 简化测试请求:如果仅需获取预测结果,无需解释,删除请求中所有和解释相关的配置项(比如explanation_spec字段),仅提交基础预测数据即可。
  • 重新部署验证:若之前部署未开启解释,删除当前的endpoint部署实例,重新部署模型并启用解释功能后再执行测试。

内容的提问来源于stack exchange,提问作者BorisD

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.01 14:01:26