Skip to content

Commit

Permalink
Update resnet101_asp_oc.py
Browse files Browse the repository at this point in the history
update the asp_oc
  • Loading branch information
PkuRainBow authored Jun 11, 2019
1 parent 6a3a0b9 commit 953469f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion network/resnet101_asp_oc.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def __init__(self, block, layers, num_classes):

# extra added layers
self.context = nn.Sequential(
ASP_OC_Module(2048, 512),
nn.Conv2d(2048, 512, kernel_size=3, stride=1, padding=1),
InPlaceABNSync(512),
ASP_OC_Module(512, 512)
)
self.cls = nn.Conv2d(512, num_classes, kernel_size=1, stride=1, padding=0, bias=True)
self.dsn = nn.Sequential(
Expand Down

0 comments on commit 953469f

Please sign in to comment.