File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ def prepare_framework(estimator, s3_operations):
37
37
"""
38
38
if estimator .code_location is not None :
39
39
bucket , key = s3 .parse_s3_url (estimator .code_location )
40
- key = os . path . join (key , estimator ._current_job_name , "source" , "sourcedir.tar.gz" )
40
+ key = "/" . join ([ key , estimator ._current_job_name , "source" , "sourcedir.tar.gz" ] )
41
41
elif estimator .uploaded_code is not None :
42
42
bucket , key = s3 .parse_s3_url (estimator .uploaded_code .s3_prefix )
43
43
else :
44
44
bucket = estimator .sagemaker_session ._default_bucket
45
- key = os . path . join (estimator ._current_job_name , "source" , "sourcedir.tar.gz" )
45
+ key = "/" . join ([ estimator ._current_job_name , "source" , "sourcedir.tar.gz" ] )
46
46
47
47
script = os .path .basename (estimator .entry_point )
48
48
You can’t perform that action at this time.
0 commit comments