aws-step-functions-data-science-sdk-python icon indicating copy to clipboard operation
aws-step-functions-data-science-sdk-python copied to clipboard

object of type TrainingInput is not JSON serializable

Open neilmcguigan opened this issue 4 years ago • 1 comments
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

neilmcguigan avatar Nov 14 '21 01:11 neilmcguigan

I also received this error

wealthystudent avatar Jan 20 '22 08:01 wealthystudent