【发布时间】:2021-10-08 17:56:09
【问题描述】:
大家好,最近我开始与 sagemaker 合作,我正在测试自动驾驶仪,它获得了相当好的准确性,我想在更多数据上对其进行测试,所以我选择了具有最佳 ACC 的那个并创建了一个端点。现在的问题是我不知道如何正确使用端点。我尝试使用 AWS CLI,但不断收到以下错误:
命令:
aws sagemaker-runtime invoke-endpoint --endpoint-name autopilottest --body 'SW0gaGFwcHk=' f
错误信息:
An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (415) from container-1 with message "'application/json' is an unsupported content type.". See https://eu-west-2.console.aws.amazon.com/cloudwatch/home?region=eu-west-2#logEventViewer:group=/aws/sagemaker/Endpoints/autopilottest in account 288240193481 for more information.
命令:
aws sagemaker-runtime invoke-endpoint --endpoint-name autopilottest --body 'Im happy!' f
错误信息:
Invalid base64: "Im happy!"
【问题讨论】:
标签: amazon-web-services amazon-sagemaker endpoint