Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dongzhang89 authored Aug 5, 2020
1 parent f56f003 commit cdc0826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modeling/FPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def group_norm(num_channels):
self.rt_p4_p2 = RenderTrans(channels_high=feature_dim, channels_low=feature_dim, upsample=False)
self.rt_p3_p2 = RenderTrans(channels_high=feature_dim, channels_low=feature_dim, upsample=False)
drop_block = DropBlock2D(block_size=3, drop_prob=0.2)

if with_norm != 'none':
self.fpn_p5_1x1 = nn.Sequential(*[nn.Conv2d(2048, feature_dim, 1, bias=False), norm(feature_dim)])
self.fpn_p4_1x1 = nn.Sequential(*[nn.Conv2d(1024, feature_dim, 1, bias=False), norm(feature_dim)])
Expand Down

0 comments on commit cdc0826

Please sign in to comment.