Skip to content

Commit

Permalink
Merge pull request #2409 from adamjstewart/models/vgg
Browse files Browse the repository at this point in the history
VGG ConvMlp: fix layer defaults/types
  • Loading branch information
rwightman authored Jan 15, 2025
2 parents ef7dec8 + 6d21eb0 commit 63b2de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timm/models/vgg.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def __init__(
kernel_size=7,
mlp_ratio=1.0,
drop_rate: float = 0.2,
act_layer: Optional[Type[nn.Module]] = None,
conv_layer: Optional[Type[nn.Module]] = None,
act_layer: Type[nn.Module] = nn.ReLU,
conv_layer: Type[nn.Module] = nn.Conv2d,
):
super(ConvMlp, self).__init__()
self.input_kernel_size = kernel_size
Expand Down

0 comments on commit 63b2de7

Please sign in to comment.