1 Answer
- Newest
- Most votes
- Most comments
0
You are providing .npy file which is not a splitable type. So your transform job will only work in SingleRecord Batch Strategy.
To be able to work with files larger than 100MB you can do one of the following:
- Use processing job to run predictions (see below example for scikit learn framework):
https://sagemaker-examples.readthedocs.io/en/latest/sagemaker_processing/scikit_learn_data_processing_and_model_evaluation/scikit_learn_data_processing_and_model_evaluation.html#Model-Evaluation
Here you basically provide the model, inference code and input data to the processing job as input channels and your code should be able to produce inferences and pass them as an output.
- Or, compress your input file, then when you provide it to batch transform job, your inference code should handle extracting data and inference at the same time.
answered 3 years ago
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
