-
Notifications
You must be signed in to change notification settings - Fork 1.5k
DynUNet docstring conflicts with default kwarg for res_block #2456
Copy link
Copy link
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
In the docstring for DynUNet, res_block is said to be set to True by default, but it is actually set to False in the method definition:
MONAI/monai/networks/nets/dynunet.py
Lines 99 to 115 in 079fcd4
| res_block: whether to use residual connection based convolution blocks during the network. | |
| Defaults to ``True``. | |
| """ | |
| def __init__( | |
| self, | |
| spatial_dims: int, | |
| in_channels: int, | |
| out_channels: int, | |
| kernel_size: Sequence[Union[Sequence[int], int]], | |
| strides: Sequence[Union[Sequence[int], int]], | |
| upsample_kernel_size: Sequence[Union[Sequence[int], int]], | |
| norm_name: Union[Tuple, str] = ("INSTANCE", {"affine": True}), | |
| deep_supervision: bool = False, | |
| deep_supr_num: int = 1, | |
| res_block: bool = False, | |
| ): |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation