We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb71b2d commit f022996Copy full SHA for f022996
src/sagemaker/local/utils.py
@@ -65,7 +65,7 @@ def move_to_destination(source, destination, job_name, sagemaker_session):
65
elif parsed_uri.scheme == "s3":
66
bucket = parsed_uri.netloc
67
path = s3.s3_path_join(parsed_uri.path, job_name)
68
- final_uri = s3.s3_path_join(bucket, path)
+ final_uri = s3.s3_path_join("s3://", bucket, path)
69
sagemaker_session.upload_data(source, bucket, path)
70
else:
71
raise ValueError("Invalid destination URI, must be s3:// or file://, got: %s" % destination)
0 commit comments