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

No module named 'encoding'?how to solve it? #130

Open
xkhnhms opened this issue Jan 21, 2021 · 7 comments
Open

No module named 'encoding'?how to solve it? #130

xkhnhms opened this issue Jan 21, 2021 · 7 comments

Comments

@xkhnhms
Copy link

xkhnhms commented Jan 21, 2021

Traceback (most recent call last):
File "train.py", line 18, in
import encoding.utils as utils
ModuleNotFoundError: No module named 'encoding'

@xkhnhms
Copy link
Author

xkhnhms commented Jan 22, 2021

c++: 错误:unrecognized command line option ‘-std=c++14’
ninja: build stopped: subcommand failed.

@xkhnhms
Copy link
Author

xkhnhms commented Jan 24, 2021

Traceback (most recent call last):
File "encoding/datasets/ade20k.py", line 18, in
from .base import BaseDataset
ImportError: attempted relative import with no known parent package

@xinghaoxinghao
Copy link

Traceback (most recent call last):
File "encoding/datasets/ade20k.py", line 18, in
from .base import BaseDataset
ImportError: attempted relative import with no known parent package

Have you solved this problem? I had the same problem

@xkhnhms
Copy link
Author

xkhnhms commented May 10, 2021

Traceback (most recent call last):
File "encoding/datasets/ade20k.py", line 18, in
from .base import BaseDataset
ImportError: attempted relative import with no known parent package

Have you solved this problem? I had the same problem

I still can't solve it. This problem still exists.

@xkhnhms
Copy link
Author

xkhnhms commented May 10, 2021 via email

@wlj567
Copy link

wlj567 commented Sep 28, 2021

指定base文件路径

@wlj567
Copy link

wlj567 commented Sep 29, 2021

@xkhnhms @xinghaoxinghao Hello, have you passed the complete code? Is it convenient to add a contact information? Thank you!

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