在端点顶点AI上部署模型时出错
我正在研究一个我需要在顶点AI端点上部署的模型。该模型是在Tensorflow中开发的DNN。我在本地保存了该模型,加载到GCS并将其导入到Vertex AI模型部分中,没有问题。当我尝试将其部署到新的端点顶点响应中时,请参见以下内容: 在此处输入图像描述
我尝试搜索错误的错误发现错误的列表: 1.Field:deployed_model.prediction_resources;消息:未设置所需字段。,但什么也没有找到。可能是什么原因?
TensorFlow和Python的版本是Google给出的预构建环境的相同,该模型通过tf.keras.model.save(model,model_path)保存。
I'm working on a model that I need to deploy on a Vertex AI endpoint. The model is a DNN developed in Tensorflow. I've saved the model locally, loaded to GCS and imported it in the Vertex AI Model section without problems. When I'm trying to deploy it to a new endpoint Vertex responses is the following:
enter image description here
I've tried to search the error List of found errors: 1.Field: deployed_model.prediction_resources; Message: Required field is not set. but found nothing. What could be the cause?
Version of tensorflow and python are the same of the pre-built environment given by Google, the model is saved through tf.keras.Model.save(model, model_path).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,这不是答案,而只是想在此问题中添加更多上下文。我认为这是一个错误,因为我用来上传模型并将其部署到端点的脚本昨天由于此错误而失败。最奇怪的是,成功上传模型后,我尝试
gcloud AI模型列表
时出现错误。更多信息在这里: https://issuetracker.google.google.com/issues/issues/237421435Sorry this is not an answer but just want to add more context to this issue. I think this is a bug because the script I had used to upload the model and deploy it to endpoint just failed yesterday because of this error. The weirdest thing is that the error appears when I try to
gcloud ai model list
after successfully uploading the model. More info here: https://issuetracker.google.com/issues/237421435