SageMaker.Client.
list_model_metadata
(**kwargs)¶Lists the domain, framework, task, and model name of standard machine learning models found in common model zoos.
See also: AWS API Documentation
Request Syntax
response = client.list_model_metadata(
SearchExpression={
'Filters': [
{
'Name': 'Domain'|'Framework'|'Task'|'FrameworkVersion',
'Value': 'string'
},
]
},
NextToken='string',
MaxResults=123
)
One or more filters that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. Specify the Framework, FrameworkVersion, Domain or Task to filter supported. Filter names and values are case-sensitive.
A list of filter objects.
Part of the search expression. You can specify the name and value (domain, task, framework, framework version, task, and model).
The name of the of the model to filter by.
The value to filter the model metadata.
ListModelMetadataResponse
request was truncated, the response includes a NextToken. To retrieve the next set of model metadata, use the token in the next request.dict
Response Syntax
{
'ModelMetadataSummaries': [
{
'Domain': 'string',
'Framework': 'string',
'Task': 'string',
'Model': 'string',
'FrameworkVersion': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ModelMetadataSummaries (list) --
A structure that holds model metadata.
(dict) --
A summary of the model metadata.
Domain (string) --
The machine learning domain of the model.
Framework (string) --
The machine learning framework of the model.
Task (string) --
The machine learning task of the model.
Model (string) --
The name of the model.
FrameworkVersion (string) --
The framework version of the model.
NextToken (string) --
A token for getting the next set of recommendations, if there are any.