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

Running issue #1

Open
ibrahim22675654 opened this issue Oct 29, 2021 · 1 comment
Open

Running issue #1

ibrahim22675654 opened this issue Oct 29, 2021 · 1 comment

Comments

@ibrahim22675654
Copy link

from ..builder import HEADS
ImportError: attempted relative import with no known parent package

Where can i get these files
from ..builder import HEADS
from ..decode_head import BaseDecodeHead

@duduzai2019
Copy link

duduzai2019 commented Sep 8, 2022

from ..builder import HEADS ImportError: attempted relative import with no known parent package

Where can i get these files from ..builder import HEADS from ..decode_head import BaseDecodeHead

mmseg/models/builder.py
mmseg/models/decode_heads/decode_head.py

so you can change
from mmseg.models.builder import HEADS
from mmseg.models.decode_heads.decode_head import BaseDecodeHead

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