Skip to content

Commit f3927d1

Browse files
Bug fix in DeeplabV3
1 parent a30baca commit f3927d1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
VERSION = (0, 4, 7)
1+
VERSION = (0, 4, 8)
22

33
__version__ = ".".join(map(str, VERSION))

tensorflow_advanced_segmentation_models/models/DeepLabV3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, n_classes, base_model, output_layers, height=None, width=None
2828
self.dilations = [2 * rate for rate in dilations]
2929
elif self.output_stride == 16:
3030
self.final_upsampling2d = tf.keras.layers.UpSampling2D(size=16, interpolation="bilinear")
31-
self.output_layers = self.output_layers[:4]
31+
output_layers = output_layers[:4]
3232
self.dilations = dilations
3333
else:
3434
raise ValueError("'output_stride' must be one of (8, 16), got {}".format(self.output_stride))

0 commit comments

Comments
 (0)