Home > Enterprise >  Unable to upload data using sagemaker_session.upload_data in s3 bucket that I created, it is getting
Unable to upload data using sagemaker_session.upload_data in s3 bucket that I created, it is getting

Time:01-22

So I am trying iris to get acquainted with was sagemaker I am following simple tutorials from enter image description here. And I have turned off Block all public access from the bucket but still nothing.

CodePudding user response:

Solved it!!!!!!!!!!!!

prefix = "checking-with-new-bucket"
training_input_path = sagemaker_session.upload_data('train.csv', bucket = 'checking-with-new-bucket',key_prefix = prefix   "/training")
training_input_path

Which gave output as

's3://checking-with-new-bucket/checking-with-new-bucket/training/train.csv'
  •  Tags:  
  • Related