Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Kaplinsky <peterkaplinsky@gmail.com>
  • Loading branch information
Peter Kaplinsky committed May 9, 2024
1 parent 44c4163 commit 3a63960
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions monai/networks/nets/daf3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ class Daf3dResNetBottleneck(ResNetBottleneck):

expansion = 2

def __init__(self, in_planes, planes, spatial_dims=3, stride=1, downsample=None, norm=("group", {"num_groups": 32})):
def __init__(
self, in_planes, planes, spatial_dims=3, stride=1, downsample=None, norm=("group", {"num_groups": 32})
):
conv_type: Callable = Conv[Conv.CONV, spatial_dims]

norm_layer = partial(get_norm_layer, name=norm, spatial_dims=spatial_dims)
Expand Down Expand Up @@ -216,7 +218,9 @@ class Daf3dResNetDilatedBottleneck(Daf3dResNetBottleneck):
downsample: which downsample layer to use.
"""

def __init__(self, in_planes, planes, spatial_dims=3, stride=1, downsample=None, norm=("group", {"num_groups": 32})):
def __init__(
self, in_planes, planes, spatial_dims=3, stride=1, downsample=None, norm=("group", {"num_groups": 32})
):
super().__init__(in_planes, planes, spatial_dims, stride, downsample, norm)

# add dilation in second convolution
Expand Down

0 comments on commit 3a63960

Please sign in to comment.