You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Segmentation Models: using keras framework.
INFO: Using device cuda
Traceback (most recent call last):
File "train.py", line 169, in
net = smp.EfficientUnetPlusPlus(encoder_name=args.encoder, encoder_weights="imagenet", in_channels=3, classes=n_classes)
AttributeError: module 'segmentation_models' has no attribute 'EfficientUnetPlusPlus'
The text was updated successfully, but these errors were encountered:
It seems the issue is caused because you are using the segmentation_models library module which uses Keras as a framework, instead of segmentation_models_pytorch...
The keras framework doesn't have EfficientUnetPlusPlus. The following command should help you install the right framework.
Segmentation Models: using
keras
framework.INFO: Using device cuda
Traceback (most recent call last):
File "train.py", line 169, in
net = smp.EfficientUnetPlusPlus(encoder_name=args.encoder, encoder_weights="imagenet", in_channels=3, classes=n_classes)
AttributeError: module 'segmentation_models' has no attribute 'EfficientUnetPlusPlus'
The text was updated successfully, but these errors were encountered: