Skip to content

Commit

Permalink
Update asp_oc_block.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PkuRainBow authored Jun 11, 2019
1 parent 953469f commit 68c0d73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oc_module/asp_oc_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


class ASP_OC_Module(nn.Module):
def __init__(self, features, out_features=512, dilations=(12, 24, 36)):
def __init__(self, features, out_features=256, dilations=(12, 24, 36)):
super(ASP_OC_Module, self).__init__()
self.context = nn.Sequential(nn.Conv2d(features, out_features, kernel_size=3, padding=1, dilation=1, bias=True),
InPlaceABNSync(out_features),
Expand All @@ -55,8 +55,8 @@ def __init__(self, features, out_features=512, dilations=(12, 24, 36)):
InPlaceABNSync(out_features))

self.conv_bn_dropout = nn.Sequential(
nn.Conv2d(out_features * 5, out_features, kernel_size=1, padding=0, dilation=1, bias=False),
InPlaceABNSync(out_features),
nn.Conv2d(out_features * 5, out_features * 2, kernel_size=1, padding=0, dilation=1, bias=False),
InPlaceABNSync(out_features * 2),
nn.Dropout2d(0.1)
)

Expand Down

0 comments on commit 68c0d73

Please sign in to comment.