Update simmim_neck.py

Lint errors
pull/1875/head
Ashutosh Singh 2024-02-26 15:48:38 +01:00 committed by GitHub
parent c088a191ec
commit ecf83c4007
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ class SimMIMLinearDecoder(BaseModule):
target_channels (int): Channel dimensions of original image.
"""
def __init__(self, in_channels: int, encoder_stride: int, target_channels: int = 3) -> None:
def __init__(self, in_channels: int, encoder_stride: int,
target_channels: int = 3) -> None:
super().__init__()
self.decoder = nn.Sequential(
nn.Conv2d(