79095570

Date: 2024-10-16 19:36:06
Score: 1
Natty:
Report link

Batch Transform does not take any python code for input. It takes model name (model is created using Model class - from sagemaker.model import Model and CreateModelStep). Model class accepts an inference script (not mandatory but is one of the parameters) which just focuses on handling incoming API requests. Input data is an S3 location (directory) only. All the records, in files within this directory, are sent to model for inference and corresponding ".out" files are created in output directory. The content type like 'text/csv' defines the kind of files read for inference. These differences make batch transform step/job unique.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: akshat garg