Cannot invoke sagemaker endpoint, keep getting OS error

how have your created the model.tar.gz? The error indicates that the structure of it is wrong. Check the documentation: Deploy models to Amazon SageMaker

1 Like