How to run a batch transformation with custom inference code in sagemaker pipeline?

0

based on the docs here , https://sagemaker-examples.readthedocs.io/en/latest/sagemaker-pipelines/tabular/abalone_build_train_deploy/sagemaker-pipelines-preprocess-train-evaluate-batch-transform.html#Define-a-Transform-Step-to-Perform-Batch-Transformation, after creating a model, the example shows a batch transform job is run. how to include any custom inference script that is required to get an inference from the model.

質問済み 1年前331ビュー
1回答
1

The inference code plus model artifacts information is defined with SageMaker Model. In SageMaker Model, you have the option of which model artifact to use plus which inference script to use, usually defined as entry_point in the model object.

To be more specific, after training, you need a step to create/register the model as described here. During this process, you could choose appropriate model artifacts with inference scripts.

Then this model could be defined to be used in a transform job.

AWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ