'I am trying to load a model but this error is showing. How can i solve it?

enter image description heremodel_resnet_backbone = sm.Unet(BACKBONE, encoder_weights='imagenet', classes=n_classes, activation='softmax') [I am trying to load a model but this error is showing. How can i solve it?][2]



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source