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

'mmseg' module missing from 'icevision.models' #1158

Open
muddywellyboots opened this issue Nov 18, 2022 · 1 comment
Open

'mmseg' module missing from 'icevision.models' #1158

muddywellyboots opened this issue Nov 18, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@muddywellyboots
Copy link

Hi,
I have installed via github (option 3 on the installation instructions) on Pop!_OS 22.04 LTS (Ubuntu).

When I try and run the 'getting_started_semantic_segmentation' notebook, none of the models using mmseg work .


AttributeError Traceback (most recent call last)
Input In [19], in <cell line: 18>()
16 model = model_type.model(backbone=backbone, num_classes=class_map.num_classes)
18 if selection == 3:
---> 19 model_type = models.mmseg.segformer
20 backbone = model_type.backbones.mit_b0(pretrained=True)
21 model = model_type.model(backbone=backbone, num_classes=class_map.num_classes)

AttributeError: module 'icevision.models' has no attribute 'mmseg'

@muddywellyboots muddywellyboots added the bug Something isn't working label Nov 18, 2022
@ManuBrCano
Copy link

ManuBrCano commented Jan 2, 2023

I run into the same problem and find out i was using an older version of icevision (0.11) where there were no mmseg module nor models. Seems that mmseg models only are available at v 0.12 or higher.

Hope it helps.

Edit: I told you wrong. It is not icevision 0.12. However it the master branch it is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants