File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -213,11 +213,9 @@ def _normalize_inputs(self, inputs=None):
213
213
# and save the S3 uri in the ProcessingInput source.
214
214
parse_result = urlparse (file_input .source )
215
215
if parse_result .scheme != "s3" :
216
- desired_s3_uri = os .path .join (
217
- "s3://" ,
216
+ desired_s3_uri = "s3://{}/{}/input/{}" .format (
218
217
self .sagemaker_session .default_bucket (),
219
218
self ._current_job_name ,
220
- "input" ,
221
219
file_input .input_name ,
222
220
)
223
221
s3_uri = S3Uploader .upload (
@@ -475,11 +473,9 @@ def _upload_code(self, code):
475
473
str: The S3 URI of the uploaded file or directory.
476
474
477
475
"""
478
- desired_s3_uri = os .path .join (
479
- "s3://" ,
476
+ desired_s3_uri = "s3://{}/{}/input/{}" .format (
480
477
self .sagemaker_session .default_bucket (),
481
478
self ._current_job_name ,
482
- "input" ,
483
479
self ._CODE_CONTAINER_INPUT_NAME ,
484
480
)
485
481
return S3Uploader .upload (
You can’t perform that action at this time.
0 commit comments