Hi! I got an error when tryied to create model like model = smk.Unet()AttributeError: Can't set the attribute "name", likely because it conflicts with an existing read-only @property of the object. Please choose a different name.
After I commented line 82: model.name = 'u-{}'.format(backbone_name) in file _site-packages/segmentationmodels/unet/model.py everything works well.
I think it's possible to replace string model.name with model._name for example.
Hi! I got an error when tryied to create model like
model = smk.Unet()
AttributeError: Can't set the attribute "name", likely because it conflicts with an existing read-only @property of the object. Please choose a different name.
After I commented line 82:
model.name = 'u-{}'.format(backbone_name)
in file _site-packages/segmentationmodels/unet/model.py everything works well.I think it's possible to replace string
model.name
withmodel._name
for example.