mirror of https://github.com/JDAI-CV/fast-reid.git
fix SE layer of basicblock in resnet (#375)
Summary: SE layer defined in `__init__` but not used in `forward` close #375pull/380/head
parent
63c952f3cf
commit
c49414bb9f
|
@ -65,6 +65,7 @@ class BasicBlock(nn.Module):
|
|||
|
||||
out = self.conv2(out)
|
||||
out = self.bn2(out)
|
||||
out = self.se(out)
|
||||
|
||||
if self.downsample is not None:
|
||||
identity = self.downsample(x)
|
||||
|
|
Loading…
Reference in New Issue