Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ebf489

Browse filesBrowse files
Kyle1993qubvel
authored andcommitted
fix SCEModule.sSE (qubvel-org#113)
1 parent a242d53 commit 9ebf489
Copy full SHA for 9ebf489

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎segmentation_models_pytorch/base/modules.py

Copy file name to clipboardExpand all lines: segmentation_models_pytorch/base/modules.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(self, in_channels, reduction=16):
5858
nn.Conv2d(in_channels // reduction, in_channels, 1),
5959
nn.Sigmoid(),
6060
)
61-
self.sSE = nn.Sequential(nn.Conv2d(in_channels, in_channels, 1), nn.Sigmoid())
61+
self.sSE = nn.Sequential(nn.Conv2d(in_channels, 1, 1), nn.Sigmoid())
6262

6363
def forward(self, x):
6464
return x * self.cSE(x) + x * self.sSE(x)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.