Closed dilky-ascentic closed 2 years ago
It seems that the error is coming from the sagemaker-sdk
itself and was introduced in the past.
Could you open an issue in https://github.com/aws/sagemaker-python-sdk?
As a workaround, you could try installing sagemaker==2.48.0
, since that's the version which we used for the workshop
I was able to solve the issue by installing sagemaker==2.77.1
on Pytorch 1.10 Python 3.8 CPU Optimized
notebook environment.
I am trying to run this tutorial as it is and always run into
AttributeError: 'ParameterString' object has no attribute 'startswith'
, whenjson.loads(pipeline.definition())
is executed.Converting
ParameterString
tostr
like,results in
TypeError: Pipeline variables do not support __str__ operation. Please use
.to_string()to convert it to string type in execution timeor use
.exprto translate it to Json for display purpose in Python SDK.
Is there a way to solve this?