Skip to content

Commit

Permalink
Set PSPNet final interpolation 'bilinear' (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
qubvel committed Nov 21, 2019
1 parent d71189c commit 5510008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segmentation_models/models/pspnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def build_psp(
name='final_conv',
)(x)

x = layers.UpSampling2D(final_upsampling_factor, name='final_upsampling')(x)
x = layers.UpSampling2D(final_upsampling_factor, name='final_upsampling', interpolation='bilinear')(x)
x = layers.Activation(activation, name=activation)(x)

model = models.Model(input_, x)
Expand Down

0 comments on commit 5510008

Please sign in to comment.