Helllo I’m currently trying to install MMsegmentation from this official tutorial github:
https://github.com/open-mmlab/mmsegmentation
I have tried exactly what it did but my jupyter notebook in anaconda environment cannot detect mmseg library. I have check with pip show and it shows this
Name: mmsegmentation Version: 1.2.2 Summary: Open MMLab Semantic Segmentation Toolbox and Benchmark Home-page: https://github.com/open-mmlab/mmsegmentation Author: MMSegmentation Contributors Author-email: [email protected] License: Apache License 2.0 Location: c:userslenovominiconda3envsvtran-manggarailibsite-packages Requires: matplotlib, numpy, packaging, prettytable, scipy Required-by:
but the error persists
`—————————————————————————
ModuleNotFoundError Traceback (most recent call last)
Cell In[5], line 1
—-> 1 from mmseg.apis import inference_model, init_model, show_result_pyplot
2 import mmcv
4 config_file = ‘pspnet_r50-d8_4xb2-40k_cityscapes-512×1024.py’
ModuleNotFoundError: No module named ‘mmseg’`
I have updated everything accordingly, got the Pytorch version updated and so the python to 3.9 following this forum:
https://github.com/open-mmlab/mmcv/issues/2938
because previously the mmcv had dependency problem too.
Anyone knows what to check and what to fix? Thanks in advance.
Side note, I have tried both importing mmseg and mmsegmentation.
Red Red is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.