我尝试在Sagemaker中使用TensorFlow-Keras模型进行预测,但收到以下错误:An error occurred (ModelErrorerror (415) from model with message " "error": "Unsupported Media Type: application/x-image"在<
在调用ModelError操作时发生了一个错误:接收到的客户端错误(415)来自不支持内容类型应用程序/八进制流的模型。受支持的内容类型是text/csv,text/libsvm。这是相关代码-from sagemaker.estimator import Estimator
from sagemaker.deserializers im
我已经使用SageMaker训练了一个Pytorch模型,该模型现在存储在一个S3存储桶中。我正在尝试检索该模型并部署它。这是我使用的代码: model_data= #link to model location in s3= sagemaker_session
predictor = estimator.deploy(initial_instan