Skip to content

Commit b5bf4dc

Browse files
authored
Merge pull request #898 from leondgarse/master
Remove a duplicate layer creation in byobnet.py
2 parents 3f9959c + 51eaf93 commit b5bf4dc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

timm/models/byobnet.py

-3
Original file line numberDiff line numberDiff line change
@@ -797,9 +797,6 @@ def __init__(self, in_chs, out_chs, kernel_size=3, stride=1, dilation=(1, 1), bo
797797
self.shortcut = nn.Identity()
798798

799799
self.conv1_1x1 = layers.conv_norm_act(in_chs, mid_chs, 1)
800-
self.conv2_kxk = layers.conv_norm_act(
801-
mid_chs, mid_chs, kernel_size, stride=stride, dilation=dilation[0],
802-
groups=groups, drop_block=drop_block)
803800
self.conv2_kxk = layers.conv_norm_act(
804801
mid_chs, mid_chs, kernel_size, stride=stride, dilation=dilation[0],
805802
groups=groups, drop_block=drop_block)

0 commit comments

Comments
 (0)