我正在尝试运行批处理转换,但是我一直在日志中得到http 500错误和一个失败。
我的数据是几千张单独的GZipped图片。
使用application/x-image作为Content Type只会在数据日志Cloudwatch输出中产生一堆http状态500错误,但如果将其保留为空,则会导致"invalid start byte“错误。ERROR in serving: 'utf8' codec can't decode byte 0x8b in position 1: invalid start byte
由于我不能使用空白内容类型或x-image,我可以使用什么格式来批量转换单独的gzipped文件?
发布于 2019-12-31 08:46:35
如果您的输入是Gzip格式的,您可以将每个https://docs.aws.amazon.com/sagemaker/latest/dg/API_TransformInput.html的压缩类型设置为"Gzip“,以便SageMaker在将您的输入发送到模型容器之前对其进行解压缩。
https://stackoverflow.com/questions/59258580
复制相似问题