@@ -166,22 +166,22 @@ def mapp(d: dict):
166166 if "ignore" in dataset_json ["labels" ]:
167167 num_output_channels -= 1
168168
169- network = get_network_from_plans (
170- plans_manager , # type: ignore
171- dataset_json ,
172- configuration_manager , # type: ignore
173- num_input_channels ,
174- num_output_channels = num_output_channels ,
175- deep_supervision = False ,
176- )
177- self .network = network
178-
179- self .plans_manager = plans_manager
180- self .configuration_manager = configuration_manager
181- self .list_of_parameters = parameters # Lists of model folds
182- self .dataset_json = dataset_json
183- self .trainer_name = trainer_name
184- self .allowed_mirroring_axes = inference_allowed_mirroring_axes
169+ network = get_network_from_plans (
170+ plans_manager , # type: ignore
171+ dataset_json ,
172+ configuration_manager , # type: ignore
173+ num_input_channels ,
174+ num_output_channels = num_output_channels ,
175+ deep_supervision = False ,
176+ )
177+ self .network = network
178+
179+ self .plans_manager = plans_manager
180+ self .configuration_manager = configuration_manager
181+ self .list_of_parameters = parameters # Lists of model folds
182+ self .dataset_json = dataset_json
183+ self .trainer_name = trainer_name
184+ self .allowed_mirroring_axes = inference_allowed_mirroring_axes
185185 self .label_manager = plans_manager .get_label_manager (dataset_json )
186186 if (
187187 ("nnUNet_compile" in os .environ .keys ())
0 commit comments