Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Issues! #8

Open
sree3333 opened this issue May 24, 2023 · 2 comments
Open

Training Issues! #8

sree3333 opened this issue May 24, 2023 · 2 comments

Comments

@sree3333
Copy link

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'

@Diacod-I
Copy link

Diacod-I commented Sep 5, 2023

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.

$ pip install -U git+https://github.com/jlcsilva/segmentation_models.pytorch

@Swiffany
Copy link

error
anyone else have this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants