Skip to content

Commit

Permalink
Update mmseg/models/backbones/bisenetv2.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>
  • Loading branch information
MengzhangLI and xvjiarui authored Sep 18, 2021
1 parent 8d0cfe9 commit b970d3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mmseg/models/backbones/bisenetv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ def __init__(self,

def forward(self, x):
x = self.conv_first(x)
x_left = self.convs(x)
x_right = self.pool(x)
x = self.fuse_last(torch.cat([x_left, x_right], dim=1))
conv_x = self.convs(x)
pool_x = self.pool(x)
x = self.fuse_last(torch.cat([conv_x, pool_x], dim=1))
return x


Expand Down

0 comments on commit b970d3f

Please sign in to comment.