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
When passing a ParameterString object as the image_uri to Processor, it fails on pipeline definition as it's trying to parse and verify the image uri as a string, but it's a ParameterString, so fails.
important note This fails on the latest version, 2.92.2, but not on 2.91.2.dev0 (the version installed from #3111 ).
When debugging, the value I get for image being passed to base_name_from_image(image) is ParameterString(name='estimator_image_uri', parameter_type=<ParameterTypeEnum.STRING: 'String'>, default_value=None)
System information
A description of your system. Please provide:
SageMaker Python SDK version: 2.92.2
Framework name (eg. PyTorch) or algorithm (eg. KMeans): N/A
Framework version: N/A
Python version: 3.9.6
CPU or GPU: N/A
Custom Docker image (Y/N): N
The text was updated successfully, but these errors were encountered:
Hi @lkev, thanks for helping on debugging and providing all these detailed description. You're right, the parameterized image_uri is not properly handled.
To bypass this issue, could you pass in the job_name using the new ProcesingStep interface? see sample below (It worked on my side):
Describe the bug
When passing a
ParameterString
object as theimage_uri
toProcessor
, it fails on pipeline definition as it's trying to parse and verify the image uri as a string, but it's aParameterString
, so fails.important note This fails on the latest version, 2.92.2, but not on 2.91.2.dev0 (the version installed from #3111 ).
To reproduce
Expected behavior
Expect following output:
Screenshots or logs
Get the following error:
When debugging, the value I get for
image
being passed tobase_name_from_image(image)
isParameterString(name='estimator_image_uri', parameter_type=<ParameterTypeEnum.STRING: 'String'>, default_value=None)
System information
A description of your system. Please provide:
The text was updated successfully, but these errors were encountered: