Google cloud platform 使用AI平台将图像分割模型部署到生产中:HTTP请求500错误

Google cloud platform 使用AI平台将图像分割模型部署到生产中:HTTP请求500错误,google-cloud-platform,artificial-intelligence,production-environment,google-cloud-ml,Google Cloud Platform,Artificial Intelligence,Production Environment,Google Cloud Ml,我正在尝试使用谷歌云的AI平台将tensorflow图像分割模型部署到生产中。我以前使用AI平台成功部署了自定义图像分类模型,但我尝试使用以下工具部署自定义分割模型: gcloud ai platform predict--model=%model\u NAME%--json instances=“C:\Users\umara\Desktop\DLOCTseg\Normal Image.json”--详细调试 我遇到了以下错误 ERROR: (gcloud.ai-platform.predict

我正在尝试使用谷歌云的AI平台将tensorflow图像分割模型部署到生产中。我以前使用AI平台成功部署了自定义图像分类模型,但我尝试使用以下工具部署自定义分割模型:

gcloud ai platform predict--model=%model\u NAME%--json instances=“C:\Users\umara\Desktop\DLOCTseg\Normal Image.json”--详细调试

我遇到了以下错误

ERROR: (gcloud.ai-platform.predict) HTTP request failed. Response: {
  "error": {
    "code": 500,
    "message": "Internal error encountered.",
    "status": "INTERNAL"
  }
}
在google上搜索一下()告诉我错误可能是由于输出太大。对于每个图像输入,我的输出大小为1 X 512 X 512 X 9数组

保存的模型cli

saved_model_cli show --all --dir C:\Users\umara\Desktop\DLOCTseg\export\v1
给出:

MetaGraphDef with tag-set: 'serve' contains the following SignatureDefs:

signature_def['serving_default']:
  The given SavedModel SignatureDef contains the following input(s):
    inputs['bytes'] tensor_info:
        dtype: DT_STRING
        shape: (-1)
        name: image_binary:0
  The given SavedModel SignatureDef contains the following output(s):
    outputs['conv2d_24'] tensor_info:
        dtype: DT_FLOAT
        shape: (-1, 512, 512, 9)
        name: conv2d_24/Sigmoid:0
  Method name is: tensorflow/serving/predict
如何使用AI平台在google云上部署这样的模型?是否有一种手动方式使用Docker/Kubernetes部署我的大输出图像分割模型(是否有相关教程)?任何关于在谷歌云服务器上部署此定制模型和远程访问预测的帮助都将不胜感激。谢谢