Skip to content

Commit

Permalink
fix #2425
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Aug 30, 2024
1 parent cbeaa03 commit 80cd16c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nnunetv2/utilities/get_network_from_plans.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def get_network_from_plans(arch_class_name, arch_kwargs, arch_kwargs_req_import,
else:
raise ImportError('Network class could not be found, please check/correct your plans file')

if deep_supervision is not None and 'deep_supervision' not in arch_kwargs.keys():
arch_kwargs['deep_supervision'] = deep_supervision
if deep_supervision is not None:
architecture_kwargs['deep_supervision'] = deep_supervision

network = nw_class(
input_channels=input_channels,
Expand Down

0 comments on commit 80cd16c

Please sign in to comment.