Skip to content

Commit

Permalink
Update nnUNetTrainer_NexToU.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PengchengShi1220 authored Mar 29, 2024
1 parent 1d01968 commit 2d376e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nnUNetTrainer/nnUNetTrainer_NexToU.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def build_network_architecture(plans_manager: PlansManager,
network_class = mapping[segmentation_network_class_name]

conv_or_blocks_per_stage = {
'n_conv_per_stage'
'n_blocks_per_stage'
if network_class != ResidualEncoderUNet else 'n_blocks_per_stage': configuration_manager.n_conv_per_stage_encoder,
'n_conv_per_stage_decoder': configuration_manager.n_conv_per_stage_decoder
'n_blocks_per_stage_decoder': configuration_manager.n_conv_per_stage_decoder
}

# network class name!!
Expand Down

0 comments on commit 2d376e7

Please sign in to comment.