From d657e2cc0bda62327489b0246b4a795fa69570a6 Mon Sep 17 00:00:00 2001 From: Ross Wightman Date: Thu, 30 Sep 2021 21:54:42 -0700 Subject: [PATCH] Remove dead code line from efficientnet --- timm/models/efficientnet_blocks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/timm/models/efficientnet_blocks.py b/timm/models/efficientnet_blocks.py index b43f38f5..b1fec449 100644 --- a/timm/models/efficientnet_blocks.py +++ b/timm/models/efficientnet_blocks.py @@ -277,7 +277,6 @@ class EdgeResidual(nn.Module): mid_chs = make_divisible(force_in_chs * exp_ratio) else: mid_chs = make_divisible(in_chs * exp_ratio) - has_se = se_layer is not None and se_ratio > 0. self.has_residual = (in_chs == out_chs and stride == 1) and not noskip self.drop_path_rate = drop_path_rate