Skip to content

Commit

Permalink
modify uperhead
Browse files Browse the repository at this point in the history
  • Loading branch information
MengzhangLI committed Feb 25, 2022
1 parent 9bd94ef commit 5cc452a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmseg/models/decode_heads/uper_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _forward_feature(self, inputs):
used_backbone_levels = len(laterals)
for i in range(used_backbone_levels - 1, 0, -1):
prev_shape = laterals[i - 1].shape[2:]
laterals[i - 1] += resize(
laterals[i - 1] = laterals[i - 1] + resize(
laterals[i],
size=prev_shape,
mode='bilinear',
Expand Down

0 comments on commit 5cc452a

Please sign in to comment.