We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38af4fc commit e76ed01Copy full SHA for e76ed01
segmentation_models_pytorch/decoders/deeplabv3/model.py
@@ -119,6 +119,7 @@ def __init__(
119
)
120
else:
121
self.classification_head = None
122
+ self.name = "deeplabv3-{}".format(encoder_name)
123
124
def load_state_dict(self, state_dict, *args, **kwargs):
125
# For backward compatibility, previously Decoder module was Sequential
@@ -238,3 +239,4 @@ def __init__(
238
239
240
241
242
+ self.name = "deeplabv3plus-{}".format(encoder_name)
0 commit comments