You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a processing step in SageMaker Pipelines, When I try to pass the code argument for the Script processor run method and initialize the Pipeline client, I get the following error:
AttributeError: 'ParameterString' object has no attribute 'decode'
Hi @ucegbe, thanks for reaching out!
As per the signature of the sklearn_processor.run , the code argument does not support PipelineVariable by design.
This is because it's evaluated in SDK compile time. As the log trace indicated, the SDK examines the code file to calculate a hash, which is further used in the cache feature. Thus, the PipelineVariable parsed in runtime does not work for this argument.
Describe the bug
When creating a processing step in SageMaker Pipelines, When I try to pass the code argument for the Script processor run method and initialize the Pipeline client, I get the following error:
AttributeError: 'ParameterString' object has no attribute 'decode'
To reproduce
Expected behavior
Ability to pass code location for Script Processors as a Pipeline variable.
Screenshots or logs
System information
A description of your system. Please provide:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: