aws / aws/aws-step-functions-data-science-sdk-python

object of type TrainingInput is not JSON serializable

未关闭
#181 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
299
派生
84
PR 合并指标
30 天内没有已合并 PR

描述

```
workflow = InferencePipeline(
preprocessor=...,
estimator=...,
inputs={
"train":TrainingInput(s3_data="..."),
"test":TrainingInput(s3_data="...")
},
...
)
```

When you call `execute()` it will fail, saying `object of type TrainingInput is not JSON serializable`

贡献指南

打开贡献指南

调研方向

使用 issue 中的 InferencePipeline 示例重现该失败,并调用 execute()。跟踪包含 TrainingInput 对象的 inputs 的序列化路径;完成标准是 pipeline 能够在不出现 JSON 序列化错误的情况下执行,并且 train 和 test inputs 都能得到正确处理。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, python
领域
cloud, machine-learning
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。