File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
src/sagemaker/modules/train Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -596,17 +596,8 @@ def train(
596
596
self ._populate_intelligent_defaults ()
597
597
current_training_job_name = _get_unique_name (self .base_job_name )
598
598
input_data_key_prefix = f"{ self .base_job_name } /{ current_training_job_name } /input"
599
- if input_data_config and self .input_data_config :
600
- final_channels = {
601
- input_data .channel_name : input_data for input_data in self .input_data_config
602
- }
603
- # Update with precedence on the input_data_config passed into the train method
604
- final_channels .update (
605
- {input_data .channel_name : input_data for input_data in input_data_config }
606
- )
607
- self .input_data_config = list (final_channels .values ())
608
- else :
609
- self .input_data_config = input_data_config or self .input_data_config or []
599
+
600
+ self .input_data_config = input_data_config or self .input_data_config or []
610
601
611
602
if self .input_data_config :
612
603
input_data_config = self ._get_input_data_config (
You can’t perform that action at this time.
0 commit comments