Unverified Commit 610c9d2a authored by Adeel Hassan's avatar Adeel Hassan Committed by GitHub
Browse files

remove hard coded value (#2793)


Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
parent f9c4fdf9
...@@ -80,7 +80,7 @@ class ASPP(nn.Module): ...@@ -80,7 +80,7 @@ class ASPP(nn.Module):
self.convs = nn.ModuleList(modules) self.convs = nn.ModuleList(modules)
self.project = nn.Sequential( self.project = nn.Sequential(
nn.Conv2d(5 * out_channels, out_channels, 1, bias=False), nn.Conv2d(len(self.convs) * out_channels, out_channels, 1, bias=False),
nn.BatchNorm2d(out_channels), nn.BatchNorm2d(out_channels),
nn.ReLU(), nn.ReLU(),
nn.Dropout(0.5)) nn.Dropout(0.5))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment