1 回答
- 最新
- 投票最多
- 评论最多
0
Hi,
in order to register a multi-container model you need to use the PipelineModel class instead of the Model one you are trying to do currently.
An example of this can be found in this notebook: https://github.com/aws/amazon-sagemaker-examples/blob/main/sagemaker-pipelines/tabular/train-register-deploy-pipeline-model/train%20register%20and%20deploy%20a%20pipeline%20model.ipynb
In this example a pipeline model is created with 2 containers, first one is an sklearn one doing some preprocessing and the second an XGBoost one for ML inference. However, in your case, the number or containers, type, invocation order and more, may differ, but you should be able to draw parallels based on this example.
Hope this helps,
已回答 2 年前
相关内容
- AWS 官方已更新 2 年前
Thank you for the answer. Please correct me if I'm wrong but in case of an inference pipeline using a PipelineModel class, the models are run serially and the output of the first model goes in as input of second model. What I'm trying to achieve is through invoking the same endpoint, I want to retrieve output from a sentiment prediction model and an intent recognition model.