Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
srmsoumya committed Jul 1, 2024
1 parent 3c6e40b commit 95f216d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finetune/regression/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def forward(self, x):

class SegmentationHead(nn.Module):
def __init__(self, input_dim, num_classes):
super(SegmentationHead, self).__init__()
super().__init__()
self.conv1 = nn.Conv2d(input_dim, input_dim // 2, kernel_size=3, padding=1)
self.conv2 = nn.Conv2d(
input_dim // 2, num_classes, kernel_size=1
Expand Down

0 comments on commit 95f216d

Please sign in to comment.