sithu31296 / semantic-segmentation

SOTA Semantic Segmentation Models in PyTorch
MIT License
839 stars 150 forks source link

ModuleNotFoundError: No module named 'semseg' #25

Closed Shawn207 closed 2 years ago

Shawn207 commented 2 years ago

Hi there, When I tried to run infer.py, I got the following error: (sotas) xzhan2@cerlab27:~/semantic-segmentation$ python tools/infer.py --cfg configs/custom.yaml Traceback (most recent call last): File "tools/infer.py", line 12, in <module> from semseg.models import * ModuleNotFoundError: No module named 'semseg' I also tried to append the path to /semseg into sys.path, but it did not solve the problem. Could you please give a bit suggestions? Thanks

sithu31296 commented 2 years ago

You have to clone the repo and install with pip install -e .

Shawn207 commented 2 years ago

Thanks!

sithu3 @.***>于2022年4月18日 周一11:12写道:

You have to clone the repo and install with pip install -e .

— Reply to this email directly, view it on GitHub https://github.com/sithu31296/semantic-segmentation/issues/25#issuecomment-1101484347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPOTMZLQSS2GKQFHJVDIJLVFV3UTANCNFSM5SULNOUQ . You are receiving this because you authored the thread.Message ID: @.***>