Skip to content

Commit

Permalink
update UNet
Browse files Browse the repository at this point in the history
  • Loading branch information
pme0 committed Jul 1, 2023
1 parent 0b33c5b commit f3db607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deeplightning/model/unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def forward(self, x, y):
# shapes. Should we pad from right or left, top or bottom?
x = F.pad(x, (0, 1, 0, 1))
x = self.upconv(x)
cropped_y = self.crop(y, x)
x = torch.cat((cropped_y, x), dim=1)
x = self.conv(x)
return x
Expand Down

0 comments on commit f3db607

Please sign in to comment.