Skip to content

Commit

Permalink
update unet.py (PaddlePaddle#758)
Browse files Browse the repository at this point in the history
wuyefeilin authored Jan 4, 2021
1 parent 0b0ab8c commit fa78573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddleseg/models/unet.py
Original file line number Diff line number Diff line change
@@ -127,7 +127,7 @@ def __init__(self,

self.use_deconv = use_deconv
if self.use_deconv:
self.deconv = nn.ConvTranspose2D(
self.deconv = nn.Conv2DTranspose(
in_channels,
out_channels // 2,
kernel_size=2,

0 comments on commit fa78573

Please sign in to comment.