Skip to content

Commit

Permalink
change start_level to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
MengzhangLI committed Sep 30, 2021
1 parent 30ec997 commit c8d1757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/_base_/models/fastfcn_r50-d32_jpu_psp.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
type='JPU',
in_channels=(512, 1024, 2048),
mid_channels=512,
start_level=1,
start_level=0,
end_level=-1,
dilations=(1, 2, 4, 8),
align_corners=False,
Expand Down
2 changes: 1 addition & 1 deletion mmseg/models/necks/jpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self,

self.conv_layers = nn.ModuleList()
self.dilation_layers = nn.ModuleList()
for i in range(len(in_channels)):
for i in range(self.start_level, len(in_channels)):
conv_layer = nn.Sequential(
ConvModule(
self.in_channels[i],
Expand Down

0 comments on commit c8d1757

Please sign in to comment.