Skip to content

Commit f28170d

Browse files
committed
Fix an an untested change, remove a debug print
1 parent eb76536 commit f28170d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

timm/models/efficientnet_blocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def __init__(self, in_chs, out_chs, dw_kernel_size=3,
220220
has_se = se_ratio is not None and se_ratio > 0.
221221
self.has_residual = (in_chs == out_chs and stride == 1) and not noskip
222222
self.drop_path_rate = drop_path_rate
223-
print(act_layer)
223+
224224
# Point-wise expansion
225225
self.conv_pw = create_conv2d(in_chs, mid_chs, exp_kernel_size, padding=pad_type, **conv_kwargs)
226226
self.bn1 = norm_layer(mid_chs, **norm_kwargs)

timm/models/layers/norm_act.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def forward(self, x):
6060
if torch.jit.is_scripting():
6161
x = self._forward_jit(x)
6262
else:
63-
self._forward_python(x)
63+
x = self._forward_python(x)
6464
if self.act is not None:
6565
x = self.act(x)
6666
return x

0 commit comments

Comments
 (0)