File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/sagemaker/modules/train Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 25
25
26
26
from sagemaker_core .main import resources
27
27
from sagemaker_core .resources import TrainingJob
28
- from sagemaker_core .shapes import AlgorithmSpecification
28
+ from sagemaker_core .shapes import (
29
+ AlgorithmSpecification ,
30
+ OutputDataConfig ,
31
+ CheckpointConfig ,
32
+ TensorBoardOutputConfig
33
+ )
29
34
30
35
from pydantic import BaseModel , ConfigDict , PrivateAttr , validate_call
31
36
52
57
Compute ,
53
58
StoppingCondition ,
54
59
RetryStrategy ,
55
- OutputDataConfig ,
56
60
SourceCode ,
57
61
TrainingImageConfig ,
58
62
Channel ,
64
68
InfraCheckConfig ,
65
69
RemoteDebugConfig ,
66
70
SessionChainingConfig ,
67
- TensorBoardOutputConfig ,
68
- CheckpointConfig ,
69
71
InputData ,
70
72
)
71
73
@@ -737,7 +739,7 @@ def train(
737
739
sagemaker_session = self .sagemaker_session ,
738
740
container_entrypoint = algorithm_specification .container_entrypoint ,
739
741
container_arguments = algorithm_specification .container_arguments ,
740
- input_data_config = input_data_config ,
742
+ input_data_config = self . input_data_config ,
741
743
hyper_parameters = string_hyper_parameters ,
742
744
environment = self .environment ,
743
745
)
You can’t perform that action at this time.
0 commit comments