AWSAWS CLI/CloudShell报错Invalid base64
Posted _less is more
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AWSAWS CLI/CloudShell报错Invalid base64相关的知识,希望对你有一定的参考价值。
背景:用的工具是AWS CloudShell,跟着教程做
但在运行如下命令时报错Invalid base64: "instances: [in0:[863],in1:[882]]"
aws sagemaker-runtime invoke-endpoint \\
--endpoint-name object2vec-2022-10-09-18-06-55-540 \\
--body '"instances": ["in0":[863],"in1":[882]]' \\
--content-type application/json \\
--accept application/json \\
results
解决:加上–cli-binary-format raw-in-base64-out
aws sagemaker-runtime invoke-endpoint \\
--endpoint-name object2vec-2022-10-09-18-06-55-540 \\
--body '"instances": ["in0":[863],"in1":[882]]' \\
--content-type application/json \\
--accept application/json \\
--cli-binary-format raw-in-base64-out \\
results
以上是关于AWSAWS CLI/CloudShell报错Invalid base64的主要内容,如果未能解决你的问题,请参考以下文章
No PostCSS Config found in报错解决
SparkSpark cache 报错 Exception thrown in awaitResult
解决报错:fatal: in unpopulated submodule *
解决报错:fatal: in unpopulated submodule *