File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
sagemaker-train/src/sagemaker/train Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -744,18 +744,18 @@ def train(
744744 self .sagemaker_session ._intercept_create_request (training_request , None , "train" )
745745 return
746746
747- training_job = TrainingJob .create (
748- session = self .sagemaker_session .boto_session ,
749- ** training_request
750- )
751- self ._latest_training_job = training_job
752-
753- if wait :
754- training_job .wait (logs = logs )
755- if logs and not wait :
756- logger .warning (
757- "Not displaing the training container logs as 'wait' is set to False."
747+ training_job = TrainingJob .create (
748+ session = self .sagemaker_session .boto_session ,
749+ ** training_request
758750 )
751+ self ._latest_training_job = training_job
752+
753+ if wait :
754+ training_job .wait (logs = logs )
755+ if logs and not wait :
756+ logger .warning (
757+ "Not displaing the training container logs as 'wait' is set to False."
758+ )
759759
760760 else :
761761 local_container = _LocalContainer (
You can’t perform that action at this time.
0 commit comments