Skip to content

Commit

Permalink
Update dependencyvit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fffffgggg54 committed Dec 7, 2024
1 parent b7b5073 commit d0d96db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timm/models/dependencyvit.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def __init__(
dim: int,
) -> None:
super().__init__()
self.proj = nn.Conv2d(dim, dim, 3, groups=dim)
self.proj = nn.Conv2d(dim, dim, 3, padding=1, groups=dim)

def forward(self, x: torch.Tensor) -> torch.Tensor:
return x + self.proj(x)
Expand Down

0 comments on commit d0d96db

Please sign in to comment.