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

ModuleNotFoundError: No module named 'mmseg.models.backbones.pvt_dia' #3

Open
Hzhang818 opened this issue May 22, 2021 · 1 comment

Comments

@Hzhang818
Copy link

Hello, after I followed the installation instruction and tried to import init_segmentor, it ran into the following problem.
/usr/local/python-3.6.8/lib/python3.6/site-packages/mmsegmentation-0.11.0-py3.6.egg/mmseg/models/backbones/init.py in
9 from .unet import UNet
10 from .pvt import pvt_small, pvt_small_f4, pvt_tiny
---> 11 from .pvt_dia import pvt_small_dia
12 from .vit import VisionTransformer
13 from .vit_mla import VIT_MLA

ModuleNotFoundError: No module named 'mmseg.models.backbones.pvt_dia'

Would you mind telling me how should I solve the problem. Thanks in advance.

@XiongweiWu
Copy link
Collaborator

XiongweiWu commented May 22, 2021

@Hzhang818 Oh it's a variant of PVT model I use in my experiments which is not used finally. You can just delete this line of code and I have also fixed this bug. Thx for your issue!

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

2 participants