aws-step-functions-data-science-sdk-python
aws-step-functions-data-science-sdk-python copied to clipboard
object of type TrainingInput is not JSON serializable
trafficstars
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
I also received this error