GCP AI平台顶点端点模型undeploy:404带有ID`2367889687867的部署模式
我正在尝试从端点上解开模型,以下此文档。
Endpoint.undeploy(deployed_model_id=model_id)
我什至尝试过。同样的问题也是如此。
获取404错误
缺少具有ID
2367889687867的部署模型
。
信息:
- 模型和端点都在同一区域。
- 在端点中有一个单个模型,
cropart_percentage = 100
。
I am trying to un-deploy model from an endpoint following this documentation.
Endpoint.undeploy(deployed_model_id=model_id)
I even tried google api. Same Issue with this as well.
Getting 404 error
The Deployed Model with ID
2367889687867
is missing.
INFO:
- Both model and Endpoint are in same region.
- There is a single model deployed in the endpoint with
traffic_percentage=100
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
deployed_model_id
不同于model_id
。这就是为什么您遇到错误404的原因,它正在搜索不相同的东西。使用
list_models()
为您提供所有已部署的模型ID的列表,而使用list(),则可以获取
depareed_model_id
by:list_models( )list()list() 只带一个,您可以添加过滤器,例如
display_name
,model_id
,region
等。 >使用云SDK deployed_model_id 。
此外,您可以指定
deployed_model_id
使用云SDK部署模型时命令应该看起来像:当您部署诸如端点,项目,区域,区域,模型之类的模型时,需要一些标志和显示名称。还有其他可选标志您可以使用deployed_model_id是其中之一(我不知道这是可能的,但您是否可以设置Deployed_model_id与model_id相同。
The
deployed_model_id
is different from themodel_id
.That’s why you are getting the Error 404, it is searching for something that is not the same.You can get the
deployed_model_id
by:Using
list_models()
brings you a list of all the deployed models ids, while usinglist()
only brings one, you can add filters such asdisplay_name
,model_id
,region
, etc.You also can get the
deployed_model_id
using the Cloud SDK.Additionally, you can specify the
deployed_model_id
when you are deploying your model using Cloud SDK the command should look like:There are some flags that are required when you deploy a model such as endpoint, project, region, model and display name. And there are others that are optional flags that you can use deployed_model_id is one of them.(I don’t know if this is possible but you could set the deployed_model_id as the same as the model_id).