如何使用标签搜索Amazon Sagemaker模型?

发布于 2025-02-12 20:01:23 字数 798 浏览 2 评论 0 原文

当我在Amazon Sagemaker控制台(Amazon Sagemaker- teprence-≫ Models)中打开模型详细信息时,细节清楚地显示了在创建过程中已添加到模型中的标签。

tag详细信息在Amazon Sagemaker Models Console 中,

但是Amazon SageMaker提供的搜索API, https://docs.aws.aws.aws.aws.aws.amazon.com/sagemaker.com/sagemaker/sagemaker/latest/latest/apireference/ api_search.html

只能提到使用标签以下资源:

有效的值:训练job |实验|实验| 实验性分析|端点| ModelPackage | ModelPackageGroup |管道| PipelineExecution |功能组|项目| tapuremetadata

/ModelPackage详细信息,因此,如果有这样做的方法,请分享。另外,如果无法使用标签来获取它,例如搜索API文档的建议,模型详细信息中仍然存在标签的目的是什么?

When I open the Model details in the Amazon SageMaker console,(Amazon SageMaker->Inference->Models), the details clearly show Tags that have been added to the model during it's creation.

Tag details in the Amazon SageMaker Models console

But the Search API provided by Amazon SageMaker, https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Search.html

mentions only the following resources can be searched for using Tags:

Valid Values: TrainingJob | Experiment | ExperimentTrial |
ExperimentTrialComponent | Endpoint | ModelPackage | ModelPackageGroup
| Pipeline | PipelineExecution | FeatureGroup | Project |
FeatureMetadata

I wish to obtain Model details, not the ModelPackageGroup/ModelPackage details, using Tags so if there is a way to do that, please share. Also if there is no way to obtain it using Tags, like the Search API Documentation suggests, what is the purpose of the Tags still present in the Model details?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

慢慢从新开始 2025-02-19 20:01:23

Sagemaker中的模型无法通过搜索API搜索。

您可以使用标签API基于标签值来找到资源 - https://docs.aws.amazon.com/cli/latest/reference/Resourcegroupstaggingapi/get-resources.html

Models in SageMaker are not searchable through the Search API.

You can use the Tags API to find your resources based on Tag values - https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文