aws-samples / amazon-sagemaker-from-idea-to-production

Other
209 stars 57 forks source link

Lab 3 fails on statement that creates the pipeline #6

Open unnelt opened 1 year ago

unnelt commented 1 year ago

Hi there

The pipeline fails to create in Lab 3 when running pipeline.upsert(role_arn=sm_role). Pipeline.create(role_arn=sm_role) also fails. This error is encountered when doing the workshop both in execution and assignment Image 05-07-2023 at 21 01

ConstantSun commented 1 year ago

Maybe due to the wrong sagemaker sdk version, run the cell from lab 0:

pip install sagemaker==2.132.0
image
ConstantSun commented 1 year ago

Oh, I just ran it again and saw no errors (no need to use sagemaker version 2.132.0)