Finally, via the SageMaker Python SDK Predictor, it’s possible to run predictions against the SageMaker endpoint. Note that the script test-inference.py in the sample repo uses the same inference endpoint configured in the deploy script to make predictions against the custom ML model that’s already deployed.